Simple Type

Variable Replacement Table

Pattern Variable Description Usage NDR Reference
{$Name} Name of the type Required NDR Section 10.8 Naming rules
Rule 7-5 How to name a component
NDR Section 10.8 Component naming rules
Rule 11-4 Simple type name ends with "SimpleType"
Rule 11-5 Simple type name is upper camel case
{$Definition} The data definition of the type Required NDR Section 11.6.1 How to write component definitions
Rule 11-33 Standard opening phrase for simple types
{$XSDBase} The Schema built-in type that the
simple type is restricting
Required
{$Facets} Results of Pattern/facets Required

Pattern [simple object type] Pattern

<xs:simpleType name="{$Name}SimpleType">
   <xs:annotation>
      <xs:documentation>A data type for a(n) {$Definition}</xs:documentation>
   </xs:annotation>
   <xs:restriction base="{$XSDBase}">
     {$Facets}
   </xs:restriction>
</xs:simpleType>