Skip to content

Commit

Permalink
update to v1.1 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyshelf committed Nov 25, 2024
1 parent d0fb220 commit d87036a
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions pinwheel/schema/pinwheel.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ elementFormDefault="qualified">
<xs:element name="id" type="xs:string"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="profile" type="xs:string"/>
<xs:element name="appearance" type="xs:string"/>
<xs:element name="appearance" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="color" type="ItemColorType"/>
<xs:element name="buildGroupId" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="testGroupId" type="xs:string" minOccurs="0" maxOccurs="1"/>
Expand All @@ -96,8 +96,11 @@ elementFormDefault="qualified">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="type" type="xs:integer"/>
<xs:element name="referencedItemId" type="xs:string"/>
<xs:element name="subIndex" type="xs:integer"/>
<xs:element name="darkType" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="referencedItemId" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="referencedItemIdDark" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="subIndex" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="subIndexDark" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="buildGroupId" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="testGroupId" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="testPosition" type="xs:string" minOccurs="0" maxOccurs="1"/>
Expand Down Expand Up @@ -195,9 +198,34 @@ elementFormDefault="qualified">
<xs:element name="nameTransform" type="xs:integer"/>
<xs:element name="namePrefix" type="xs:string" minOccurs="0"/>
<xs:element name="nameSuffix" type="xs:string" minOccurs="0"/>
<xs:element name="format" type="BuildTaskFormatValues" minOccurs="0" maxOccurs="1"/>
<xs:element name="configuration" type="TaskConfigurationType" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>

<xs:simpleType name="BuildTaskFormatValues">
<xs:restriction base="xs:string">
<xs:enumeration value="cssHex"/>
<xs:enumeration value="cssRGBA"/>
<xs:enumeration value="cssColor"/>
<xs:enumeration value="cssOKLCH"/>
</xs:restriction>
</xs:simpleType>

<xs:complexType name="TaskConfigurationType">
<xs:sequence>
<xs:element name="assetCatalogSymbols" type="AssetCatalogSymbolValues" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>

<xs:simpleType name="AssetCatalogSymbolValues">
<xs:restriction base="xs:string">
<xs:enumeration value="notSet"/>
<xs:enumeration value="true"/>
<xs:enumeration value="false"/>
</xs:restriction>
</xs:simpleType>

<!-- TestGroupsType -->
<xs:complexType name="TestGroupsType">
<xs:sequence>
Expand Down

0 comments on commit d87036a

Please sign in to comment.