-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcitizenshipCertificate.jschema
35 lines (35 loc) · 1.31 KB
/
citizenshipCertificate.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
30
31
32
33
34
35
{ "id": "citizenshipCertificate",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Citizenship Certificate",
"description": "JSON Schema for user defined metadata of student's personal ID (personal licence, passport or driving licence) in the scope of Student Records. The property names follow the vocabulary of schema.org.",
"type": "object",
"required": [
"about",
"@type",
"additionalType",
"countryOfOrigin"
],
"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":["Certification"]
},
"additionalType": {
"description": "Subtype of this entity",
"type":"string",
"enum":["Citizenship Certificate"]
},
"countryOfOrigin": {
"description": "Nationality of the person as stated in the document.",
"type": "string"
}
},
"additionalProperties": false
}