-
Notifications
You must be signed in to change notification settings - Fork 1
/
master.schema.json
executable file
·37 lines (37 loc) · 1.26 KB
/
master.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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://standards.mnoforms.com/specs/v1/master.schema.json",
"title": "MNO Form specification",
"description": "The master schema for MNO Form specification",
"additionalProperties": false,
"type": "object",
"properties": {
"meta": {
"description": "Anything meta should be added here. Let's not compromise the schema",
"type": "object",
"additionalProperties": true,
"properties": {
}
},
"form": {
"description": "The actual form fields definition",
"$ref": "https://standards.mnoforms.com/specs/v1/form.schema.json"
},
"layout": {
"description": "The layout specification to render the form",
"$ref": "https://standards.mnoforms.com/specs/v1/layout.schema.json"
},
"rules": {
"description": "The rule specification while render the form, UI and validation",
"$ref": "https://standards.mnoforms.com/specs/v1/rule.schema.json"
},
"extras": {
"description": "Anything extra should be added here. Let's not compromise the schema",
"type": "object",
"additionalProperties": true,
"properties": {
}
}
},
"required": [ "form"]
}