forked from tomhanika/conexp-clj
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontext_schema_v1.0.json
54 lines (54 loc) · 1.39 KB
/
context_schema_v1.0.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
{
"$id": "context_schema_v1.0",
"$schema": "https://json-schema.org/draft-07/schema",
"title": "JSON schema for a formal context",
"type": "object",
"description": "JSON Schema for the formal context. A formal context contains a set of objects, each with corresponding attributes. The minimum number of attributes assigned to an object is 0.",
"$defs": {
"context_item": {
"type": "object",
"required": [
"object",
"attributes"
],
"properties": {
"object": {
"type": "object",
"$ref": "fca_schema_v1.0.json#/$defs/object"
},
"attributes": {
"type": "array",
"description": "List of attributes",
"items": {
"$ref": "fca_schema_v1.0.json#/$defs/attribute"
}
}
},
"additionalProperties": false
}
},
"required": [
"attributes",
"adjacency-list"
],
"properties": {
"attributes": {
"type": "array",
"description": "List of all attributes",
"items": {
"$ref": "fca_schema_v1.0.json#/$defs/attribute"
}
},
"adjacency-list": {
"type": "array",
"items": {
"$ref": "#/$defs/context_item"
}
},
"additional_information": {
"description": "Information that is additional to the defined properties",
"type": "string"
}
},
"additionalProperties": false
}