EIA · JSON-LD Context
Eia Context
JSON-LD context defining the semantic vocabulary for Eia from EIA.
18 Classes
31 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
eia:
https://eia.gov/schema#
Classes
DataParams
FinalRouteResponse
RouteResponseContainer
Sort
FacetMetaData
Facet
RouteResponse
Routes
DataResponseContainer
FacetDetailsContainer
FinalRouteResponseContainer
DataResponse
Frequency
FacetOptionListContainer
FinalRoute
RouteRequest
FacetOptionList
FacetDetails
Properties
| Property | Type | Container |
|---|---|---|
| data | list | |
| facets | ||
| frequency | string | |
| start | string | |
| end | string | |
| sort | list | |
| length | integer | |
| offset | integer | |
| response | reference | |
| request | reference | |
| apiVersion | string | |
| column | string | |
| direction | string | |
| id | string | |
| description | string | |
| name | string | |
| alias | string | |
| routes | list | |
| dateFormat | string | |
| total | integer | |
| format | string | |
| query | string | |
| startPeriod | string | |
| endPeriod | string | |
| defaultDateFormat | string | |
| defaultFrequency | string | |
| command | list | |
| params | ||
| totalFacetOptions | integer | |
| facetOptions | list | |
| totalFacets | integer |
JSON-LD Document
{
"@context": {
"@vocab": "https://eia.gov/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"eia": "https://eia.gov/schema#",
"DataParams": "eia:DataParams",
"data": {
"@id": "eia:data",
"@container": "@list"
},
"facets": {
"@id": "eia:facets"
},
"frequency": {
"@id": "eia:frequency",
"@type": "xsd:string"
},
"start": {
"@id": "eia:start",
"@type": "xsd:string"
},
"end": {
"@id": "eia:end",
"@type": "xsd:string"
},
"sort": {
"@id": "eia:sort",
"@container": "@list"
},
"length": {
"@id": "eia:length",
"@type": "xsd:integer"
},
"offset": {
"@id": "eia:offset",
"@type": "xsd:integer"
},
"FinalRouteResponse": "eia:FinalRouteResponse",
"response": {
"@id": "eia:response",
"@type": "@id"
},
"request": {
"@id": "eia:request",
"@type": "@id"
},
"RouteResponseContainer": "eia:RouteResponseContainer",
"apiVersion": {
"@id": "eia:apiVersion",
"@type": "xsd:string"
},
"Sort": "eia:Sort",
"column": {
"@id": "eia:column",
"@type": "xsd:string"
},
"direction": {
"@id": "eia:direction",
"@type": "xsd:string"
},
"FacetMetaData": "eia:FacetMetaData",
"id": {
"@id": "eia:id",
"@type": "xsd:string"
},
"description": {
"@id": "eia:description",
"@type": "xsd:string"
},
"Facet": "eia:Facet",
"name": {
"@id": "eia:name",
"@type": "xsd:string"
},
"alias": {
"@id": "eia:alias",
"@type": "xsd:string"
},
"RouteResponse": "eia:RouteResponse",
"Routes": "eia:Routes",
"routes": {
"@id": "eia:routes",
"@container": "@list"
},
"DataResponseContainer": "eia:DataResponseContainer",
"FacetDetailsContainer": "eia:FacetDetailsContainer",
"FinalRouteResponseContainer": "eia:FinalRouteResponseContainer",
"DataResponse": "eia:DataResponse",
"dateFormat": {
"@id": "eia:dateFormat",
"@type": "xsd:string"
},
"total": {
"@id": "eia:total",
"@type": "xsd:integer"
},
"Frequency": "eia:Frequency",
"format": {
"@id": "eia:format",
"@type": "xsd:string"
},
"query": {
"@id": "eia:query",
"@type": "xsd:string"
},
"FacetOptionListContainer": "eia:FacetOptionListContainer",
"FinalRoute": "eia:FinalRoute",
"startPeriod": {
"@id": "eia:startPeriod",
"@type": "xsd:string"
},
"endPeriod": {
"@id": "eia:endPeriod",
"@type": "xsd:string"
},
"defaultDateFormat": {
"@id": "eia:defaultDateFormat",
"@type": "xsd:string"
},
"defaultFrequency": {
"@id": "eia:defaultFrequency",
"@type": "xsd:string"
},
"RouteRequest": "eia:RouteRequest",
"command": {
"@id": "eia:command",
"@container": "@list"
},
"params": {
"@id": "eia:params"
},
"FacetOptionList": "eia:FacetOptionList",
"totalFacetOptions": {
"@id": "eia:totalFacetOptions",
"@type": "xsd:integer"
},
"facetOptions": {
"@id": "eia:facetOptions",
"@container": "@list"
},
"FacetDetails": "eia:FacetDetails",
"totalFacets": {
"@id": "eia:totalFacets",
"@type": "xsd:integer"
}
},
"@type": "schema:Dataset",
"schema:name": "EIA API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects EIA'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-09) from openapi/eia-aeo-api-openapi.yml, openapi/eia-coal-api-openapi.yml, openapi/eia-crud-imports-api-openapi.yml.",
"dcterms:created": "2026-11-09",
"dcterms:source": [
"openapi/eia-aeo-api-openapi.yml",
"openapi/eia-coal-api-openapi.yml",
"openapi/eia-crud-imports-api-openapi.yml",
"openapi/eia-dbf-api-openapi.yml",
"openapi/eia-elec-api-openapi.yml"
]
}