expl-response-schema.json 2.76 KB
Newer Older
Sebastian Seufert's avatar
Sebastian Seufert committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
	"definitions": {},
	"$schema": "http://json-schema.org/draft-07/schema#", 
	"$id": "https://example.com/object1603988523.json", 
	"title": "Root", 
    "type": "object",
    "description": "Response schema for an object that is classified as irrelevant, including explanation messages and details.",
	"properties": {
		"abs_path": {
			"$id": "#root/abs_path", 
            "title": "Abs_path",
            "description": "The object classified as irrelevant.",
			"type": "string",
			"default": ""
		},
		"references": {
			"$id": "#root/references", 
            "title": "References",
            "description": "A list of objects that are used for eplaining the (ir)relevance",
			"type": "array",
			"default": [],
			"items":{
				"$id": "#root/references/items", 
                "title": "Items",
				"type": "object",
				"properties": {
					"id": {
						"$id": "#root/references/items/id", 
						"title": "Id", 
						"type": "integer",
						"default": 0
					},
					"referenced_entities": {
						"$id": "#root/references/items/referenced_entities", 
						"title": "Referenced_entities", 
						"type": "array",
						"default": [],
						"items":{
							"$id": "#root/references/items/referenced_entities/items", 
							"title": "Items", 
							"type": "object",
							"properties": {
								"abs_path": {
									"$id": "#root/references/items/referenced_entities/items/abs_path", 
									"title": "Abs_path", 
									"type": "string",
									"default": ""
								},
								"property": {
									"$id": "#root/references/items/referenced_entities/items/property", 
									"title": "Property", 
									"type": "string",
									"default": ""
								}
							}
						}

					}
				}
			}

		},
		"reasoning": {
			"$id": "#root/reasoning", 
            "title": "Reasoning",
            "description": "A short description why the object is irrelevant.",
			"type": "array",
			"default": [],
			"items":{
				"$id": "#root/reasoning/items", 
				"title": "Items", 
				"type": "object",
				"properties": {
					"text": {
						"$id": "#root/reasoning/items/text", 
						"title": "Text", 
						"type": "string",
						"default": ""
					}
				}
			}

		},
		"reasoning_details": {
			"$id": "#root/reasoning_details", 
            "title": "Reasoning_details",
            "description": "A in depth list.", 
			"type": "array",
			"default": [],
			"items":{
				"$id": "#root/reasoning_details/items", 
				"title": "Items", 
				"type": "array",
				"default": [],
				"items":{
					"$id": "#root/reasoning_details/items/items", 
					"title": "Items", 
					"type": "object",
					"properties": {
						"text": {
							"$id": "#root/reasoning_details/items/items/text", 
							"title": "Text", 
							"type": "string",
							"default": ""
						}
					}
				}

			}
		}
	}
}