forked from SAFEHR-data/FlowEHR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_schema.json
42 lines (42 loc) · 1.5 KB
/
config_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
38
39
40
41
42
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://github.com/UCLH-Foundry/FlowEHR/schema/config_schema.json",
"title": "FlowEHR configuration",
"description": "All deployment settings and configuration for the FlowEHR platform.",
"type": "object",
"properties": {
"location": {
"description": "The Azure location (region) for all resources.",
"type": "string",
"pattern": "[a-z]+"
},
"suffix": {
"description": "Unique identifier (i.e. for differentiating organisations/projects)",
"type": "string",
"pattern": "^[a-zA-Z 0-9\\_-]*$"
},
"environment": {
"description": "Unique environment name for differentiating deployment environments",
"type": "string",
"pattern": "^[a-zA-Z0-9\\_-]*$"
},
"arm_subscription_id": {
"description": "Subscription Id for the Azure subscription to deploy to",
"type": "string",
"pattern": "^[{]?[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$"
},
"devcontainer_acr_name": {
"description": "Azure Container Registry name. If this does not exist then make bootstrap will create it",
"type": "string",
"pattern": "[0-9a-z]{5,50}"
}
},
"required": [
"location",
"suffix",
"environment",
"arm_subscription_id",
"local_mode",
"devcontainer_acr_name"
]
}