summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/deployment.rnc
blob: 22ceab4efa52752a8849cc8a26de01341a1e2ae8 (plain) (blame)
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
# RELAX NG Compact Syntax
# Vespa Deployment file

start = element deployment {
   attribute version { "1.0" } &
   Test? &
   Staging? &
   Prod*
}

Test = element test {
    text
}

Staging = element staging {
    text
}

Prod = 
    element prod {
        attribute global-service-id { text }?,
        element region { 
            attribute active { xsd:boolean },
            text
        }*
   }