-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommentOnly.jschema
29 lines (29 loc) · 1.04 KB
/
commentOnly.jschema
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
{ "id": "commentOnly",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Comment only documents",
"description": "JSON Schema for various kinds of documents in the scope of Student Records, for which no content data is required. The property names follow the vocabulary of schema.org.",
"type": "object",
"required": [
"about",
"@type",
"additionalType"
],
"properties": {
"about": {
"allOf": [
{"$ref": "https://raw.githubusercontent.com/SanjaSaric/playground/main/basic.jschema#/definitions/about"}
]
},
"comment": {"$ref": "https://raw.githubusercontent.com/SanjaSaric/playground/main/basic.jschema#/definitions/comment"},
"@type":{
"description": "Type of this entity",
"type": "string",
"enum": ["Document"]
},
"additionalType": {
"description": "Subtype of this entity",
"type":"string"
}
},
"additionalProperties": false
}