This section contains a listing of the normative rules, for use as a quick reference guide for the following:
The CTAS defines XML attributes that may occur within XML documents to establish a claim that the document conforms to a set of conformance targets. The CTAS does not define conformance targets; conformance targets are defined in the MPD Section 3.1 and NDR Section 3.6. There are six CTAS rules.
The MPD specification contains 60 normative rules for constructing a:
- NIEM Information Exchange Package Documentation (IEPD),
- NIEM Release (including a micro, minor, or major)
- NIEM Domain Update
- NIEM Core Update to a NIEM release
- NIEM Enterprise Information Exchange Model (EIEM)
- Rule 3-1, MPD Conformance Target Identifier
- Rule 3-2, MPD with MPD class of IEPD is an IEPD
- Rule 3-3, IEPD Conformance Target Identifier
- Rule 4-1, Fundamental NIEM Subset Rule
- Rule 5-1, MPD Has an
mpd-catalog.xml
in its Root Directory
- Rule 5-2, MPD Catalog Document Valid to
mpd-catalog-3.0.xsd
- Rule 5-3, MPD Catalog Extension XML Catalog Document in Root Directory
- Rule 5-4, MPD Catalog Extension XML Catalog Document Name Is
mpd-catalog-extension-xml-catalog.xml
- Rule 5-5, MPD Catalog Extension XML Catalog Document Resolves Namespaces to URIs
- Rule 5-6, MPD Catalog Extension Schema Document Conforms to NDR Extension Rules
- Rule 5-7, MPD Catalog Schema and Its Extensions Conform to NDR Schema Set Rules
- Rule 5-8, MPD Schema Document Extension Support Schemas Are Supersets of Spec Subsets
- Rule 5-9, MPD Class Determined by Conformance Target Identifier in
c:mpdClassURIList
- Rule 5-10, MPD Version Number Syntax
- Rule 5-11, MPD URI Is Absolute
- Rule 5-12, MPD URI Supports Fragment
- Rule 5-13, MPD URI Has No Fragment
- Rule 5-14, MPD Artifact URI Syntax
- Rule 5-15,
c:pathURI
Resolves to a Resource
- Rule 5-16,
c:pathURI
for c:XMLCatalog
- Rule 5-17,
c:pathURI
for c:MPDChangeLog
- Rule 5-18,
c:pathURI
for c:ReadMe
- Rule 5-19,
c:pathURI
for c:IEPSampleXMLDocument
- Rule 5-20,
c:pathURI
for c:BusinessRulesArtifact
- Rule 5-21,
c:pathURI
for c:XMLSchemaDocument
- Rule 5-22,
c:pathURI
for c:ExternalSchemaDocument
- Rule 5-23,
c:pathURI
for c:ReferenceSchemaDocument
- Rule 5-24,
c:pathURI
for c:ExtensionSchemaDocument
- Rule 5-25,
c:pathURI
for c:SubsetSchemaDocument
- Rule 5-26,
c:pathURI
for c:Wantlist
- Rule 5-27,
c:pathURI
for c:SchematronSchema
- Rule 5-28,
c:pathURI
for c:RelaxNGSchema
- Rule 5-29,
c:pathURI
for c:SchemaDocumentSet
- Rule 5-30,
c:pathURI
for c:ConstraintSchemaDocumentSet
- Rule 5-31,
c:pathURI
- Rule 5-32, Resolve MPD URI with Fragment
- Rule 5-33, XML Catalog
uri
Value Resolves to Resource
- Rule 5-34, XML Catalog
uri
Value Resolves to Resource with Correct Target Namespace
- Rule 5-35, IEPD Has a Change Log
- Rule 5-36, Readme Describes Purpose, Scope, Business Value, etc.
- Rule 5-37, IEPD Has a ReadMe Artifact
- Rule 5-38, Conformance Target Identifier
- Rule 5-39, IEP Conformance Target Has a
structures:id
- Rule 5-40, IEPD Declares One or More IEP Conformance Targets
- Rule 5-41, validity constraint context
- Rule 5-42, Identifying the Document Element of an IEP
- Rule 5-43, Validating an XPath Expression
- Rule 5-44, IEPD Has an IEP Sample for Each
c:IEPConformanceTarget
- Rule 5-45, Validating an IEP Sample XML Document
- Rule 5-46, IEPD Has Conformance Assertion
- Rule 6-1, Wantlist Location
- Rule 7-1, MPD Is a ZIP File
- Rule 7-2, XSD and XML Documents Conform to Applicable NDR Conformance Targets
- Rule 7-3, MPD Archive Uncompresses to a Single Root Directory
- Rule 7-4, Constraint on Elements of Type
c:SchemaDocumentSetType
- Rule 7-5, IEPD File Name Syntax
- Rule 7-6, MPD Reference to Resource Uses Common URI Scheme
- Rule 7-7, IEPD Completeness
- Rule 7-8, MPD External Schema Documents Are Local Resources
- Rule 7-9, Key MPD Resources Are Local Resources
The NIEM v3.0 NDR contains 239 normative rules defined in six sections of the specification (i.e., Section 4, 7, 9, 10, 11, 12). NIEM NDR apply to four categories of conformance targets denoted at the end of each rule in parenthesis. The codes representing conformance targets are as follows:
- REF: Reference schema document
- EXT: Extension schema document
- SET: Conformant schema document set
- INS: Conformant instance XML document
What follows is a numerical listing of each NDR. Future plans are to include categorically grouping of NDR.
- Rule 4-1, Schema marked as reference schema document must conform (SET)
- Rule 4-2, Schema marked as extension schema document must conform (SET)
- Rule 4-3, Schema is CTAS-conformant (REF, EXT)
- Rule 4-4, Document element has attribute
ct:conformanceTargets
(REF, EXT)
- Rule 4-5, Schema claims reference schema conformance target (REF)
- Rule 4-6, Schema claims extension conformance target (EXT)
- Rule 7-1, Document is an XML document (REF, EXT, INS)
- Rule 7-2, Document uses XML namespaces properly (REF, EXT, INS)
- Rule 7-3, Document is a schema document (REF, EXT)
- Rule 7-4, Document element is
xs:schema
(REF, EXT)
- Rule 7-5, Component name follows ISO 11179 Part 5 Annex A (REF, EXT)
- Rule 9-1, No base type in the XML namespace (REF, EXT)
- Rule 9-2, No base type of
xs:ID
(REF, EXT)
- Rule 9-3, No base type of
xs:IDREF
(REF, EXT)
- Rule 9-4, No base type of
xs:IDREFS
(REF, EXT)
- Rule 9-5, No base type of
xs:anyType
(REF, EXT)
- Rule 9-6, No base type of
xs:anySimpleType
(REF, EXT)
- Rule 9-7, No base type of
xs:NOTATION
(REF, EXT)
- Rule 9-8, No base type of
xs:ENTITY
(REF, EXT)
- Rule 9-9, No base type of
xs:ENTITIES
(REF, EXT)
- Rule 9-10, Simple type definition is top-level (REF, EXT)
- Rule 9-11, No simple type disallowed derivation (REF)
- Rule 9-12, Simple type has data definition (REF, EXT)
- Rule 9-13, No list item type of
xs:ID
(REF, EXT)
- Rule 9-14, No list item type of
xs:IDREF
(REF, EXT)
- Rule 9-15, No list item type of
xs:anySimpleType
(REF, EXT)
- Rule 9-16, No list item type of
xs:ENTITY
(REF, EXT)
- Rule 9-17, No union member types of
xs:ID
(REF, EXT)
- Rule 9-18, No union member types of
xs:IDREF
(REF, EXT)
- Rule 9-19, No union member types of
xs:IDREFS
(REF, EXT)
- Rule 9-20, No union member types of
xs:anySimpleType
(REF, EXT)
- Rule 9-21, No union member types of
xs:ENTITY
(REF, EXT)
- Rule 9-22, No union member types of
xs:ENTITIES
(REF, EXT)
- Rule 9-23, Enumeration has data definition (REF, EXT)
- Rule 9-24, Complex type definitions is top-level (REF, EXT)
- Rule 9-25, Complex type has data definition (REF, EXT)
- Rule 9-26, No mixed content on complex type (REF, EXT)
- Rule 9-27, No mixed content on complex content (REF, EXT)
- Rule 9-28, Complex type content is explicitly simple or complex (REF, EXT)
- Rule 9-29, Complex content uses extension (REF)
- Rule 9-30, Base type of complex type with complex content must have complex content (REF, EXT)
- Rule 9-31, Base type of complex type with complex content must have complex content (SET)
- Rule 9-32, Simple content uses extension (REF)
- Rule 9-33, No complex type disallowed substitutions (REF)
- Rule 9-34, No complex type disallowed derivation (REF)
- Rule 9-35, Element declaration is top-level (REF, EXT)
- Rule 9-36, Element declaration has data definition (REF, EXT)
- Rule 9-37, Untyped element is abstract (REF, EXT)
- Rule 9-38, Element of type
xs:anySimpleType
is abstract (REF, EXT)
- Rule 9-39, Element type not in the XML Schema namespace (REF, EXT)
- Rule 9-40, Element type not in the XML namespace (REF, EXT)
- Rule 9-41, Element type is not simple type (REF, EXT)
- Rule 9-42, No element disallowed substitutions(REF)
- Rule 9-43, No element disallowed derivation (REF)
- Rule 9-44, No element default value (REF, EXT)
- Rule 9-45, No element fixed value (REF, EXT)
- Rule 9-46, Element declaration is nillable (REF)
- Rule 9-47, Attribute declaration is top-level (REF, EXT)
- Rule 9-48, Attribute declaration has data definition (REF, EXT)
- Rule 9-49, Attribute declaration has type (REF, EXT)
- Rule 9-50, No attribute type of
xs:ID
(REF, EXT)
- Rule 9-51, No attribute type of
xs:IDREF
(REF, EXT)
- Rule 9-52, No attribute type of
xs:IDREFS
(REF, EXT)
- Rule 9-53, No attribute type of
xs:ENTITY
(REF, EXT)
- Rule 9-54, No attribute type of
xs:ENTITIES
(REF, EXT)
- Rule 9-55, No attribute type of
xs:anySimpleType
(REF, EXT)
- Rule 9-56, No attribute default values (REF, EXT)
- Rule 9-57, No attribute fixed values (REF, EXT)
- Rule 9-58, No use of element
xs:notation
(REF, EXT)
- Rule 9-59, Model group does not affect meaning (EXT)
- Rule 9-60, No
xs:all
(REF, EXT)
- Rule 9-61,
xs:sequence
must be child of xs:extension
(REF)
- Rule 9-62,
xs:sequence
must be child of xs:extension
or xs:restriction
(EXT)
- Rule 9-63, No
xs:choice
(REF)
- Rule 9-64,
xs:choice
must be child of xs:sequence
(EXT)
- Rule 9-65, Sequence has minimum cardinality 1 (REF, EXT)
- Rule 9-66, Sequence has maximum cardinality 1 (REF, EXT)
- Rule 9-67, Choice has minimum cardinality 1 (EXT)
- Rule 9-68, Choice has maximum cardinality 1 (EXT)
- Rule 9-69, No use of
xs:any
(REF)
- Rule 9-70, No use of
xs:anyAttribute
(REF)
- Rule 9-71, No use of
xs:unique
(REF, EXT)
- Rule 9-72, No use of
xs:key
(REF, EXT)
- Rule 9-73, No use of
xs:keyref
(REF, EXT)
- Rule 9-74, No use of
xs:group
(REF, EXT)
- Rule 9-75, No definition of attribute groups (REF, EXT)
- Rule 9-76, Comment is not recommended (REF, EXT)
- Rule 9-77, Documentation element has no element children (REF, EXT)
- Rule 9-78,
xs:appinfo
children are comments, elements, or whitespace (REF, EXT)
- Rule 9-79,
Appinfo
child elements have namespaces (REF, EXT)
- Rule 9-80,
Appinfo
descendants are not XML Schema elements (REF, EXT)
- Rule 9-81, Schema has data definition (REF, EXT)
- Rule 9-82, Schema document defines target namespace (REF, EXT)
- Rule 9-83, Target namespace is absolute URI (REF, EXT)
- Rule 9-84, Schema has version (REF, EXT)
- Rule 9-85, No disallowed substitutions (REF)
- Rule 9-86, No disallowed derivations (REF)
- Rule 9-87, No use of
xs:redefine
(REF, EXT)
- Rule 9-88, No use of
xs:include
(REF, EXT)
- Rule 9-89,
xs:import
must have namespace (REF, EXT)
- Rule 9-90, XML Schema document set must be complete (SET)
- Rule 9-91, Namespace referenced by attribute
type
is imported (REF, EXT)
- Rule 9-92, Namespace referenced by attribute
base
is imported (REF, EXT)
- Rule 9-93, Namespace referenced by attribute
itemType
is imported (REF, EXT)
- Rule 9-94, Namespaces referenced by attribute
memberTypes
is imported (REF, EXT)
- Rule 9-95, Namespace referenced by attribute
ref
is imported (REF, EXT)
- Rule 9-96, Namespace referenced by attribute
substitutionGroup
is imported (REF, EXT)
- Rule 10-1, Complex type has a category (REF, EXT)
- Rule 10-2, Object type with complex content is derived from object type (REF, EXT)
- Rule 10-3, RoleOf element type is an object type (REF, EXT)
- Rule 10-4, Only object type has RoleOf element (REF, EXT)
- Rule 10-5, RoleOf elements indicate the base types of a role type (REF, EXT, INS)
- Rule 10-6, Instance of RoleOf element indicates a role object (INS)
- Rule 10-7, Import of external namespace has data definition (REF, EXT)
- Rule 10-8, External adapter type has indicator (REF, EXT)
- Rule 10-9, Structure of external adapter type definition follows pattern (REF, EXT)
- Rule 10-10, Element use from external adapter type defined by external schema documents (REF, EXT)
- Rule 10-11, External adapter type not a base type (REF, EXT)
- Rule 10-12, External adapter type not a base type (SET)
- Rule 10-13, External attribute use only in external adapter type (REF)
- Rule 10-14, External attribute use has data definition (REF, EXT)
- Rule 10-15, External attribute use not an ID (SET)
- Rule 10-16, External element use has data definition (REF, EXT)
- Rule 10-17, Name of code type ends in CodeType (REF, EXT)
- Rule 10-18, Proxy type has designated structure (REF, EXT)
- Rule 10-19, Association types is derived from association type (REF, EXT)
- Rule 10-20, Association element type is an association type (REF, EXT)
- Rule 10-21, Augmentable type has augmentation point element (REF)
- Rule 10-22, Augmentable type has at most one augmentation point element (REF, EXT)
- Rule 10-23, Augmentation point corresponds to augmentable type (REF, EXT)
- Rule 10-24, An augmentation point has no type (REF, EXT)
- Rule 10-25, An augmentation point has no substitution group (REF, EXT)
- Rule 10-26, Augmentation point element may only be referenced by its type (REF, EXT)
- Rule 10-27, Augmentation point reference is optional (REF)
- Rule 10-28, Augmentation point reference is unbounded (REF)
- Rule 10-29, Augmentation point reference must be last particle (REF, EXT)
- Rule 10-30, Element within instance of augmentation type modifies base (INS)
- Rule 10-31, Only an augmentation type name ends in AugmentationType (REF, EXT)
- Rule 10-32, Schema component with name ending in AugmentationType is an augmentation type (REF, EXT)
- Rule 10-33, Type derived from augmentation type is an augmentation type (REF, EXT)
- Rule 10-34, Augmentation element type is an augmentation type (REF, EXT)
- Rule 10-35, Augmentation elements are not used directly (REF, SET)
- Rule 10-36, Metadata type has data about data (REF, EXT)
- Rule 10-37, Metadata type derived from structures:MetadataType (REF, EXT)
- Rule 10-38, Metadata types are derived from metadata types (REF, EXT)
- Rule 10-39, Metadata element declaration type is a metadata type (REF, EXT)
- Rule 10-40, Metadata element has applicable elements (REF, EXT, SET)
- Rule 10-41, Name of element that ends in Representation is abstract (REF, EXT)
- Rule 10-42, A substitution for a representation element declaration is a value for a type (REF, EXT)
- Rule 10-43, Schema component name composed of English words (REF, EXT)
- Rule 10-44, Schema component names have only specific characters (REF, EXT)
- Rule 10-45, Hyphen in component name is a separator (REF, EXT)
- Rule 10-46, Names use camel case (REF, EXT)
- Rule 10-47, Attribute name begins with lower case letter (REF, EXT)
- Rule 10-48, Name of schema component other than attribute begins with upper case letter (REF, EXT)
- Rule 10-49, Names use common abbreviations (REF, EXT)
- Rule 10-50, Local term declaration is local to its schema document (REF, EXT)
- Rule 10-51, Local terminology interpretation (REF, EXT)
- Rule 10-52, Singular form is preferred in name (REF, EXT)
- Rule 10-53, Present tense is preferred in name (REF, EXT)
- Rule 10-54, Name does not have nonessential words (REF, EXT)
- Rule 10-55, Component name follows pattern (REF, EXT)
- Rule 10-56, Object-class term identifies concrete category (REF, EXT)
- Rule 10-57, Property term describes characteristic or subpart (REF, EXT)
- Rule 10-58, Name may have multiple qualifier terms (REF, EXT)
- Rule 10-59, Name has minimum necessary number of qualifier terms (REF, EXT)
- Rule 10-60, Order of qualifies is not significant (REF, EXT)
- Rule 10-61, Redundant term in name is omitted (REF, EXT)
- Rule 10-62, Element with simple content has representation term (REF, EXT)
- Rule 10-63, Name has representation term when appropriate (REF, EXT)
- Rule 10-64, Name has representation term only when appropriate (REF, EXT)
- Rule 10-65, Machine-readable annotations are valid (REF, EXT)
- Rule 10-66, Component marked as deprecated is deprecated component (REF, EXT)
- Rule 10-67, Deprecated annotates schema component (REF, EXT)
- Rule 10-68, External import indicator annotates import (REF, EXT)
- Rule 10-69, External adapter type indicator annotates complex type (REF)
- Rule 10-70,
appinfo:appliesToTypes
annotates metadata element (REF, EXT)
- Rule 10-71,
appinfo:appliesToTypes
references types (SET)
- Rule 10-72,
appinfo:appliesToElements
annotates metadata element (REF, EXT)
- Rule 10-73,
appinfo:appliesToElements
references elements (SET)
- Rule 10-74,
term:LocalTerm
annotates schema (REF, EXT)
- Rule 10-75,
term:LocalTerm
has literal or definition (REF, EXT)
- Rule 10-76, Use structures as specified (REF, EXT, INS)
- Rule 11-1, Name of type ends in Type (REF, EXT)
- Rule 11-2, Name of type other than proxy type is in upper camel case (REF, EXT)
- Rule 11-3, Base type definition defined by conformant schema (REF, EXT)
- Rule 11-4, Name of simple type ends in SimpleType (REF, EXT)
- Rule 11-5, Name of simple type is upper camel case (REF, EXT)
- Rule 11-6, Use lists only when data is uniform (REF, EXT)
- Rule 11-7, List item type defined by conformant schemas (REF, EXT)
- Rule 11-8, Union member types defined by conformant schemas (REF, EXT)
- Rule 11-9, Name of a code simple type has standard suffix (REF, EXT)
- Rule 11-10, Code simple type has enumerations (REF, EXT)
- Rule 11-11, Complex type with simple content has
structures:SimpleObjectAttributeGroup
(REF, EXT)
- Rule 11-12, Element name is upper camel case (REF, EXT)
- Rule 11-13, Element type does not have a simple type name (REF, EXT)
- Rule 11-14, Element type is from conformant namespace (REF, EXT)
- Rule 11-15, Name of element that ends in Abstract is abstract (REF, EXT)
- Rule 11-16, Name of element declaration with simple content has representation term (REF, EXT)
- Rule 11-17, Name of element declaration with simple content has representation term (SET)
- Rule 11-18, Element substitution group defined by conformant schema (REF, EXT)
- Rule 11-19, Attribute type defined by conformant schema (REF, EXT)
- Rule 11-20, Attribute name uses representation term (REF, EXT)
- Rule 11-21, Element or attribute declaration introduced only once into a type (REF, EXT)
- Rule 11-22, Element reference defined by conformant schema (REF, EXT)
- Rule 11-23, Referenced attribute defined by conformant schemas (REF, EXT)
- Rule 11-24, Schema uses only known attribute groups (REF, EXT)
- Rule 11-25, Data definition does not introduce ambiguity (REF, EXT)
- Rule 11-26, Object class has only one meaning (REF, EXT)
- Rule 11-27, Data definition of a part does not redefine the whole (REF, EXT)
- Rule 11-28, Do not leak representation into data definition (REF, EXT)
- Rule 11-29, Data definition follows 11179-4 requirements (REF, EXT)
- Rule 11-30, Data definition follows 11179-4 recommendations (REF, EXT)
- Rule 11-31, Standard opening phrase for element (REF, EXT)
- Rule 11-32, Standard opening phrase for complex type (REF, EXT)
- Rule 11-33, Standard opening phrase for simple type (REF, EXT)
- Rule 11-34, Same namespace means same components (REF, EXT)
- Rule 11-35, Different version means different view (REF, EXT)
- Rule 11-36, Reference schema imports reference schema (SET)
- Rule 11-37, Extension schema document imports reference or extension schema (SET)
- Rule 11-38, Structures imported as conformant (REF, EXT)
- Rule 11-39, XML namespace imported as conformant (REF, EXT)
- Rule 11-40, Each namespace may have only a single root schema in a schema set (SET)
- Rule 11-41, Consistently marked namespace imports (REF, EXT)
- Rule 12-1, Instance must be schema-valid (INS)
- Rule 12-2, Element with
structures:ref
does not have content (INS)
- Rule 12-3, Attribute
structures:ref
must reference structures:id
(INS)
- Rule 12-4, Linked elements have same validation root (INS)
- Rule 12-5, Attribute
structures:ref
references element of correct type (INS)
- Rule 12-6, Reference and content elements have the same meaning (INS)
- Rule 12-7, Empty content has no meaning (INS)
- Rule 12-8, Metadata applies to referring entity (INS)
- Rule 12-9, Referent of
structures:relationshipMetadata
annotates relationship (INS)
- Rule 12-10, Values of
structures:metadata
refer to values of structures:id
(INS)
- Rule 12-11, Value of
structures:relationshipMetadata
refers to value of structures:id
(INS)
- Rule 12-12,
structures:metadata
and structures:relationshipMetadata
refer to metadata elements (INS)
- Rule 12-13, Attribute
structures:metadata
references metadata element (INS)
- Rule 12-14, Attribute
structures:relationshipMetadata
references metadata element (INS)
- Rule 12-15, Metadata is applicable to element (INS)