lexs:StructuredQuery
LEXS Structured query, stated using the LEXS Digest and Structured Payload entities by supplying field values for selected elements.
Element information
Namespace: http://usdoj.gov/leisp/lexs/3.1
Schema document: lexs/3.1/lexs.xsd
Type: lexs:StructuredQueryType
Properties: Global, Qualified
Content
- Sequence [1..1]
- lexs:DigestQueryStatement [0..*]Query statement against LEXS Digest.
- lexs:StructuredPayloadQueryStatement [0..*]Structured payload query statement
- lexs:RoleList [0..1]Lists requested role types and indicates whether the supplied role types should be included or excluded from the response.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
s:id | [0..1] | xsd:ID | The id attribute is used to define XML IDs for NIEM objects. These IDs may be targets of reference elements, metadata attributes, and link metadata attributes. | from type s:ComplexObjectType |
s:metadata | [0..1] | xsd:IDREFS | The attribute metadata allows an object to point to metadata that affects itself. | from type s:ComplexObjectType |
s:linkMetadata | [0..1] | xsd:IDREFS | The linkMetadata attribute allows an element to point to metadata that affects the relationship between the context and the value of the object. | from type s:ComplexObjectType |
Used in
- NIEM reference target from lexslib:ObjectReference
- NIEM reference target from lexslib:PayloadObjectReference
- NIEM reference target from lexslib:SameAsDigestReference
- Type lexs:StructuredSearchRequestMessageType (Element lexs:StructuredSearchRequestMessage)
Sample instance
<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>