|
|
@@ -3,27 +3,31 @@
|
|
|
"title": "apply_to_grounding_fragment_output",
|
|
|
"type": "object",
|
|
|
"required": ["fragments"],
|
|
|
+ "additionalProperties": false,
|
|
|
"properties": {
|
|
|
"fragments": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "object",
|
|
|
- "required": ["fragment_id", "apply_to"],
|
|
|
+ "required": ["fragment_id", "apply_to", "ideal_path"],
|
|
|
+ "additionalProperties": false,
|
|
|
"properties": {
|
|
|
"fragment_id": { "type": "string", "minLength": 1 },
|
|
|
+ "ideal_path": { "type": "string", "minLength": 1 },
|
|
|
"apply_to": {
|
|
|
"type": "object",
|
|
|
"required": ["实质", "形式"],
|
|
|
+ "additionalProperties": false,
|
|
|
"properties": {
|
|
|
"实质": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "object",
|
|
|
- "required": ["category_id", "category_path", "ideal_path", "rationale"],
|
|
|
+ "required": ["category_id", "category_path", "rationale"],
|
|
|
+ "additionalProperties": false,
|
|
|
"properties": {
|
|
|
"category_id": { "type": "integer" },
|
|
|
"category_path": { "type": "string", "minLength": 1 },
|
|
|
- "ideal_path": { "type": "string", "minLength": 1 },
|
|
|
"element": { "type": ["string", "null"] },
|
|
|
"rationale": { "type": "string", "minLength": 1 }
|
|
|
}
|
|
|
@@ -33,11 +37,11 @@
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "object",
|
|
|
- "required": ["category_id", "category_path", "ideal_path", "rationale"],
|
|
|
+ "required": ["category_id", "category_path", "rationale"],
|
|
|
+ "additionalProperties": false,
|
|
|
"properties": {
|
|
|
"category_id": { "type": "integer" },
|
|
|
"category_path": { "type": "string", "minLength": 1 },
|
|
|
- "ideal_path": { "type": "string", "minLength": 1 },
|
|
|
"element": { "type": ["string", "null"] },
|
|
|
"rationale": { "type": "string", "minLength": 1 }
|
|
|
}
|