{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/api-evangelist/university-of-amsterdam/main/json-schema/university-of-amsterdam-dataset-schema.json", "title": "TriplyDB Dataset", "description": "A linked-data dataset hosted on the University of Amsterdam Library TriplyDB instance (api.lod.uba.uva.nl). Derived from the live TriplyDB OpenAPI Dataset schema.", "type": "object", "required": [ "id", "name", "displayName", "description", "owner", "accessLevel", "createdAt", "updatedAt", "graphCount", "statements", "serviceCount", "assetCount", "tags", "prefixes", "exampleResources", "hasDataQualityIssues", "toggles" ], "properties": { "id": { "type": "string", "description": "Immutable internal identifier for the dataset." }, "name": { "type": "string", "description": "URL-safe slug of the dataset within its owning account." }, "displayName": { "type": "string", "description": "Human-readable dataset name." }, "description": { "type": "string", "description": "Markdown description of the dataset." }, "avatarUrl": { "type": "string", "format": "uri", "description": "URL of the dataset avatar image." }, "owner": { "type": "object", "description": "Account (user or organization) that owns the dataset.", "required": ["accountName", "uid", "createdAt", "description", "type"], "properties": { "accountName": { "type": "string" }, "uid": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "avatarUrl": { "type": "string", "format": "uri" }, "createdAt": { "type": "string", "format": "date-time" }, "type": { "type": "string", "enum": ["user", "org"] }, "accountType": { "type": "string", "enum": ["user", "group"] } } }, "accessLevel": { "type": "string", "enum": ["private", "internal", "public"], "description": "Visibility of the dataset." }, "license": { "type": ["string", "null"], "description": "SPDX-style license identifier for the dataset." }, "createdAt": { "type": "string", "format": "date-time" }, "updatedAt": { "type": "string", "format": "date-time" }, "lastGraphsUpdateTime": { "type": "string", "format": "date-time" }, "graphCount": { "type": "integer", "description": "Number of named graphs in the dataset." }, "statements": { "type": "integer", "description": "Total number of RDF statements (triples) in the dataset." }, "serviceCount": { "type": "integer", "description": "Number of running services (SPARQL, Elasticsearch, etc.)." }, "assetCount": { "type": "integer", "description": "Number of binary assets attached to the dataset." }, "graphsToSaveTo": { "type": "object", "properties": { "dataModelGraph": { "type": "string", "format": "uri" }, "editorResourcesGraph": { "type": "string", "format": "uri" } } }, "tags": { "type": "array", "items": { "type": "string" } }, "prefixes": { "type": "array", "description": "IRI prefixes defined for the dataset.", "items": { "type": "object", "properties": { "prefixLabel": { "type": "string" }, "iri": { "type": "string", "format": "uri" }, "scope": { "type": "string" } } } }, "exampleResources": { "type": "array", "items": { "type": "string" } }, "hasDataQualityIssues": { "type": "boolean" }, "autogeneratedIdType": { "type": "string", "enum": ["uuid", "blank-node", "base64", "prefixed"] }, "toggles": { "type": "object", "description": "Feature toggles controlling which UI/query surfaces are enabled for the dataset.", "additionalProperties": true } } }