-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathentity.schema.json
68 lines (68 loc) · 1.46 KB
/
entity.schema.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
{
"$id": "entity.schema.json",
"additionalProperties": false,
"properties": {
"$id": {
"$ref": "../schema/common.schema.json#/definitions/$id",
"pattern": "entity/"
},
"$schema": {
"type": "string"
},
"$type": {
"$ref": "../schema/common.schema.json#/definitions/$type",
"default": "entity",
"enum": [
"entity"
]
},
"description": {
"$comment": "A short bio for the entity.",
"type": "string"
},
"entity_type": {
"$comment": "The type of entity.",
"enum": [
"person",
"organization"
],
"type": "string"
},
"external_references": {
"items": {
"$ref": "../schema/common.schema.json#/definitions/uri_reference"
},
"type": "array",
"uniqueItems": true
},
"framework_references": {
"items": {
"$ref": "../schema/common.schema.json#/definitions/framework_reference"
},
"type": "array",
"uniqueItems": true
},
"name": {
"$comment": "The name of the object.",
"type": "string"
},
"object_references": {
"items": {
"$ref": "../schema/common.schema.json#/definitions/object_reference"
},
"type": "array",
"uniqueItems": true
}
},
"required": [
"$id",
"$type",
"name",
"description",
"entity_type",
"external_references",
"$schema"
],
"title": "Entity Schema",
"type": "object"
}