Skip to content

Instantly share code, notes, and snippets.

@julrich
Created May 15, 2022 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julrich/a790a5116898c54bbfa6c67d4ce81e6b to your computer and use it in GitHub Desktop.
Save julrich/a790a5116898c54bbfa6c67d4ce81e6b to your computer and use it in GitHub Desktop.
kickstartDS CLI prompt schema for demo task
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://kickstartds.com/example-demo.json",
"type": "object",
"title": "kickstartDS Example Demo task",
"required": [
"demo"
],
"properties": {
"demo": {
"$id": "#/properties/demo",
"type": "object",
"title": "The Demo Schema",
"required": [
"key"
],
"properties": {
"key": {
"$id": "#/properties/demo/properties/key",
"type": "string",
"title": "Demo key",
"default": "KSDS",
"examples": [
"FOO",
"BAR"
],
"pattern": "^(.+)$",
"description": "The demo key",
"question": "Enter demo key for example task"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment