Lokale KB-Verwaltung Importjob aus JSON-Datei erstellen
JSON-Schema original nur verlink. Zusätzlich auch direkt eingefügt.
Um der lokalen KB Daten hinzuzufügen, können JSON-Importdateien nach einem JSON-Schema erstellt werden.
- In der Lokalen KB-Verwaltung auf Aktionen > JSON-Importjob klicken.
- Im Fenster Neuer JSON-Job die JSON-Datei in den Upload-Bereich ziehen oder auf die Schaltfläche “oder Datei auswählen” klicken, um die JSON-Datei im Dateisystem auszuwählen.
- Auf Speichern & schließen klicken. Der Auftrag ist gespeichert und wird im Hintergrund verarbeitet.
JSON-Schema
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "header": { "type": "object", "properties": { "dataSchema": { "type": "object", "properties": { "name": { "type": "string" }, "version": { "type": "number" } }, "required": \[ "name", "version" \] } }, "required": \[ "dataSchema" \] }, "records": { "type": "array", "items": { "type": "object", "properties": { "source": { "type": "string" }, "reference": { "type": "string" }, "name": { "type": "string" }, "trustedSourceTI": { "type": "boolean" }, "packageProvider": { "type": "object", "properties": { "name": { "type": "string" }, "reference": { "type": "string" } } }, "description": { "type": "string" }, "lifecycleStatus": { "type": "string" }, "availabilityScope": { "type": "string" }, "availabilityConstraints": { "type": "array", "items": { "type": "object", "properties": { "body": { "type": "string" } } } }, "packageDescriptionUrls": { "type": "array", "items": { "type": "object", "properties": { "url": { "type": "string" } } } }, "alternateResourceNames": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" } } } }, "contentTypes": { "type": "array", "items": { "type": "object", "properties": { "contentType": { "type": "string" } } } }, "sourceDataCreated": { "type": "string" }, "sourceDataUpdated": { "type": "string" }, "identifiers": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "string" }, "namespace": { "type": "string" } } } }, "contentItems": { "type": "array", "items": { "type": "object", "properties": { "note": { "type": "string" }, "depth": { "type": "string" }, "accessStart": { "type": "string", "format": "date" }, "accessEnd": { "type": "string", "format": "date" }, "coverage": { "type": "array", "items": { "type": "object", "properties": { "startDate": { "type": "string", "format": "date" }, "startVolume": { "type": "string" }, "startIssue": { "type": "string" }, "endDate": { "type": "string", "format": "date" }, "endVolume": { "type": "string" }, "endIssue": { "type": "string" } } } }, "embargo": { "type": "string" }, "platformTitleInstance": { "type": "object", "properties": { "platform": { "type": "string" }, "platformUrl": { "type": "string", "format": "uri" }, "url": { "type": "string", "format": "uri" }, "titleInstance": { "type": "object", "properties": { "name": { "type": "string" }, "monographEdition": { "type": "string" }, "monographVolume": { "type": "string" }, "firstAuthor": { "type": "string" }, "firstEditor": { "type": "string" }, "dateMonographPublished": { "type": "string", "pattern": "^\\\\d\\\\d\\\\d\\\\d(-\\\\d\\\\d(-\\\\d\\\\d)?)?$" }, "identifiers": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "string" }, "namespace": { "type": "string" } }, "required": \[ "value", "namespace" \] } }, "type": { "type": "string" }, "subType": { "type": "string" }, "publicationType": { "type": "string" } }, "required": \[ "name" \] } } } }, "required": \[ "platformTitleInstance" \] } } }, "required": \[ "source", "reference", "name" \] } } }, "required": \[ "header", "records" \] }Zuletzt geändert 12.02.2023