Variable | Description | Usage | NDR Reference |
---|---|---|---|
{$Prefix} |
The namespace prefix for the namespace for this schema | Required | |
{$OtherSchemaURI} |
Uniform Resource Identifier (URI) of a namespace used by this schema | Required | |
{$DefaultSchemaURI} |
Uniform Resource Identifier (URI) of the default namespace used by this schema | Required | |
{$ThisSchemaURI} |
Uniform Resource Identifier (URI) of the namespace for this schema | Required | Rule 9-82 Schema has target namespace
Rule 9-83 Target namespace is absolute URI |
{$Version} |
The version of this schema | Required | Rule 9-84 Schema has version |
{$Definition} |
The description of the schema | Required | Rule 9-81 Schema has data definition |
{$Term} |
An acronym or abbreviation used in this schema | ||
{$TermLiteral} |
The full value of an acronym or abbreviation used in this schema | Rule 10-75 Local term has literal or definition | |
{$ImportURI} |
Uniform Resource Identifier (URI) of the schema namespace to import | Required | NDR Section 7.2 Conformance to XML Namespaces
Rule 9-89 Import must have namespace attribute |
{$ImportRelativeSchemaPath} |
Path to the schema file, relative to the location of the current schema within the Information Exchange Specification (IES) directory structure. | Required |
<?xml version="1.0" encoding="US-ASCII"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nc="http://release.niem.gov/niem/niem-core/3.0/"
xmlns:appinfo="http://release.niem.gov/niem/appinfo/3.0/"
xmlns:structures="http://release.niem.gov/niem/structures/3.0/"
xmlns:ct="http://release.niem.gov/niem/conformanceTargets/3.0/"
xmlns:term="http://release.niem.gov/niem/localTerminology/3.0/"
xmlns:{$Prefix}="{$OtherSchemaURI}"
xmlns="{$DefaultSchemaURI}"
targetNamespace="{$ThisSchemaURI}"
version="{$Version}"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://release.niem.gov/niem/appinfo/3.0/ ../../appinfo/3.0/appinfo.xsd
http://release.niem.gov/niem/conformanceTargets/3.0/ ../../conformanceTargets/3.0/conformanceTargets.xsd
http://release.niem.gov/niem/localTerminology/3.0/ ../../localTerminology/3.0/localTerminology.xsd"
ct:conformanceTargets="http://reference.niem.gov/niem/specification/naming-and-design-rules/3.0/#ExtensionSchemaDocument"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation>{$Definition}</xs:documentation>
<xs:appinfo>
<term:LocalTerm term="{$Term}" literal="{$TermLiteral}"/>
</xs:appinfo>
</xs:annotation>
<xs:import schemaLocation="{$ImportRelativeSchemaPath}" namespace="{$ImportURI}"/>
<!-- ******** Schema components ******** -->
</xs:schema>