Enumeration

A Business Object Model Enumeration is transformed into an XSD SimpleType.

For example:

Transforms to:

<xsd:simpleType id="_-xfC8BpMEeChWL2te4gBZg" name="COLORS">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="RED"/>
      <xsd:enumeration value="GREEN"/>
      <xsd:enumeration value="BLUE"/>
    </xsd:restriction>

Model

The name of the UML Model construct (which forms the base package of the Business Object Model), is used to define the target namespace of the exported XML schema, and the name of the XML schema file.

For example a file called example.Business Object Model:

Transforms to file com.example.businessobjectmodel1.xsd with the following namespace information:

<xsd:schema
    xmlns="http://example.com/businessobjectmodel1" xmlns:tns1="http://example.com/businessobjectmodel1"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.com/businessobjectmodel1">
  <xsd:annotation>
    <xsd:documentation>BOMORIGIN::/p1/Business Objects/BusinessObjectModel1.bom</xsd:documentation>
  </xsd:annotation>
</xsd:schema>