UNPKG

@twin.org/standards-w3c-dcat

Version:

Models which define the structure of W3C DCAT Standard

408 lines (407 loc) 13.4 kB
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://schema.twindev.org/w3c-dcat/Dataset", "description": "Interface for DCAT Dataset. A collection of data, published or curated by a single agent, and available for access or download in one or more representations.", "type": "object", "properties": { "@context": { "description": "The DCAT JSON-LD context type. Supports the DCAT context URL or arrays with additional context definitions.", "type": "object", "additionalProperties": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdExpandedTermDefinition" }, { "type": [ "null", "string" ] } ] }, "properties": { "@base": { "type": [ "string", "null" ] }, "@direction": { "type": [ "string", "null" ], "enum": [ "ltr", "rtl", null ] }, "@import": { "type": "string" }, "@language": { "type": "string" }, "@propagate": { "type": "boolean" }, "@protected": { "type": "boolean" }, "@type": { "type": "object", "properties": { "@container": { "type": "string", "const": "@set" }, "@protected": { "type": "boolean" } }, "required": [ "@container" ], "additionalProperties": false }, "@version": { "type": "string", "const": "1.1" }, "@vocab": { "type": [ "string", "null" ] }, "dcat": { "type": "string", "const": "http://www.w3.org/ns/dcat#" }, "dcterms": { "type": "string", "const": "http://purl.org/dc/terms/" } }, "required": [ "dcat", "dcterms" ] }, "@id": { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "@included": { "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock" }, "@graph": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject" }, { "type": "array", "items": { "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject" } } ] }, "@nest": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject" }, { "type": "array", "items": { "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject" } } ] }, "@type": { "type": "string", "enum": [ "Dataset", "Catalog", "DatasetSeries" ], "description": "The type identifier, typically \"Dataset\". Can also be \"Catalog\" or \"DatasetSeries\" for subclasses." }, "@reverse": { "type": "object", "additionalProperties": { "type": "string" } }, "@index": { "type": "string" }, "dcterms:title": { "$ref": "https://schema.twindev.org/w3c-dcat/LiteralType", "description": "A name given to the resource." }, "dcterms:description": { "$ref": "https://schema.twindev.org/w3c-dcat/LiteralType", "description": "A free-text account of the resource." }, "dcterms:identifier": { "$ref": "https://schema.twindev.org/w3c-dcat/LiteralType", "description": "A unique identifier of the resource." }, "dcterms:issued": { "$ref": "https://schema.twindev.org/w3c-dcat/DateTimeType", "description": "Date of formal issuance (publication) of the resource." }, "dcterms:modified": { "$ref": "https://schema.twindev.org/w3c-dcat/DateTimeType", "description": "Most recent date on which the resource was changed, updated or modified." }, "dcterms:language": { "description": "Object or array data type", "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "dcterms:publisher": { "anyOf": [ { "$ref": "https://schema.twindev.org/w3c-dcat/Agent" }, { "type": "string" } ], "description": "An entity responsible for making the resource available." }, "dcterms:creator": { "$ref": "https://schema.twindev.org/w3c-dcat/Agent", "description": "An entity responsible for producing the resource." }, "dcterms:accessRights": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject" }, { "type": "string" } ], "description": "Information about who can access the resource or an indication of its security status." }, "dcterms:license": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject" }, { "type": "string" } ], "description": "A legal document under which the resource is made available." }, "dcterms:rights": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject" }, { "type": "string" } ], "description": "Information about rights held in and over the resource." }, "dcterms:conformsTo": { "description": "Object or array data type", "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "dcterms:type": { "type": "string", "description": "The nature or genre of the resource." }, "dcat:contactPoint": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject" }, { "type": "string" } ], "description": "Relevant contact information for the catalogued resource." }, "dcat:keyword": { "$ref": "https://schema.twindev.org/w3c-dcat/LiteralType", "description": "A keyword or tag describing the resource." }, "dcat:theme": { "description": "Object or array data type", "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "dcat:landingPage": { "description": "Object or array data type", "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "dcat:qualifiedRelation": { "anyOf": [ { "$ref": "https://schema.twindev.org/w3c-dcat/Relationship" }, { "type": "string" } ], "description": "Link to a description of a relationship with another resource." }, "odrl:hasPolicy": { "$ref": "https://schema.twindev.org/w3c-odrl/OdrlPolicy", "description": "An ODRL conformant policy expressing the rights associated with the resource." }, "dcat:distribution": { "description": "Object or array data type", "anyOf": [ { "$ref": "https://schema.twindev.org/w3c-dcat/Distribution" }, { "type": "array", "items": { "$ref": "https://schema.twindev.org/w3c-dcat/Distribution" } } ] }, "dcterms:accrualPeriodicity": { "type": "string", "description": "The frequency at which the dataset is published." }, "dcat:inSeries": { "type": "string", "description": "A dataset series of which the dataset is part." }, "dcterms:spatial": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject" }, { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "Object or array data type" } ], "description": "The geographical area covered by the dataset." }, "dcat:spatialResolutionInMeters": { "$ref": "https://schema.twindev.org/w3c-dcat/DecimalType", "description": "Minimum spatial separation resolvable in a dataset, measured in meters." }, "dcterms:temporal": { "$ref": "https://schema.twindev.org/w3c-dcat/PeriodOfTime", "description": "The temporal period that the dataset covers." }, "dcat:temporalResolution": { "$ref": "https://schema.twindev.org/w3c-dcat/DurationType", "description": "Minimum time period resolvable in the dataset." }, "prov:wasGeneratedBy": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject" }, { "type": "string" } ], "description": "An activity that generated, or provides the business context for, the creation of the dataset." } }, "required": [ "@type" ], "additionalProperties": { "anyOf": [ { "$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive" }, { "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap" }, { "$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap" }, { "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock" }, { "$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap" }, { "$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap" }, { "type": "array" } ] } }