Skip to content

Commit

Permalink
gh-21 Extract simple type
Browse files Browse the repository at this point in the history
  • Loading branch information
at055612 committed Jun 10, 2024
1 parent d40d2d3 commit 4ebde3d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions event-logging.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3208,18 +3208,10 @@
<xs:documentation>The name of the cloud provider if this virtual device is hosted on a cloud provider, e.g. AWS, Google, Azure, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CloudType" minOccurs="0">
<xs:element name="CloudType" minOccurs="0" type="evt:CloudTypeSimpleType">
<xs:annotation>
<xs:documentation>The type of cloud the device is deployed in, e.g. public or private or on-premesis infrastructure.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="On-premesis"/>
<xs:enumeration value="Private"/>
<xs:enumeration value="Public"/>
<xs:enumeration value="Other"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="CloudRegion" type="xs:string">
<xs:annotation>
Expand Down Expand Up @@ -3473,6 +3465,14 @@
<xs:pattern value="[A-Z]{3}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CloudTypeSimpleType">
<xs:restriction base="xs:string">
<xs:enumeration value="On-premesis"/>
<xs:enumeration value="Private"/>
<xs:enumeration value="Public"/>
<xs:enumeration value="Other"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DateTimeSimpleType">
<xs:annotation>
<xs:documentation>This type constrains the date time format further so that it is always represented as 'yyyy-MM-ddThh:mm:ss.sssZ'.</xs:documentation>
Expand Down

0 comments on commit 4ebde3d

Please sign in to comment.