-
Notifications
You must be signed in to change notification settings - Fork 9
/
terms.schema.json
70 lines (70 loc) · 2.48 KB
/
terms.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
69
70
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://nhsx.github.io/ai-dictionary",
"title": "AI terms",
"description": "AI terms in NHS AI Lab AI Dictionary",
"type": "object",
"properties": {
"terms": {
"description": "The list of AI terms",
"type": "array",
"items": {
"description": "An AI term",
"type": "object",
"properties": {
"name": {
"description": "The expanded artificial intelligence term (see acronymn)",
"type": "string",
"minLength": 1
},
"acronym": {
"description": "The acronym form of the title, optional",
"type": "string"
},
"description": {
"description": "The explanation of what the AI term is",
"type": "string",
"minLength": 2
},
"alternateName": {
"description": "Synonym for this term",
"type": "string"
},
"termCode": {
"description": "Short form identifier for the term, used in related terms and for URL bookmarking",
"type": "string",
"$ref": "#/definitions/termCode"
},
"related": {
"description": "A list of related terms",
"type": "array",
"items": {
"description": "Term codes for related terms",
"type": "string",
"$ref": "#/definitions/termCode"
},
"uniqueItems": true
}
},
"required": [
"name",
"description",
"termCode",
"related"
]
},
"uniqueItems": true
}
},
"required": [
"terms"
],
"additionalProperties": false,
"definitions": {
"termCode": {
"description": "Unique short form identifier for a specific AI term",
"type": "string",
"minLength": 1
}
}
}