| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "title": "apply_to_grounding_capability_output",
- "type": "object",
- "required": ["capability"],
- "additionalProperties": false,
- "properties": {
- "capability": {
- "type": "array",
- "items": {
- "type": "object",
- "required": ["capability_id", "apply_to", "suggest_apply_to"],
- "additionalProperties": false,
- "properties": {
- "capability_id": { "type": "string", "pattern": "^c_(s[0-9]+_[0-9]+|standalone_[0-9]+)$" },
- "suggest_apply_to": { "type": "string", "minLength": 1 },
- "apply_to": {
- "type": "object",
- "required": ["实质", "形式"],
- "additionalProperties": false,
- "properties": {
- "实质": {
- "type": "array",
- "items": {
- "type": "object",
- "required": ["category_id", "category_path", "rationale", "body_excerpt"],
- "additionalProperties": false,
- "properties": {
- "category_id": { "type": "integer" },
- "category_path": { "type": "string", "minLength": 1 },
- "element": { "type": ["string", "null"] },
- "rationale": { "type": "string", "minLength": 1 },
- "body_excerpt": { "type": "string", "minLength": 1 }
- }
- }
- },
- "形式": {
- "type": "array",
- "items": {
- "type": "object",
- "required": ["category_id", "category_path", "rationale", "body_excerpt"],
- "additionalProperties": false,
- "properties": {
- "category_id": { "type": "integer" },
- "category_path": { "type": "string", "minLength": 1 },
- "element": { "type": ["string", "null"] },
- "rationale": { "type": "string", "minLength": 1 },
- "body_excerpt": { "type": "string", "minLength": 1 }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
|