Opendata.cat · JSON-LD Context
Opendata Cat Context
JSON-LD context defining the semantic vocabulary for Opendata Cat from Opendata.cat.
4 Classes
21 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
opendata:
https://opendata.cat/schema#
Classes
DatasetSummary
DatasetFull
Portal
Error
Properties
| Property | Type | Container |
|---|---|---|
| dataset_id | string | |
| portal_id | string | |
| name | string | |
| description | string | |
| category | string | |
| formats | list | |
| api_type | string | |
| tags | list | |
| api_endpoint | string | |
| fields | list | |
| row_count | integer | |
| last_updated | string | |
| license | string | |
| search_text | string | |
| related | list | |
| slug | string | |
| tipus_administracio | string | |
| tipus_institucio | string | |
| nom_oficial | string | |
| url | reference | |
| error | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://opendata.cat/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"opendata": "https://opendata.cat/schema#",
"DatasetSummary": "opendata:DatasetSummary",
"dataset_id": {
"@id": "opendata:dataset_id",
"@type": "xsd:string"
},
"portal_id": {
"@id": "opendata:portal_id",
"@type": "xsd:string"
},
"name": {
"@id": "opendata:name",
"@type": "xsd:string"
},
"description": {
"@id": "opendata:description",
"@type": "xsd:string"
},
"category": {
"@id": "opendata:category",
"@type": "xsd:string"
},
"formats": {
"@id": "opendata:formats",
"@container": "@list"
},
"api_type": {
"@id": "opendata:api_type",
"@type": "xsd:string"
},
"DatasetFull": "opendata:DatasetFull",
"tags": {
"@id": "opendata:tags",
"@container": "@list"
},
"api_endpoint": {
"@id": "opendata:api_endpoint",
"@type": "xsd:string"
},
"fields": {
"@id": "opendata:fields",
"@container": "@list"
},
"row_count": {
"@id": "opendata:row_count",
"@type": "xsd:integer"
},
"last_updated": {
"@id": "opendata:last_updated",
"@type": "xsd:string"
},
"license": {
"@id": "opendata:license",
"@type": "xsd:string"
},
"search_text": {
"@id": "opendata:search_text",
"@type": "xsd:string"
},
"related": {
"@id": "opendata:related",
"@container": "@list"
},
"Portal": "opendata:Portal",
"slug": {
"@id": "opendata:slug",
"@type": "xsd:string"
},
"tipus_administracio": {
"@id": "opendata:tipus_administracio",
"@type": "xsd:string"
},
"tipus_institucio": {
"@id": "opendata:tipus_institucio",
"@type": "xsd:string"
},
"nom_oficial": {
"@id": "opendata:nom_oficial",
"@type": "xsd:string"
},
"url": {
"@id": "opendata:url",
"@type": "@id"
},
"Error": "opendata:Error",
"error": {
"@id": "opendata:error",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "Opendata.cat API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Opendata.cat's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-20) from openapi/opendata-cat-openapi.json.",
"dcterms:created": "2026-11-20",
"dcterms:source": [
"openapi/opendata-cat-openapi.json"
]
}