| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- {
- "$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"
- ],
- "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": [
- "图文",
- "视频"
- ]
- },
- "why": {
- "type": [
- "string",
- "null"
- ]
- },
- "boundaries": {
- "type": [
- "string",
- "null"
- ]
- },
- "steps-boundary": {
- "type": "array",
- "minItems": 1,
- "items": {
- "type": "object",
- "required": [
- "order-ref",
- "type-ref",
- "description"
- ],
- "properties": {
- "order-ref": {
- "type": "integer",
- "minimum": 1
- },
- "type-ref": {
- "type": "string",
- "enum": [
- "capability",
- "sub_strategy",
- "human_review"
- ]
- },
- "description": {
- "type": "string",
- "minLength": 1
- },
- "body": {
- "type": [
- "string",
- "null"
- ]
- },
- "inputs-boundary": {
- "type": "object"
- },
- "outputs-boundary": {
- "type": "object"
- },
- "optional": {
- "type": "boolean"
- }
- }
- }
- },
- "case_references-boundary": {
- "type": "array",
- "minItems": 1,
- "items": {
- "type": "string",
- "pattern": "^[a-z]+_[A-Za-z0-9_-]+$"
- }
- }
- }
- }
- }
- }
- }
|