Skip to content

Commit

Permalink
NIEM 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
webb committed Apr 26, 2017
1 parent 42f64d8 commit ffa6c68
Show file tree
Hide file tree
Showing 61 changed files with 94,099 additions and 33,824 deletions.
5,169 changes: 5,169 additions & 0 deletions niem/ansi-nist/2.0/ansi-nist.xsd

Large diffs are not rendered by default.

329 changes: 147 additions & 182 deletions niem/ansi_d20/1.0/ansi_d20.xsd → niem/ansi_d20/2.0/ansi_d20.xsd

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions niem/apco/1.0/apco.xsd → niem/apco/2.0/apco.xsd
@@ -1,31 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://niem.gov/niem/apco/1.0" version="1" xmlns:i="http://niem.gov/niem/appinfo/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s="http://niem.gov/niem/structures/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:apco="http://niem.gov/niem/apco/1.0">
<xsd:schema targetNamespace="http://niem.gov/niem/apco/2.0" version="1" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:apco="http://niem.gov/niem/apco/2.0" xmlns:i="http://niem.gov/niem/appinfo/2.0">
<xsd:annotation>
<xsd:documentation>The Association of Public-Safety Communications Officials (APCO) - International, Inc</xsd:documentation>
<xsd:documentation>Association of Public-Safety Communications Officials (APCO) - International, Inc.</xsd:documentation>
<xsd:appinfo>
<i:ConformantIndicator>true</i:ConformantIndicator>
</xsd:appinfo>
</xsd:annotation>
<xsd:import schemaLocation="../../structures/1.0/structures.xsd" namespace="http://niem.gov/niem/structures/1.0"/>
<xsd:import namespace="http://niem.gov/niem/appinfo/1.0" schemaLocation="../../appinfo/1.0/appinfo.xsd"/>
<xsd:complexType name="AlarmEventCategoryCodeType">
<xsd:annotation>
<xsd:documentation>A code set enumerating types of alarm event.</xsd:documentation>
<xsd:appinfo>
<i:Base i:namespace="http://niem.gov/niem/structures/1.0" i:name="Object"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="apco:AlarmEventCategorySimpleCodeType">
<xsd:attributeGroup ref="s:SimpleObjectAttributeGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="AlarmEventCategorySimpleCodeType">
<xsd:import schemaLocation="../../structures/2.0/structures.xsd" namespace="http://niem.gov/niem/structures/2.0"/>
<xsd:import schemaLocation="../../appinfo/2.0/appinfo.xsd" namespace="http://niem.gov/niem/appinfo/2.0"/>
<xsd:simpleType name="AlarmEventCategoryCodeSimpleType">
<xsd:annotation>
<xsd:documentation>A code set enumerating types of alarm event.</xsd:documentation>
<xsd:documentation>A data type for kinds of alarm events.</xsd:documentation>
<xsd:appinfo>
<i:Base i:namespace="http://niem.gov/niem/structures/1.0" i:name="Object"/>
<i:Base i:namespace="http://niem.gov/niem/structures/2.0" i:name="Object"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:token">
Expand Down Expand Up @@ -56,54 +43,67 @@
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AlarmEventLocationCategoryCodeType">
<xsd:complexType name="AlarmEventCategoryCodeType">
<xsd:annotation>
<xsd:documentation>A code set enumerating the kinds of location at which an alarm event occurs.</xsd:documentation>
<xsd:documentation>A data type for kinds of alarm events.</xsd:documentation>
<xsd:appinfo>
<i:Base i:namespace="http://niem.gov/niem/structures/1.0" i:name="Object"/>
<i:Base i:namespace="http://niem.gov/niem/structures/2.0" i:name="Object"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="apco:AlarmEventLocationCategorySimpleCodeType">
<xsd:extension base="apco:AlarmEventCategoryCodeSimpleType">
<xsd:attributeGroup ref="s:SimpleObjectAttributeGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="AlarmEventLocationCategorySimpleCodeType">
<xsd:simpleType name="AlarmEventLocationCategoryCodeSimpleType">
<xsd:annotation>
<xsd:documentation>A code set enumerating the kinds of location at which an alarm event occurs.</xsd:documentation>
<xsd:documentation>A data type for the kinds of location at which an alarm event occurs.</xsd:documentation>
<xsd:appinfo>
<i:Base i:namespace="http://niem.gov/niem/structures/1.0" i:name="Object"/>
<i:Base i:namespace="http://niem.gov/niem/structures/2.0" i:name="Object"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="commercial"/>
<xsd:enumeration value="residential"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AlarmEventResponseActionCodeType">
<xsd:complexType name="AlarmEventLocationCategoryCodeType">
<xsd:annotation>
<xsd:documentation>A code set enumerating actions requested of an alarm event responder.</xsd:documentation>
<xsd:documentation>A data type for the kinds of location at which an alarm event occurs.</xsd:documentation>
<xsd:appinfo>
<i:Base i:namespace="http://niem.gov/niem/structures/1.0" i:name="Object"/>
<i:Base i:namespace="http://niem.gov/niem/structures/2.0" i:name="Object"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="apco:AlarmEventResponseActionSimpleCodeType">
<xsd:extension base="apco:AlarmEventLocationCategoryCodeSimpleType">
<xsd:attributeGroup ref="s:SimpleObjectAttributeGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="AlarmEventResponseActionSimpleCodeType">
<xsd:simpleType name="AlarmEventResponseActionCodeSimpleType">
<xsd:annotation>
<xsd:documentation>A code set enumerating actions requested of an alarm event responder.</xsd:documentation>
<xsd:documentation>A data type for actions requested of an alarm event responder.</xsd:documentation>
<xsd:appinfo>
<i:Base i:namespace="http://niem.gov/niem/structures/1.0" i:name="Object"/>
<i:Base i:namespace="http://niem.gov/niem/structures/2.0" i:name="Object"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="notify"/>
<xsd:enumeration value="respond"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AlarmEventResponseActionCodeType">
<xsd:annotation>
<xsd:documentation>A data type for actions requested of an alarm event responder.</xsd:documentation>
<xsd:appinfo>
<i:Base i:namespace="http://niem.gov/niem/structures/2.0" i:name="Object"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="apco:AlarmEventResponseActionCodeSimpleType">
<xsd:attributeGroup ref="s:SimpleObjectAttributeGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>
54 changes: 0 additions & 54 deletions niem/appinfo/1.0/appinfo.xsd

