Skip to content

Instantly share code, notes, and snippets.

@brandonroberts
Created May 24, 2021 14:46
Show Gist options
  • Save brandonroberts/bad346f7296142887a6dbd305dd6bd2e to your computer and use it in GitHub Desktop.
Save brandonroberts/bad346f7296142887a6dbd305dd6bd2e to your computer and use it in GitHub Desktop.
Schematic Schema v2
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsMySchematic",
"title": "My Schematic Schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Service name",
"$default": {
"$source": "argv",
"index": 0
}
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the service.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
}
},
"required": [
"name"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment