NIEM Examples - Charge Code Transactions (CCQ/CCR)
Charge Code NIEM Specifications
This section provides NIEM format and examples for Charge Code Transaction (CCQ/CCR).
All Nlets NIEM messages must be based on the Nlets NIEM Message Structure and include the standard Nlets XML Header as detailed in Message Structure. The NIEM header and hierarchy of the elements in this section have been omitted to avoid redundancy. The associated schemas and instances should be consulted to determine the correct XPaths of the elements.
Element Dictionary
Transaction types detailed below include: Charge Code Query (CCQ) and Charge Code Response (CCR).
Query Format
Charge Code Query (CCQ)
Inquiry Data (n:NLETSInquiryData)
This element will contain all elements specific to this transaction.
Statute (j6:Statute)
A unique identifier of a law, rule, or ordinance within a jurisdiction.
queried.
Statute Code (j6:StatuteCodeIdentification)
An identification number of a set of laws for a particular jurisdiction.
The value for query should be in the stub-element nc:IdentificationID
Statute State (j6:StatuteOffenseStateCodeText)
The two-character state of the statute.
Response Formats
Charge Code Response (CCR)
Matches for Statute (n2:StatuteMatches)
Statute (j6:Statute)
A unique identifier of a law, rule, or ordinance within a jurisdiction.
Statute Code (j6:StatuteCodeIdentification)
An identification number of a set of laws for a particular jurisdiction.
The value for query should be in the stub-element nc:IdentificationID
Enacted Date (j6:StatuteEnactmentDate)
A date a statute was enacted and came into effect.
The value will be in the sub-element nc:Date
Repealed Date (j6:StatuteRepealDate)
A date a statute was repealed and no longer applied.
The value will be in the sub-element nc:Date
Statute Literal (j6:StatuteText)
A full text of a statute or law.
Statute State (j6:StatuteOffenseStateCodeText)
The two-character state of the statute.
Statute Augmentation (n2:StatuteAugmentation)
Additional information about the statute
Equivalence (n2:StatuteEquivalence)
Equivalent data for the identified statute
NCIC Code (j6:ChargeNCICCode)
An offense within the National Crime Information Center (NCIC) system.
NIBRS Code(n2:NIBRSCode)
NIBRS Code
Charge Code NIEM Example
Example 1: Charge Code query.
<n2:NLETS xmlns:i="http://niem.gov/niem/appinfo/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0"
xmlns:nc4="http://release.niem.gov/niem/niem-core/4.0/" xmlns:nh2="http://www.nlets.org/niem/nlets-hdr/1.0"
xmlns:niem-xsd="http://niem.gov/niem/proxy/xsd/2.0" xmlns:s="http://niem.gov/niem/structures/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" n2:version="4.00"
xmlns:j5="http://release.niem.gov/niem/domains/jxdm/5.0/" xmlns:j6="http://release.niem.gov/niem/domains/jxdm/6.1/"
xmlns:ct="http://release.niem.gov/niem/conformanceTargets/3.0/" xmlns:structures="http://release.niem.gov/niem/structures/3.0/"
xmlns:n2="http://www.nlets.org/niem/1.0">
<n2:NLETSMessageHeader>
<nh2:MessageKeyCodeText>CCQ</nh2:MessageKeyCodeText>
<nh2:OriginatingORIID>AZNLETS20</nh2:OriginatingORIID>
<nh2:DestinationORIID>NL</nh2:DestinationORIID>
</n2:NLETSMessageHeader>
<n2:NLETSInquiryData n2:key="CCQ">
<j6:Statute>
<j6:StatuteCodeIdentification>
<nc4:IdentificationID>13-2317</nc4:IdentificationID>
</j6:StatuteCodeIdentification>
<j6:StatuteOffenseStateCodeText>AZ</j6:StatuteOffenseStateCodeText>
</j6:Statute>
</n2:NLETSInquiryData>
</n2:NLETS>
Example 2: Charge Code Response.
<n2:NLETS xmlns:i="http://niem.gov/niem/appinfo/2.0" xmlns:nc4="http://release.niem.gov/niem/niem-core/4.0/"
xmlns:nh2="http://www.nlets.org/niem/nlets-hdr/1.0" xmlns:niem-xsd="http://niem.gov/niem/proxy/xsd/2.0"
xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" n2:version="4.00"
xmlns:j5="http://release.niem.gov/niem/domains/jxdm/5.0/" xmlns:ct="http://release.niem.gov/niem/conformanceTargets/3.0/"
xmlns:nc="http://release.niem.gov/niem/niem-core/4.0/" xmlns:j6="http://release.niem.gov/niem/domains/jxdm/6.1/"
xmlns:structures="http://release.niem.gov/niem/structures/3.0/"
xmlns:n2="http://www.nlets.org/niem/1.0">
<n2:NLETSMessageHeader>
<nh2:MessageKeyCodeText>CCR</nh2:MessageKeyCodeText>
<nh2:OriginatingORIID>NL00000000</nh2:OriginatingORIID>
<nh2:DestinationORIID>AZNLETS20</nh2:DestinationORIID>
<nh2:DocumentControlFieldText><![CDATA[CONTROL123]]></nh2:DocumentControlFieldText>
<nh2:MessageReceiveDate>07/28/2019</nh2:MessageReceiveDate>
<nh2:MessageReceiveTime>08:51</nh2:MessageReceiveTime>
<nh2:MessageSendDate>07/28/2019</nh2:MessageSendDate>
<nh2:MessageSendTime>08:51</nh2:MessageSendTime>
<nh2:ReceiveMessageNumeric>00014</nh2:ReceiveMessageNumeric>
<nh2:SendMessageNumeric>00010</nh2:SendMessageNumeric>
</n2:NLETSMessageHeader>
<n2:NLETSInquiryData n2:key="CCQ">
<j6:Statute>
<j6:StatuteCodeIdentification>
<nc:IdentificationID >13-5-542</nc:IdentificationID>
</j6:StatuteCodeIdentification>
<j6:StatuteOffenseStateCodeText>AZ</j6:StatuteOffenseStateCodeText>
</j6:Statute>
</n2:NLETSInquiryData>
<n2:NLETSResponseData n2:key="CCR">
<n2:StatuteMatches>
<j6:Statute >
<j6:StatuteCodeIdentification>
<nc:IdentificationID>13-5-542</nc:IdentificationID>
</j6:StatuteCodeIdentification>
<j6:StatuteEnactmentDate>
<nc:Date>1900-01-01</nc:Date>
</j6:StatuteEnactmentDate>
<j6:StatuteRepealDate>
<nc:Date >2017-08-13</nc:Date>
</j6:StatuteRepealDate>
<j6:StatuteText>ASSAULT</j6:StatuteText>
<j6:StatuteOffenseStateCodeText>AZ</j6:StatuteOffenseStateCodeText>
<n2:StatuteAugmentation>
<n2:StatuteEquivalence>
<j6:ChargeNCICCode>2307</j6:ChargeNCICCode>
<n2:NIBRSCode>36A</n2:NIBRSCode>
</n2:StatuteEquivalence>
</n2:StatuteAugmentation>
</j6:Statute>
</n2:StatuteMatches>
</n2:NLETSResponseData>
</n2:NLETS>