aboutsummaryrefslogtreecommitdiffstats
path: root/etc/schema/dotnet-packages-props.rnc
blob: 18c689eb2ddf24f51f0c54891eac0071cd790a73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
default namespace = ""

start =
  element Project {
    element PropertyGroup {
      element ManagePackageVersionsCentrally { xsd:boolean },
      element CentralPackageTransitivePinningEnabled { xsd:boolean },
      element CentralPackageVersionOverrideEnabled { xsd:boolean }
    }?,
    element ItemGroup {
      attribute Condition { text }?,
      (element GlobalPackageReference {
         attribute Condition { text }?,
         attribute Include { xsd:NCName },
         attribute Version { xsd:NMTOKEN }
       }+
       | element PackageVersion {
           attribute Include { xsd:NCName },
           attribute Version { text }
         }+)
    }+
  }