aboutsummaryrefslogtreecommitdiffstats
path: root/etc/schema/nuget.rnc
blob: ab7052e91d1aa695976d512bb39ab359e2102af5 (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
default namespace = ""

start =
  element configuration {
    element packageRestore { add+ }?,
    (element config { add }
     | element packageSourceMapping {
         element packageSource {
           attribute key { xsd:NCName },
           element package {
             attribute pattern { text }
           }
         }+
       }
     | element packageSources {
         element clear { empty },
         add+
       })+
  }
add =
  element add {
    attribute key { xsd:NCName },
    attribute protocolVersion { xsd:integer }?,
    attribute value { xsd:anyURI }
  }