| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "title": "apply_to_grounding_capability_output",
- "type": "object",
- "required": ["capability"],
- "additionalProperties": false,
- "definitions": {
- "apply_to_item": {
- "type": "object",
- "required": [
- "category_id",
- "category_path",
- "rationale",
- "body_excerpt",
- "body_excerpt_note"
- ],
- "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" },
- "body_excerpt_note": { "type": "string" }
- }
- },
- "suggest_apply_to_item": {
- "type": "object",
- "required": [
- "source_type",
- "path",
- "rationale",
- "body_excerpt",
- "body_excerpt_note"
- ],
- "additionalProperties": false,
- "properties": {
- "source_type": { "type": "string", "enum": ["实质", "形式"] },
- "path": { "type": "string", "minLength": 1 },
- "rationale": { "type": "string", "minLength": 1 },
- "body_excerpt": { "type": "string" },
- "body_excerpt_note": { "type": "string" }
- }
- }
- },
- "properties": {
- "capability": {
- "type": "array",
- "items": {
- "type": "object",
- "required": ["capability_id", "apply_to", "suggest_apply_to"],
- "additionalProperties": false,
- "properties": {
- "capability_id": {
- "type": "string",
- "pattern": "^c_w[0-9]+_(s[0-9]+_[0-9]+|standalone_[0-9]+)$"
- },
- "suggest_apply_to": {
- "type": "array",
- "maxItems": 3,
- "items": { "$ref": "#/definitions/suggest_apply_to_item" }
- },
- "apply_to": {
- "type": "object",
- "required": ["实质", "形式"],
- "additionalProperties": false,
- "properties": {
- "实质": {
- "type": "array",
- "maxItems": 3,
- "items": { "$ref": "#/definitions/apply_to_item" }
- },
- "形式": {
- "type": "array",
- "maxItems": 3,
- "items": { "$ref": "#/definitions/apply_to_item" }
- }
- }
- }
- }
- }
- }
- }
- }
|