lexs:SortOrder
This indicates to the service provider what set of hits, most recent or most relevant, should be returned if there are more hits than can be returned in a single response. The responding system determines what is most relevant.
Element information
Namespace: http://usdoj.gov/leisp/lexs/3.1
Schema document: lexs/3.1/lexs.xsd
Type: lexscodes:SortOrderCodeType
Properties: Global, Qualified
Content
- Type based on xsd:token
Valid value Description Date Return most recent data first. Relevance Return most relevant data first.
from type lexscodes:SortOrderCodeSimpleType
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 group s:SimpleObjectAttributeGroup |
s:metadata | [0..1] | xsd:IDREFS | The attribute metadata allows an object to point to metadata that affects itself. | from group s:SimpleObjectAttributeGroup |
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 group s:SimpleObjectAttributeGroup |
Used in
- Type lexs:SearchRequestMetadataType (Element lexs:SearchRequestMetadata)
Sample instance
<lexs:SortOrder>Relevance</lexs:SortOrder>