2022-06-14 19:59:53 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
2022-06-15 14:53:04 +00:00
|
|
|
"$id": "https://git.jojodev.com/jolheiser/tmpl/raw/branch/main/schema/tmpl.json",
|
2022-06-14 19:59:53 +00:00
|
|
|
"title": "tmpl template",
|
|
|
|
"description": "A template for tmpl",
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"prompts"
|
|
|
|
],
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"prompts": {
|
|
|
|
"description": "Template prompts",
|
|
|
|
"type": "array",
|
|
|
|
"minItems": 1,
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"id"
|
|
|
|
],
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"description": "The unique prompt ID",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"description": "A label to show instead of the ID when prompting",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"help": {
|
|
|
|
"description": "A help message for more information on a prompt",
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-06-15 14:53:04 +00:00
|
|
|
"default": {
|
|
|
|
"description": "A default value for the prompt",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"description": "A set of options for this prompt",
|
2022-06-14 19:59:53 +00:00
|
|
|
"type": "array",
|
|
|
|
"minItems": 1,
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|