|
|
@@ -0,0 +1,52 @@
|
|
|
+{
|
|
|
+ "$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
+ "title": "apply_to_grounding_fragment_output",
|
|
|
+ "type": "object",
|
|
|
+ "required": ["fragments"],
|
|
|
+ "properties": {
|
|
|
+ "fragments": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "object",
|
|
|
+ "required": ["fragment_id", "apply_to"],
|
|
|
+ "properties": {
|
|
|
+ "fragment_id": { "type": "string", "minLength": 1 },
|
|
|
+ "apply_to": {
|
|
|
+ "type": "object",
|
|
|
+ "required": ["实质", "形式"],
|
|
|
+ "properties": {
|
|
|
+ "实质": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "object",
|
|
|
+ "required": ["category_id", "category_path", "ideal_path", "rationale"],
|
|
|
+ "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 }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "形式": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "object",
|
|
|
+ "required": ["category_id", "category_path", "ideal_path", "rationale"],
|
|
|
+ "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 }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|