| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "title": "process_cluster_output",
- "type": "object",
- "required": ["clusters-boundary"],
- "properties": {
- "clusters-boundary": {
- "type": "array",
- "minItems": 1,
- "items": {
- "type": "object",
- "required": ["id-ref", "name-ref", "description", "modality", "steps-boundary", "case_references-boundary"],
- "properties": {
- "id-ref": { "type": "string", "pattern": "^cluster-[A-Za-z0-9_-]+$" },
- "name-ref": { "type": "string", "minLength": 1 },
- "description": { "type": "string", "minLength": 1 },
- "modality": { "type": "string", "enum": ["图文", "视频"] },
- "inputs": { "type": ["object", "null"] },
- "outputs": { "type": ["object", "null"] },
- "why": { "type": ["string", "null"] },
- "boundaries": { "type": ["string", "null"] },
- "steps-boundary": {
- "type": "array",
- "minItems": 1,
- "items": {
- "type": "object",
- "required": ["order-ref", "type-ref", "description-ref"],
- "properties": {
- "order-ref": { "type": "integer", "minimum": 1 },
- "type-ref": { "type": "string", "enum": ["capability", "sub_strategy", "human_review", "conditional"] },
- "description-ref": { "type": "string", "minLength": 1 },
- "why": { "type": ["string", "null"] },
- "body": { "type": ["string", "null"] },
- "inputs": { "type": "object" },
- "outputs": { "type": "object" },
- "optional": { "type": "boolean" }
- }
- }
- },
- "case_references-boundary": {
- "type": "array",
- "minItems": 1,
- "items": { "type": "string", "pattern": "^[a-z]+_[A-Za-z0-9_-]+$" }
- }
- }
- }
- }
- }
- }
|