{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/maastricht/main/json-schema/maastricht-dataset-schema.json", "title": "DataverseNL Search Dataset Item (Maastricht collection)", "description": "JSON Schema for a dataset item returned in the `data.items[]` array of GET /api/search on DataverseNL, modeled from live results in the Maastricht University subtree.", "type": "object", "required": ["name", "type", "global_id"], "properties": { "name": { "type": "string", "description": "Title of the dataset." }, "type": { "type": "string", "enum": ["dataset", "dataverse", "file"], "description": "Result item type." }, "url": { "type": "string", "format": "uri", "description": "Persistent (DOI) landing URL." }, "global_id": { "type": "string", "description": "Global persistent identifier, e.g. doi:10.34894/VNCVSL." }, "description": { "type": "string" }, "published_at": { "type": "string", "format": "date-time" }, "publisher": { "type": "string" }, "citationHtml": { "type": "string" }, "identifier_of_dataverse": { "type": "string" }, "name_of_dataverse": { "type": "string" }, "citation": { "type": "string" }, "publicationStatuses": { "type": "array", "items": { "type": "string" } }, "storageIdentifier": { "type": "string" }, "subjects": { "type": "array", "items": { "type": "string" } }, "fileCount": { "type": "integer" }, "versionId": { "type": "integer" }, "versionState": { "type": "string", "enum": ["RELEASED", "DRAFT", "DEACCESSIONED", "ARCHIVED"] }, "majorVersion": { "type": "integer" }, "minorVersion": { "type": "integer" }, "createdAt": { "type": "string", "format": "date-time" }, "updatedAt": { "type": "string", "format": "date-time" }, "contacts": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "affiliation": { "type": "string" } } } }, "authors": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": true }