Schema Central  >  LEXS 3.1.4  >  search-retrieve.xsd  >  lexssr:doStructuredSearchRequest
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

lexssr:doStructuredSearchRequest

 LEXS structured search request.

Element information

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

Schema document: search-retrieve/3.1/search-retrieve.xsd

Type: lexssr:doStructuredSearchRequestType

Properties: Global, Qualified

Content

Attributes

None

Sample instance

<lexssr:doStructuredSearchRequest xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
   <lexs:StructuredSearchRequestMessage>
      <lexs:SRMessageMetadata>
         <lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
         <lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
         <lexs:MessageSequenceNumber>15</lexs:MessageSequenceNumber>
         <lexs:MessageOriginMetadata>
            <lexs:SystemIdentifier>
               <lexs:ORI>FF1234567</lexs:ORI>
               <nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
               <lexs:SystemID>SysF</lexs:SystemID>
            </lexs:SystemIdentifier>
            <lexs:SystemContact>
               <nc:PersonGivenName>Bob</nc:PersonGivenName>
               <nc:PersonSurName>Jones</nc:PersonSurName>
               <nc:ContactTelephoneNumber>
                  <nc:FullTelephoneNumber>
                     <nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
                  </nc:FullTelephoneNumber>
               </nc:ContactTelephoneNumber>
            </lexs:SystemContact>
         </lexs:MessageOriginMetadata>
         <lexs:MessageDestinationIdentifier>
            <lexs:ORI>EE1234567</lexs:ORI>
            <nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
            <lexs:SystemID>SysE</lexs:SystemID>
         </lexs:MessageDestinationIdentifier>
      </lexs:SRMessageMetadata>
      <lexs:UserAssertion>
         <lexs:UserID>PESMITH2</lexs:UserID>
         <nc:PersonGivenName>Priscilla</nc:PersonGivenName>
         <nc:PersonSurName>Smith</nc:PersonSurName>
         <nc:ContactTelephoneNumber>
            <nc:NANPTelephoneNumber>
               <nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
               <nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
               <nc:TelephoneLineID>3333</nc:TelephoneLineID>
            </nc:NANPTelephoneNumber>
         </nc:ContactTelephoneNumber>
         <nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
         <lexs:ORI>FF1234567</lexs:ORI>
      </lexs:UserAssertion>
      <lexs:SearchRequestMetadata>
         <lexs:RequestedData>Person</lexs:RequestedData>
         <lexs:DataOwnerIdentifier>
            <lexs:OriginatingAgencyID>AA1234567</lexs:OriginatingAgencyID>
            <nc:OrganizationName>Hypothetical Agency A</nc:OrganizationName>
            <lexs:SystemID>SysA</lexs:SystemID>
         </lexs:DataOwnerIdentifier>
         <lexs:DataOwnerIdentifier>
            <lexs:OriginatingAgencyID>DD1234567</lexs:OriginatingAgencyID>
            <nc:OrganizationName>Hypothetical Agency D</nc:OrganizationName>
            <lexs:SystemID>SysD</lexs:SystemID>
         </lexs:DataOwnerIdentifier>
         <lexs:MaxItemMatches>10</lexs:MaxItemMatches>
         <lexs:DataItemCategoryText>Incident</lexs:DataItemCategoryText>
         <lexs:DataItemCategoryText>Arrest</lexs:DataItemCategoryText>
         <lexs:SortOrder>Date</lexs:SortOrder>
         <lexs:TimeoutDuration>PT60S</lexs:TimeoutDuration>
         <lexs:NumberOfStructuredPayloadTerms>
            <lexs:CommunityURI>http://somewhere.gov/new-community</lexs:CommunityURI>
            <lexs:NumberOfTerms>1</lexs:NumberOfTerms>
         </lexs:NumberOfStructuredPayloadTerms>
         <lexs:StructuredPayloadsRequestedList>
            <lexs:StructuredPayloadMetadata>
               <lexs:CommunityURI>http://somewhere.gov/new-community</lexs:CommunityURI>
               <lexs:CommunityVersion>1.0</lexs:CommunityVersion>
            </lexs:StructuredPayloadMetadata>
         </lexs:StructuredPayloadsRequestedList>
      </lexs:SearchRequestMetadata>
      <lexs:StructuredQuery>
         <lexs:DigestQueryStatement>
            <lexs:DigestQueryField>
               <lexsdigest:EntityPerson>
                  <lexsdigest:Person>
                     <nc:PersonName>
                        <nc:PersonSurName>Jones</nc:PersonSurName>
                     </nc:PersonName>
                  </lexsdigest:Person>
               </lexsdigest:EntityPerson>
            </lexs:DigestQueryField>
            <lexs:QueryMatch>exact</lexs:QueryMatch>
         </lexs:DigestQueryStatement>
         <lexs:DigestQueryStatement>
            <lexs:DigestQueryField>
               <lexsdigest:EntityPerson>
                  <lexsdigest:Person>
                     <nc:PersonName>
                        <nc:PersonGivenName>Tommy</nc:PersonGivenName>
                     </nc:PersonName>
                  </lexsdigest:Person>
               </lexsdigest:EntityPerson>
            </lexs:DigestQueryField>
            <lexs:QueryMatch>exact</lexs:QueryMatch>
         </lexs:DigestQueryStatement>
         <lexs:StructuredPayloadQueryStatement>
            <lexs:StructuredPayloadMetadata>
               <lexs:CommunityURI>http://somewhere.gov/new-community</lexs:CommunityURI>
               <lexs:CommunityVersion>1.0</lexs:CommunityVersion>
            </lexs:StructuredPayloadMetadata>
            <lexs:StructuredPayloadQueryField>
               <new:Person>
                  <nc:PersonHairStyleText>strawberry blond</nc:PersonHairStyleText>
               </new:Person>
            </lexs:StructuredPayloadQueryField>
            <lexs:QueryMatch>exact</lexs:QueryMatch>
         </lexs:StructuredPayloadQueryStatement>
         <lexs:RoleList>
            <lexs:RoleInclusiveIndicator>true</lexs:RoleInclusiveIndicator>
            <lexs:RoleType>SubjectType</lexs:RoleType>
            <lexs:RoleType>RegisteredOffenderType</lexs:RoleType>
         </lexs:RoleList>
      </lexs:StructuredQuery>
   </lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>