Schema Central  >  LEXS 3.1.4  >  lexs.xsd  >  lexs:PublishMessage
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

lexs:PublishMessage

Publish Mesage. Encapsulates PublishDiscoverMessageMetadata element describing the message and a message from a given Service Provider.

Element information

Namespace: http://usdoj.gov/leisp/lexs/3.1

Schema document: lexs/3.1/lexs.xsd

Type: lexs:PublishMessageType

Properties: Global, Qualified

Content

  • Sequence [1..1]
    1. lexs:PDMessageMetadata [1..1]Metadata for LEXS Publish Mesage
    2. lexs:DataSubmitterMetadata [1..1]Describes and uniquely uniqely identifies system that submitted data.
    3. Choice [1..*]
      • lexs:AttachmentLEXS Attachment. Contains binary for the attachment and describes details about attachment. Attachment is uniquely identified by an AttachmentURI.
      • lexs:DataItemPackagePackaging for a single Data Item. DataItemPackage is contained in a PublishMessage as part of a doPublish request, and in a DataItemResponseMessage as part of a getDataItemResponse response.

Attributes

None

Used in

Sample instance

<lexs:PublishMessage>
   <lexs:PDMessageMetadata>
      <lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
      <lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
      <lexs:MessageSequenceNumber>1</lexs:MessageSequenceNumber>
      <lexs:DataSensitivity>SBU</lexs:DataSensitivity>
      <lexs:DomainAttribute>
         <lexs:AttributeName>RegionInfo</lexs:AttributeName>
         <lexs:AttributeValue>SEA</lexs:AttributeValue>
         <lexs:Domain>R-DEx</lexs:Domain>
      </lexs:DomainAttribute>
      <lexs:DomainAttribute>
         <lexs:AttributeName>CaseType</lexs:AttributeName>
         <lexs:AttributeValue>WEAPON-TRAFFICKING</lexs:AttributeValue>
         <lexs:Domain>ATF</lexs:Domain>
      </lexs:DomainAttribute>
   </lexs:PDMessageMetadata>
   <lexs:DataSubmitterMetadata>
      <lexs:SystemIdentifier>
         <nc:OrganizationName>Hypothetical Organization C</nc:OrganizationName>
         <lexs:SystemID>SysC</lexs:SystemID>
      </lexs:SystemIdentifier>
      <lexs:SystemContact>
         <nc:PersonGivenName>Michael</nc:PersonGivenName>
         <nc:PersonSurName>Park</nc:PersonSurName>
         <nc:ContactTelephoneNumber>
            <nc:NANPTelephoneNumber>
               <nc:TelephoneAreaCodeID>202</nc:TelephoneAreaCodeID>
               <nc:TelephoneExchangeID>555</nc:TelephoneExchangeID>
               <nc:TelephoneLineID>1212</nc:TelephoneLineID>
            </nc:NANPTelephoneNumber>
         </nc:ContactTelephoneNumber>
      </lexs:SystemContact>
   </lexs:DataSubmitterMetadata>
   <lexs:DataItemPackage>
      <lexs:PackageMetadata>
         <lexs:DataItemID>12345678</lexs:DataItemID>
         <lexs:DataItemCompleteIndicator>false</lexs:DataItemCompleteIndicator>
         <lexs:DataItemContact>
            <nc:PersonSurName>Smith</nc:PersonSurName>
            <nc:PersonFullName>Mary Jones-Smith</nc:PersonFullName>
            <nc:ContactTelephoneNumber>
               <nc:FullTelephoneNumber>
                  <nc:TelephoneNumberFullID>333-444-5555 x6</nc:TelephoneNumberFullID>
               </nc:FullTelephoneNumber>
            </nc:ContactTelephoneNumber>
         </lexs:DataItemContact>
         <lexs:DataItemDate>1967-08-13</lexs:DataItemDate>
         <lexs:DataItemReferenceID>12345678</lexs:DataItemReferenceID>
         <lexs:DataItemPublishInstruction>Insert</lexs:DataItemPublishInstruction>
         <lexs:DataItemStatus>Valid</lexs:DataItemStatus>
         <lexs:DataOwnerMetadata>
            <lexs:DataOwnerIdentifier>
               <lexs:OriginatingAgencyID>AA1234567</lexs:OriginatingAgencyID>
               <nc:OrganizationName>Hypothetical Agency A</nc:OrganizationName>
               <lexs:SystemID>SysA</lexs:SystemID>
            </lexs:DataOwnerIdentifier>
            <lexs:DataOwnerContact>
               <nc:PersonGivenName>Will</nc:PersonGivenName>
               <nc:PersonSurName>Jones</nc:PersonSurName>
               <nc:ContactTelephoneNumber>
                  <nc:FullTelephoneNumber>
                     <nc:TelephoneNumberFullID>111-222-3333</nc:TelephoneNumberFullID>
                  </nc:FullTelephoneNumber>
               </nc:ContactTelephoneNumber>
            </lexs:DataOwnerContact>
         </lexs:DataOwnerMetadata>
         <lexs:DisseminationCriteria>white</lexs:DisseminationCriteria>
      </lexs:PackageMetadata>
      <lexs:Digest>
         <lexsdigest:EntityActivity>
            <nc:Activity s:id="Incident1">
               <nc:ActivityIdentification>
                  <nc:IdentificationID>Inc123456</nc:IdentificationID>
               </nc:ActivityIdentification>
               <nc:ActivityCategoryText>Incident</nc:ActivityCategoryText>
               <nc:ActivityDate>
                  <nc:DateTime>2000-08-23T14:31:00</nc:DateTime>
               </nc:ActivityDate>
               <nc:ActivityDescriptionText>The intoxicated subject became angry about a parking space. After shouting profanities, he struck the victim and proceeded to puncture the tires of the victim's vehicle.</nc:ActivityDescriptionText>
            </nc:Activity>
         </lexsdigest:EntityActivity>
         <lexsdigest:EntityPerson>
            <lexsdigest:Metadata s:id="MSub2">
               <nc:SourceIDText>Per12348</nc:SourceIDText>
            </lexsdigest:Metadata>
            <lexsdigest:Person s:id="Sub2" s:metadata="MSub2">
               <nc:PersonAgeMeasure>
                  <nc:MeasurePointValue>29</nc:MeasurePointValue>
                  <nc:TimeUnitCode>ANN</nc:TimeUnitCode>
               </nc:PersonAgeMeasure>
               <nc:PersonEyeColorCode>BLU</nc:PersonEyeColorCode>
               <nc:PersonHairColorCode>BRO</nc:PersonHairColorCode>
               <nc:PersonHeightMeasure>
                  <nc:MeasurePointValue>68</nc:MeasurePointValue>
                  <nc:LengthUnitCode>INH</nc:LengthUnitCode>
               </nc:PersonHeightMeasure>
               <nc:PersonName>
                  <nc:PersonGivenName>Tommy</nc:PersonGivenName>
                  <nc:PersonMiddleName>Lee</nc:PersonMiddleName>
                  <nc:PersonSurName>Jones</nc:PersonSurName>
               </nc:PersonName>
               <nc:PersonRaceText>White</nc:PersonRaceText>
               <nc:PersonSexCode>M</nc:PersonSexCode>
               <nc:PersonSSNIdentification>
                  <nc:IdentificationID>555443333</nc:IdentificationID>
               </nc:PersonSSNIdentification>
               <nc:PersonWeightMeasure>
                  <nc:MeasurePointValue>160</nc:MeasurePointValue>
                  <nc:WeightUnitCode>LBR</nc:WeightUnitCode>
               </nc:PersonWeightMeasure>
            </lexsdigest:Person>
            <j:IncidentSubject>
               <nc:RoleOfPersonReference s:ref="Sub2"/>
            </j:IncidentSubject>
         </lexsdigest:EntityPerson>
         <lexsdigest:Associations>
            <nc:ActivityInvolvedPersonAssociation>
               <nc:ActivityReference s:ref="Incident1"/>
               <nc:PersonReference s:ref="Sub2"/>
               <nc:PersonActivityInvolvementText>Incident Subject</nc:PersonActivityInvolvementText>
            </nc:ActivityInvolvedPersonAssociation>
         </lexsdigest:Associations>
      </lexs:Digest>
      <lexs:StructuredPayload>
         <lexs:StructuredPayloadMetadata>
            <lexs:CommunityURI>http://somewhere.gov/new-community</lexs:CommunityURI>
            <lexs:CommunityDescription>New Community</lexs:CommunityDescription>
            <lexs:CommunityVersion>1.0</lexs:CommunityVersion>
         </lexs:StructuredPayloadMetadata>
         <new:IncidentReport>
            <new:Person>
               <nc:PersonHairStyleText>strawberry blond</nc:PersonHairStyleText>
               <lexslib:SameAsDigestReference lexslib:ref="Sub2"/>
            </new:Person>
            <j:Incident>
               <j:IncidentArrestMadeIndicator>true</j:IncidentArrestMadeIndicator>
               <lexslib:SameAsDigestReference lexslib:ref="Incident1"/>
            </j:Incident>
         </new:IncidentReport>
      </lexs:StructuredPayload>
      <lexs:AttachmentLink s:id="PAttachment2">
         <lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/XMLViewer.xsl</lexs:AttachmentURI>
         <lexs:AttachmentViewableIndicator>false</lexs:AttachmentViewableIndicator>
         <nc:BinaryDescriptionText>XML Stylesheet for pretty-printing any XML content</nc:BinaryDescriptionText>
      </lexs:AttachmentLink>
      <lexs:RenderingInstructions>
         <lexs:RenderingMethod>HTMLStyleSheet</lexs:RenderingMethod>
         <lexs:RenderingReference s:ref="PAttachment2"/>
         <lexs:RenderingDescription>Pretty prints a message</lexs:RenderingDescription>
      </lexs:RenderingInstructions>
   </lexs:DataItemPackage>
   <lexs:Attachment>
      <lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/XMLViewer.xsl</lexs:AttachmentURI>
      <nc:Binary>
         <nc:BinaryBase64Object>PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8IS0tDQogICAgRG9jdW1lbnQgICA6ICRJZDoganhkbXZpZXcueHNsLHYgMS4yIDIwMDQvMDYvMTYgMjE6Mjk6NTYgc2hyb20gRXhwICQNCiAgICBEZXNjcmlwdGlvbjogR2VuZXJpYyBzdHlsZXNoZWV0IGFueSBYTUwgZGF0YSBmaWxlLiBTdHlsZXNoZWV0IGlkZWEgaXMgYmFzZWQgb24gdGhlIGFydGljbGUgYnkgQ3JhaWcgQmVycnkgaW4gWE1MSm91cm5hbCANCgkJCQkJCVVzZXMgQVNDSUkgY2hhcmFjdGVycyByYXRoZXIgdGhhbiBHSUYgaW1hZ2VzIHNvIGV4dGVybmFsIGZpbGVzIGFyZSBub3QgbmVlZGVkLCBhbmQgdG8gc3BlZWQgcHJvY2Vzc2luZw0KLS0+DQo8eHNsOnN0eWxlc2hlZXQgdmVyc2lvbj0iMS4wIg0KICB4bWxuczp4c2w9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvWFNML1RyYW5zZm9ybSI+DQoNCiAgPHhzbDpvdXRwdXQNCiAgICBtZXRob2Q9Imh0bWwiDQogICAgZW5jb2Rpbmc9IlVURi04Ig0KICAgIGluZGVudD0ieWVzIg0KICAgIHZlcnNpb249IjEuMCINCiAgICBvbWl0LXhtbC1kZWNsYXJhdGlvbj0ieWVzIg0KICAgIG1lZGlhLXR5cGU9InRleHQvaHRtbCINCiAgICBzdGFuZGFsb25lPSJ5ZXMiLz4NCg0KICA8eHNsOnRlbXBsYXRlIG1hdGNoPSIvY2hpbGQ6OipbMV0iPg0KICAgIDxodG1sPg0KICAgICAgPGhlYWQ+DQogICAgICAgIDx0aXRsZT5EYXRhIFZpZXc8L3RpdGxlPg0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TAyOyZhbXA7bmJzcDs8L3hzbDp0ZXh0Pg0KICAgICAgPC94c2w6d2hlbj4NCiAgICAgIDx4c2w6b3RoZXJ3aXNlPg0KICAgICAgICA8eHNsOnRleHQgZGlzYWJsZS1vdXRwdXQtZXNjYXBpbmc9InllcyI+JmFtcDtuYnNwOyZhbXA7bmJzcDsmYW1wO25ic3A7JiN4MjIxOTsmYW1wO25ic3A7PC94c2w6dGV4dD4NCiAgICAgIDwveHNsOm90aGVyd2lzZT4NCiAgICA8L3hzbDpjaG9vc2U+DQogIDwveHNsOnRlbXBsYXRlPg0KDQo8L3hzbDpzdHlsZXNoZWV0Pg==</nc:BinaryBase64Object>
         <nc:BinaryDescriptionText>XML Stylesheet for pretty-printing any XML content</nc:BinaryDescriptionText>
         <nc:BinaryFormatID>application/xml+xslt</nc:BinaryFormatID>
         <nc:BinaryFormatStandardName>MIME</nc:BinaryFormatStandardName>
         <nc:BinaryCategoryText>Stylesheet</nc:BinaryCategoryText>
      </nc:Binary>
   </lexs:Attachment>
</lexs:PublishMessage>