-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathproject-fields.schema.json
More file actions
54 lines (54 loc) · 1.6 KB
/
Copy pathproject-fields.schema.json
File metadata and controls
54 lines (54 loc) · 1.6 KB
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Schema for project-fields.yml defining project field archetypes",
"type": "object",
"required": ["schema", "types"],
"properties": {
"schema": {
"type": "integer",
"const": 1
},
"types": {
"type": "object",
"patternProperties": {
"^[A-Za-z0-9_]+$": {
"description": "Project field archetype keyed by values such as product_dev or client_services.",
"type": "object",
"required": ["project_name", "fields"],
"properties": {
"project_name": { "type": "string" },
"fields": {
"type": "array",
"items": {
"type": "object",
"required": ["key", "slug", "type"],
"properties": {
"key": { "type": "string" },
"slug": { "type": "string" },
"type": {
"type": "string",
"enum": [
"single_select",
"text",
"number",
"date",
"iteration"
]
},
"description": { "type": "string" },
"options": {
"type": "array",
"items": { "type": "string" }
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
}
}
},
"additionalProperties": false
}