NATIONAL INFORMATION EXCHANGE MODEL
US flag An official website of the United States Government
NIEM
GitHub
  • About Us
  • TechHub
  • Tools Catalog
  • Training
  • Contact Us
  1. Home
  2. IEPD Starter Kit
  3. Reusable XML Snippets
  4. Simple Type

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>
  • IEPD Starter Kit
    • IEPD Series
    • IEPD Tutorials
    • IEPD Conformance
    • Terms
    • Reusable XML Snippets
      • Schema Pattern
      • Element Pattern
      • Attribute Pattern
      • Complex Type (sub-properties) Pattern
      • Complex Type (value) Pattern
      • Simple Type
      • Abstract and Substitution Pattern
      • Code Set Pattern
      • Code Set Substitution Pattern
      • Facet Pattern
      • Association Pattern
      • Augmentation Pattern
      • Augmentation Point Pattern
      • Metadata Pattern
      • Role Pattern
      • External Standards and Adapters Pattern
      • Representation terms and standard opening phrases
    • IEPD Template
    • IEPD Search
Submit Feedback/Ideas
NIEM
National Information Exchange Model (NIEM)
  • NIEM.gov
  • Contact Us