Enumeration ColorType

Semantic value of a color.

Used in:
Color
Enumeration Literals
  Name Applied Stereotypes Description
  other Other (unspecified but known) color.
  red Red color.
  yellow Yellow color.
  green Green color.
  blue Blue color.
  violet Violet color.
  orange Orange color.
  brown Brown color.
  black Black color.
  grey Grey color.
  white White color.
XSD 1.3 Representation


<xsd:simpleType name="ColorType">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="other"/>
<xsd:enumeration value="red"/>
<xsd:enumeration value="yellow"/>
<xsd:enumeration value="green"/>
<xsd:enumeration value="blue"/>
<xsd:enumeration value="violet"/>
<xsd:enumeration value="orange"/>
<xsd:enumeration value="brown"/>
<xsd:enumeration value="black"/>
<xsd:enumeration value="grey"/>
<xsd:enumeration value="white"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="parameter"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>

To XSD