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. Property (Attribute) Pattern

Property (Attribute) Pattern

Variable Replacement Table

Variable Description Usage NDR Reference
{$Name} The name of the attribute Required Rule 7-5 How to name a component
NDR Section 10.8 Component naming rules
Rule 11-20 Attribute name has representation term
{$RepresentationTerm} A required representation term Required NDR Table 10-2 Representation terms
{$Type} The QName of the simple type Required
{$OpeningPhrase} The opening phrase for the data definition of this attribute Required
{$Definition} The data definition of the attribute Required NDR Section 11.6.1 How to write component definitions

Attribute Declaration

<xs:attribute name="{$Name}{$RepresentationTerm}" type="{$Type}">
	<xs:annotation>
      <xs:documentation>{$OpeningPhrase} {$Definition}</xs:documentation>
    </xs:annotation>
</xs:attribute>

Related NDR Rules

  • NDR Section 9.2.3 Attribute Declaration
  • 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