Raw schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "search terms"
},
"publisher": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "optional publisher id"
},
"jurisdiction": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "optional jurisdiction code from index metadata, e.g. LU or EU"
},
"document_type": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "backward-compatible document type filter"
},
"source_class": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "optional source document class"
},
"hierarchy": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "optional normalized legal hierarchy"
},
"act_form": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "optional legal act form"
},
"binding_status": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "optional binding status"
},
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "legacy domain id filter; current v4 indexes leave it empty; use publisher_metadata_identifier for official classifications"
},
"publisher_metadata_identifier": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^https?://",
"description": "optional exact official publisher-metadata URI returned by a search hit"
},
"language": {
"type": "string",
"minLength": 1,
"maxLength": 16,
"description": "optional language code"
},
"retrieval_mode": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"enum": [
"keyword",
"hybrid"
],
"description": "keyword or hybrid; default keyword until activation"
},
"time_scope": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"enum": [
"all_versions",
"as_of"
],
"description": "all_versions or as_of"
},
"as_of": {
"type": "string",
"minLength": 1,
"maxLength": 10,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"description": "ISO date required when time_scope=as_of"
},
"fuzzy": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"enum": [
"auto",
"off"
],
"description": "auto or off; visible fallback only"
},
"works": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "optional comma-separated work ids: restrict search to these works"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "default 10; minimum 1, maximum 50"
}
},
"required": [
"query"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"time_scope": {
"const": "as_of"
}
},
"required": [
"time_scope"
]
},
"then": {
"required": [
"as_of"
]
}
}
]
}