Files
AI-ART/schema/prompt.schema.json

42 lines
940 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": ["meta", "prompt_text"],
"additionalProperties": false,
"properties": {
"meta": {
"type": "object",
"required": [
"world_id",
"world_version",
"style_id",
"scene_id",
"task_type"
],
"additionalProperties": false,
"properties": {
"world_id": { "type": "string" },
"world_version": {
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+$"
},
"style_id": { "type": "string" },
"scene_id": { "type": "string" },
"task_type": {
"type": "string",
"enum": [
"character_full_body",
"scene_composition",
"item_design",
"prop_design"
]
}
}
},
"prompt_text": {
"type": "string",
"minLength": 20
}
}
}