This repository has been archived by the owner on Feb 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
symbol.json
80 lines (80 loc) · 2.18 KB
/
symbol.json
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
{
"id": "https://masterthesis.rightsrestricted.com/api/symbol.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Symbol",
"description": "A symbol defined by an ontology",
"type": "object",
"oneOf": [
{
"properties": {
"iri": { "$ref": "generic/definitions.json#/definitions/iri" },
"name": {
"description": "The name of the symbol",
"type": "string"
},
"kind": {
"description": "The kind of symbol",
"type": "string"
},
"definition": {
"description": "The definition of the symbol",
"type": "string"
},
"label": {
"description": "The label that is attached to the symbol",
"type": ["string", "null"]
},
"comment": {
"description": "A comment on the symbol",
"type": ["string", "null"]
},
"ontology": { "$ref": "references.json#/definitions/ontology" },
"sentences": {
"description": "Reference to all sentences that use the symbol in this ontology",
"$ref": "generic/definitions.json#/definitions/iri"
}
},
"required": [
"iri",
"name",
"kind",
"definition",
"ontology",
"sentences"
]
},
{
"properties": {
"iri": { "$ref": "generic/definitions.json#/definitions/iri" },
"name": {
"description": "The name of the symbol",
"type": "string"
},
"kind": {
"description": "The kind of symbol",
"type": "string"
},
"definition": {
"description": "The definition of the symbol",
"type": "string"
},
"label": {
"description": "The label that is attached to the symbol",
"type": ["string", "null"]
},
"comment": {
"description": "A comment on the symbol",
"type": ["string", "null"]
},
"_links": { "$ref": "generic/definitions.json#/definitions/_links" }
},
"required": [
"iri",
"name",
"kind",
"definition",
"_links"
]
}
]
}