forked from usnistgov/mgi-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Form.json
36 lines (36 loc) · 1.14 KB
/
Form.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "Form",
"description": "This schema is for depositing and describing a UI Form definition in Cordra.",
"required": [
"@id",
"@context",
"@type"
],
"allOf": [
{
"@context": {
"type": "array",
"default": [
"http://schema.org/",
{
"mat": "https://pages.nist.gov/material-schema/",
"parameterControlled": "mat:parameterControlled"
}
]
},
"@type": {
"type": "array",
"default": [
"Dataset",
"mat:Form"
]
}
},
{"$ref": "definition-schemas/CordraObjectID.json#/definitions/CordraObjectID"},
{"$ref": "definition-schemas/Thing.json#/definitions/Thing"},
{"$ref": "definition-schemas/CreativeWork.json#/definitions/CreativeWork"},
{"$ref": "definition-schemas/File.json#/definitions/File"}
]
}