changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Response returned by `/transcriptions/search.json`.",
+ "properties": {
+ "query": {
+ "description": "Echo of the parameters supplied by the caller.",
+ "properties": {
+ "archive_code": {
+ "nullable": true,
+ "type": "string"
+ },
+ "archive_number": {
+ "nullable": true,
+ "type": "string"
+ },
+ "inventory_number": {
+ "nullable": true,
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "number_show": {
+ "type": "integer"
+ },
+ "q": {
+ "type": "string"
+ },
+ "start": {
+ "type": "integer"
+ },
+ "year_end": {
+ "nullable": true,
+ "type": "integer"
+ },
+ "year_start": {
+ "nullable": true,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "response": {
+ "properties": {
+ "docs": {
+ "items": {
+ "description": "One match in a transcription search response.",
+ "properties": {
+ "archive_number": {
+ "description": "Archive number (archieftoegang) information for a transcription.",
+ "properties": {
+ "nr": {
+ "description": "Archive number as used by the source institution.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Title of the archive.",
+ "type": "string"
+ },
+ "url": {
+ "description": "External URL describing the archive on the source institution's website.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "description": "Page identifier in the form `<ISIL>_<archive_number>_<page>`.",
+ "type": "string"
+ },
+ "inventory_number": {
+ "description": "Inventory number information for a transcription.",
+ "properties": {
+ "nr": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "page": {
+ "description": "Page number with leading zeros stripped.",
+ "type": "string"
+ },
+ "snippets": {
+ "description": "Up to five highlighted text fragments showing where the search terms appear. Each fragment wraps the matching terms in `<em>…</em>` tags.\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "source_archive": {
+ "description": "Source archive holding the transcribed page.",
+ "properties": {
+ "archive_code": {
+ "description": "openarch archive code (matches the codes used elsewhere in this API).",
+ "nullable": true,
+ "type": "string"
+ },
+ "isil": {
+ "description": "International Standard Identifier for Libraries (ISIL).",
+ "type": "string"
+ },
+ "name": {
+ "description": "Localised name of the source archive.",
+ "nullable": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "uri": {
+ "description": "Open Archives URL where the transcription can be viewed.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "facets": {
+ "description": "The set of facets returned depends on the supplied filters. With no `archive_code`: `source_archive`. With `archive_code` only: `archive_number`. With both `archive_code` and `archive_number`: `inventory_number`.\n",
+ "properties": {
+ "archive_number": {
+ "items": {
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "nr": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "inventory_number": {
+ "items": {
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "nr": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "source_archive": {
+ "items": {
+ "properties": {
+ "archive_code": {
+ "nullable": true,
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "isil": {
+ "type": "string"
+ },
+ "name": {
+ "nullable": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "number_found": {
+ "description": "Total number of matches across all pages.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+}