aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/routing.rnc
blob: 1a631d896316368cb6a58f8a1e3248fe5042984c (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
27
28
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# RELAX NG compact syntax pattern
# for Vespa MessageBus explicit routing config
Routing = element routing {
   attribute version { "1.0" } &
   element routingtable {
      attribute protocol { string "document" } &
      attribute verify { xsd:boolean }? &
      element hop {
         attribute name { text } &
         attribute selector { text } &
         attribute ignore-result { xsd:boolean }? &
         element recipient {
            attribute session { text }
         }*
      }* &
      element route {
         attribute name { text } &
         attribute hops { text } 
      }*
   }* &
   element services {
      attribute protocol { string "document" } &
      element service {
         attribute name { text }
      }*
   }*
}