Disclaimer: This tool was developed by Tom Carlson Consulting LLC. It was created from the official distribution of the data model. Tom Carlson Consulting LLC makes neither claim nor warranty that this tool provides an accurate representation of the NIEM data model. For official and authoritative representations, please visit the official NIEM release website.
<?xml version="1.0" encoding="UTF-8"?> <xs:schema targetNamespace="http://release.niem.gov/niem/structures/5.0/" version="5.0" xml:lang="en-US" xmlns:structures="http://release.niem.gov/niem/structures/5.0/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:annotation> <xs:documentation>The structures namespace provides base types and other components for definition of NIEM-conformant XML schemas.</xs:documentation> </xs:annotation> <xs:attribute name="id" type="xs:ID"> <xs:annotation> <xs:documentation>A document-relative identifier for an XML element.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="ref" type="xs:IDREF"> <xs:annotation> <xs:documentation>A document-relative reference to an XML element.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="uri" type="xs:anyURI"> <xs:annotation> <xs:documentation>An internationalized resource identifier or uniform resource identifier for a node or object.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="metadata" type="xs:IDREFS"> <xs:annotation> <xs:documentation>A list of metadata objects that apply to a node or object represented by an XML element.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="relationshipMetadata" type="xs:IDREFS"> <xs:annotation> <xs:documentation>A list of metadata objects that apply to a relationship or property occurrence represented by an XML element.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="sequenceID" type="xs:positiveInteger"> <xs:annotation> <xs:documentation>An identifier that establishes the relative order of a property occurrence among sibling properties of a node or object.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attributeGroup name="SimpleObjectAttributeGroup"> <xs:annotation> <xs:documentation>A group of attributes that are applicable to objects, to be used when defining a complex type that is an extension of a simple type.</xs:documentation> </xs:annotation> <xs:attribute ref="structures:id"/> <xs:attribute ref="structures:ref"/> <xs:attribute ref="structures:uri"/> <xs:attribute ref="structures:metadata"/> <xs:attribute ref="structures:relationshipMetadata"/> <xs:attribute ref="structures:sequenceID"/> <xs:anyAttribute namespace="urn:us:gov:ic:ism urn:us:gov:ic:ntk" processContents="lax"/> </xs:attributeGroup> <xs:complexType name="ObjectType" abstract="true"> <xs:annotation> <xs:documentation>A data type for a thing with its own lifespan that has some existence.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element ref="structures:ObjectAugmentationPoint" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute ref="structures:id"/> <xs:attribute ref="structures:ref"/> <xs:attribute ref="structures:uri"/> <xs:attribute ref="structures:metadata"/> <xs:attribute ref="structures:relationshipMetadata"/> <xs:attribute ref="structures:sequenceID"/> <xs:anyAttribute namespace="urn:us:gov:ic:ism urn:us:gov:ic:ntk" processContents="lax"/> </xs:complexType> <xs:element name="ObjectAugmentationPoint" abstract="true"> <xs:annotation> <xs:documentation>An augmentation point for type structures:ObjectType.</xs:documentation> </xs:annotation> </xs:element> <xs:complexType name="AssociationType" abstract="true"> <xs:annotation> <xs:documentation>A data type for a relationship between two or more objects, including any properties of that relationship.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element ref="structures:AssociationAugmentationPoint" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute ref="structures:id"/> <xs:attribute ref="structures:ref"/> <xs:attribute ref="structures:uri"/> <xs:attribute ref="structures:metadata"/> <xs:attribute ref="structures:relationshipMetadata"/> <xs:attribute ref="structures:sequenceID"/> <xs:anyAttribute namespace="urn:us:gov:ic:ism urn:us:gov:ic:ntk" processContents="lax"/> </xs:complexType> <xs:element name="AssociationAugmentationPoint" abstract="true"> <xs:annotation> <xs:documentation>An augmentation point for type structures:AssociationType.</xs:documentation> </xs:annotation> </xs:element> <xs:complexType name="MetadataType" abstract="true"> <xs:annotation> <xs:documentation>A data type for data about data.</xs:documentation> </xs:annotation> <xs:attribute ref="structures:id"/> <xs:attribute ref="structures:ref"/> <xs:attribute ref="structures:uri"/> <xs:anyAttribute namespace="urn:us:gov:ic:ism urn:us:gov:ic:ntk" processContents="lax"/> </xs:complexType> <xs:complexType name="AugmentationType" abstract="true"> <xs:annotation> <xs:documentation>A data type for a set of properties to be applied to a base type.</xs:documentation> </xs:annotation> <xs:attribute ref="structures:id"/> <xs:attribute ref="structures:ref"/> <xs:attribute ref="structures:uri"/> <xs:anyAttribute namespace="urn:us:gov:ic:ism urn:us:gov:ic:ntk" processContents="lax"/> </xs:complexType> </xs:schema>