forked from tomhanika/conexp-clj
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfca_schema_v1.0.json
65 lines (65 loc) · 1.63 KB
/
fca_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
55
56
57
58
59
60
61
62
63
64
65
{
"$id": "fca_schema_v1.0",
"$schema": "https://json-schema.org/draft-07/schema",
"title": "JSON schema for an FCA process",
"type": "object",
"description": "JSON schema for FCA (Formal Concept Analysis). The schema contains context, concepts and sets of implications.\n\nIn Python, an instance can be validated with the function 'validate', provided by the 'jsonschema' package.",
"$defs": {
"object": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
],
"description": "JSON schema for a single object."
},
"attribute": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
],
"description": "JSON schema for a single attribute."
}
},
"properties": {
"source": {
"type": "string",
"description": "In 'source', the source of the context / data can be added."
},
"context": {
"$ref": "context_schema_v1.1.json"
},
"lattice": {
"$ref": "lattice_schema_v1.1.json"
},
"implication_sets": {
"type": "array",
"description": "Several sets of implications can be added.",
"items": {
"$ref": "implications_schema_v1.0.json"
}
},
"layouts":{
"type": "array",
"description": "Several layouts can be added.",
"items": {
"$ref": "layout_schema_v1.0.json"
}
},
"additional_information": {
"description": "Information that is additional to the defined properties",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"context"
]
}