Skip to content

Commit

Permalink
Add metadata and type attribute back to schema
Browse files Browse the repository at this point in the history
but leave type optional for now

Signed-off-by: ruffsl <[email protected]>
  • Loading branch information
ruffsl committed Mar 18, 2020
1 parent c3382da commit a2397e6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions sros2/sros2/policy/schemas/policy.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@
</xs:complexType>

<xs:complexType name="Profiles">
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="profile" type="Profile" />
</xs:sequence>
<!-- <xs:sequence minOccurs="0" maxOccurs="1">
<xs:element name="metadata" type="xsd:anyType" />
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="profile" type="Profile" />
</xs:sequence>
<xs:sequence minOccurs="0" maxOccurs="1">
<xs:element name="metadata" type="xs:anyType" />
</xs:sequence>
</xs:sequence>
<xs:attribute name="type" type="xs:string" use="required" /> -->
<xs:attribute name="type" type="xs:string" use="optional" />
</xs:complexType>

<xs:complexType name="Profile">
Expand Down

0 comments on commit a2397e6

Please sign in to comment.