summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema
diff options
context:
space:
mode:
authorJon Bratseth <jonbratseth@yahoo.com>2017-06-02 13:26:36 +0200
committerGitHub <noreply@github.com>2017-06-02 13:26:36 +0200
commit93c37dfef7736994f7c03db74228f051a35ac8b2 (patch)
treed1c7d9c72effe6bcb0bf6403c607490a2ea41420 /config-model/src/main/resources/schema
parentebd4e82d2e3895ebbd72928feb7c36f55285ae2b (diff)
Revert "Revert "Bratseth/deployment delay""
Diffstat (limited to 'config-model/src/main/resources/schema')
-rw-r--r--config-model/src/main/resources/schema/deployment.rnc24
1 files changed, 16 insertions, 8 deletions
diff --git a/config-model/src/main/resources/schema/deployment.rnc b/config-model/src/main/resources/schema/deployment.rnc
index c8bd11d7184..d34255c7127 100644
--- a/config-model/src/main/resources/schema/deployment.rnc
+++ b/config-model/src/main/resources/schema/deployment.rnc
@@ -21,11 +21,19 @@ Staging = element staging {
text
}
-Prod =
- element prod {
- attribute global-service-id { text }?,
- element region {
- attribute active { xsd:boolean },
- text
- }*
- }
+Prod = element prod {
+ attribute global-service-id { text }? &
+ Region* &
+ Delay*
+}
+
+Region = element region {
+ attribute active { xsd:boolean },
+ text
+}
+
+Delay = element delay {
+ attribute hours { xsd:long }? &
+ attribute minutes { xsd:long }? &
+ attribute seconds { xsd:long }?
+}