@@ -1,34 +1,24 @@
|
||||
{ "$schema": "http://json-schema.org/draft-07/schema#",
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "SceneDescription",
|
||||
"type": "object",
|
||||
"required": ["song", "beat", "lyric_line", "scene"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"song": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"beat": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"lyric_line": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"song": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
||||
"beat": { "anyOf": [{ "type": "integer", "minimum": 0 }, { "type": "null" }] },
|
||||
"lyric_line": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
||||
"scene": {
|
||||
"type": "object",
|
||||
"required": ["mood", "colors", "composition", "camera", "description"],
|
||||
"properties": {
|
||||
"mood": { "type": "string", "minLength": 1 },
|
||||
"colors": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"minItems": 1
|
||||
},
|
||||
"composition": { "type": "string", "minLength": 1 },
|
||||
"camera": { "type": "string", "minLength": 1 },
|
||||
"description": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
}
|
||||
"anyOf": [
|
||||
{ "type": "object", "additionalProperties": true },
|
||||
{ "type": "null" }
|
||||
]
|
||||
},
|
||||
"terse": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
||||
"rich": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
||||
"domain": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
||||
"source_session_id": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
||||
"model": { "type": "string", "default": "unknown" },
|
||||
"timestamp": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
||||
"source_type": { "anyOf": [{ "type": "string" }, { "type": "null" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user