This file was deleted.

94 changes: 94 additions & 0 deletions niem/appinfo/2.0/appinfo.xsd
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:i="http://niem.gov/niem/appinfo/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" targetNamespace="http://niem.gov/niem/appinfo/2.0" attributeFormDefault="qualified" version="1">
<xsd:annotation>
<xsd:documentation>The appinfo schema provides support for high level
data model concepts and additional syntax to support the NIEM
conceptual model and validation of NIEM-conformant
instances.</xsd:documentation>
</xsd:annotation>
<xsd:element name="Resource">
<xsd:annotation>
<xsd:documentation>The Resource element provides a method for
application information to define a name within a schema, without the
name being bound to a schema component. This is used by the
structures schema to define names for structures:Object and
structures:Association.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="name" type="xsd:NCName" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="Deprecated">
<xsd:annotation>
<xsd:documentation>The Deprecated element provides a method for
identifying components as being deprecated. A deprecated component is
one which is provided, but whose use is not
recommended.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="value" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:boolean">
<xsd:pattern value="true"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="Base">
<xsd:annotation>
<xsd:documentation>The Base element provides a mechanism for
indicating base types and base elements in schema, for the cases in
which XML Schema mechanisms are insufficient. For example, it is used
to indicate Object or Association bases.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="name" type="xsd:NCName" use="required"/>
<xsd:attribute name="namespace" type="xsd:anyURI" use="optional"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="ReferenceTarget">
<xsd:annotation>
<xsd:documentation>The ReferenceTarget element indicates a NIEM type
which may be a target (that is, a destination) of a NIEM reference
element. It may be used in combinations to indicate a set of valid
types.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="name" type="xsd:NCName" use="required"/>
<xsd:attribute name="namespace" type="xsd:anyURI" use="optional"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="AppliesTo">
<xsd:annotation>
<xsd:documentation>The AppliesTo element is used in two ways. First,
it indicates the set of types to which a metadata type may be
applied. Second, it indicates the set of types to which an
augmentation element may be applied.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="name" type="xsd:NCName" use="required"/>
<xsd:attribute name="namespace" type="xsd:anyURI" use="optional"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="ConformantIndicator" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>The ConformantIndicator element may be used in two
ways. First, it is included as application information for a schema
document element to indicate that the schema is NIEM-conformant.
Second, it is used as application information of a namespace import
to indicate that the schema is not
NIEM-conformant.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ExternalAdapterTypeIndicator" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>The ExternalAdapterTypeIndicator element indicates
that a complex type is an external adapter type. Such a type is one
that is composed of elements and attributes from non-NIEM-conformant
schemas. The indicator allows schema processors to switch to
alternative processing modes when processing NIEM-conformant versus
non-NIEM-conformant content.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>

0 comments on commit ffa6c68

Please sign in to comment.