Commodities Sh Context
JSON-LD context defining the semantic vocabulary for Commodities Sh from commodities.sh.
1 Classes
15 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
commodities:
https://commodities.sh/schema#
Classes
Observation
Properties
| Property |
Type |
Container |
| instrument |
string |
|
| value |
decimal |
|
| unit |
string |
|
| as_of |
date |
|
| observed_at |
dateTime |
|
| freshness_class |
string |
|
| quality |
string |
|
| derived |
boolean |
|
| source |
|
|
| license_tag |
string |
|
| provenance |
|
|
| prior |
decimal |
|
| pct_change |
decimal |
|
| short_history |
|
list |
| cite |
string |
|
JSON-LD Document
{
"@context": {
"@vocab": "https://commodities.sh/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"commodities": "https://commodities.sh/schema#",
"Observation": "commodities:Observation",
"instrument": {
"@id": "commodities:instrument",
"@type": "xsd:string"
},
"value": {
"@id": "commodities:value",
"@type": "xsd:decimal"
},
"unit": {
"@id": "commodities:unit",
"@type": "xsd:string"
},
"as_of": {
"@id": "commodities:as_of",
"@type": "xsd:date"
},
"observed_at": {
"@id": "commodities:observed_at",
"@type": "xsd:dateTime"
},
"freshness_class": {
"@id": "commodities:freshness_class",
"@type": "xsd:string"
},
"quality": {
"@id": "commodities:quality",
"@type": "xsd:string"
},
"derived": {
"@id": "commodities:derived",
"@type": "xsd:boolean"
},
"source": {
"@id": "commodities:source"
},
"license_tag": {
"@id": "commodities:license_tag",
"@type": "xsd:string"
},
"provenance": {
"@id": "commodities:provenance"
},
"prior": {
"@id": "commodities:prior",
"@type": "xsd:decimal"
},
"pct_change": {
"@id": "commodities:pct_change",
"@type": "xsd:decimal"
},
"short_history": {
"@id": "commodities:short_history",
"@container": "@list"
},
"cite": {
"@id": "commodities:cite",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "commodities.sh API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects commodities.sh'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-04) from openapi/commodities-sh-openapi.yml.",
"dcterms:created": "2026-11-04",
"dcterms:source": [
"openapi/commodities-sh-openapi.yml"
]
}