IDMW 2.0 XML-Schema Dokumentation
OPTION_DEFINITION Element
IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > FEATURE_DEFINITION Element : OPTION_DEFINITION Element
Description
This element is used to define the properties of colours, materials and dimensions.
Namespace (none)
Diagram
OPTION_MEASURE Element MATERIAL Element Sequence OPTION_DEFINITION Element
Overview
OPTION_DEFINITION optional
This element is used to define the properties of colours, materials and dimensions.
Sequence
MATERIAL 0..∞
This element is used to define a material.

If the option to be created is a feature (identified by A), no colour values (COLOR) or texture (TEXTURE) must be specified.

Features are defined via T_NEW_CATALOG/FEATURE_DEFINITION/FEATURES/FEATURE/OPTIONS/OPTION.
MATERIAL_NO required Restriction of xs:string
This attribute is used to identify a material.    D   string
   P   
   M   [1:5]
Sequence
COLOR
This element is used to define colours.
Sequence
RGB_RED Restriction of xs:nonNegativeInteger
These elements are used to specify a base colour (diffused reflection) of the material via the RGB value. It can only be used for single-colour materials.
0 = no colour intensity
255 = full colour intensity
   D   nonNegativeInteger
   P   
   M   [0:255]
RGB_GREEN Restriction of xs:nonNegativeInteger
These elements are used to specify a base colour (diffused reflection) of the material via the RGB value. It can only be used for single-colour materials.
0 = no colour intensity
255 = full colour intensity
   D   nonNegativeInteger
   P   
   M   [0:255]
RGB_BLUE Restriction of xs:nonNegativeInteger
These elements are used to specify a base colour (diffused reflection) of the material via the RGB value. It can only be used for single-colour materials.
0 = no colour intensity
255 = full colour intensity
   D   nonNegativeInteger
   P   
   M   [0:255]
OPTION_MEASURE 0..∞
This element is used to specify the values of options that are expressed in a dimension (e.g. backrest or cushion height).
OPTION_MEASURE_NO required Restriction of xs:positiveInteger
This attribute identifies a dimensional variation.    D   positiveInteger
   P   
   M   [1:99999]
Sequence
MEASURE_VALUE Restriction of xs:nonNegativeInteger
This element is used to specify the dimensions.    D   nonNegativeInteger
   P   
   M   [0:999999999]
MEASURE_UNIT xs:string
This element is used to specify the unit of measure.    D   string
   P   
   M
Remarks

Source
<xs:element name="OPTION_DEFINITION" minOccurs="0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>1000--0--NEW</xs:documentation>
    <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="MATERIAL" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>260--0--NEW</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="COLOR">
              <xs:annotation>
                <xs:documentation>1000--0--NEW</xs:documentation>
                <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="RGB_RED">
                    <xs:annotation>
                      <xs:documentation>260--11--RGB_Rot</xs:documentation>
                      <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:nonNegativeInteger">
                        <xs:minInclusive value="0" />
                        <xs:maxInclusive value="255" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="RGB_GREEN">
                    <xs:annotation>
                      <xs:documentation>260--12--RGB_Gruen</xs:documentation>
                      <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:nonNegativeInteger">
                        <xs:minInclusive value="0" />
                        <xs:maxInclusive value="255" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="RGB_BLUE">
                    <xs:annotation>
                      <xs:documentation>260--13--RGB_Blau</xs:documentation>
                      <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:nonNegativeInteger">
                        <xs:minInclusive value="0" />
                        <xs:maxInclusive value="255" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="MATERIAL_NO" use="required">
            <xs:annotation>
              <xs:documentation>260--0--NEW</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="1" />
                <xs:maxLength value="5" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="OPTION_MEASURE" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>260--0--NEW</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="MEASURE_VALUE">
              <xs:annotation>
                <xs:documentation>260--0--NEW</xs:documentation>
                <xs:documentation>Version Beta 2.0 Build 0, K. Richter 26.03.2014</xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:nonNegativeInteger">
                  <xs:minInclusive value="0" />
                  <xs:maxInclusive value="999999999" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element name="MEASURE_UNIT" type="xs:string">
              <xs:annotation>
                <xs:documentation>260--0--NEW</xs:documentation>
                <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="OPTION_MEASURE_NO" use="required">
            <xs:annotation>
              <xs:documentation>260--0--NEW</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 0, K. Richter 28.05.2014</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:positiveInteger">
                <xs:minInclusive value="1" />
                <xs:maxInclusive value="99999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also
FEATURE_DEFINITION ElementT_NEW_CATALOG ElementIDMW 2.0 XML-Schema Dokumentation