api.data.gov · JSON-LD Context
Api Data Gov Context
JSON-LD context defining the semantic vocabulary for Api Data Gov from api.data.gov.
28 Classes
85 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
api:
https://data.gov/schema#
Classes
Dataset
GeoJson
HTTPError
KeywordAndCount
KeywordsResults
LocationDetail
LocationResponse
LocationsResults
OpensearchHealth
Organization
OrganizationResponse
OrganizationsResults
PublisherResponse
PublishersResults
SearchResults
StatsMeta
StatsMetrics
StatsResult
StatsResults
ValidationError
ErrorInfo
JobInfo
OrgInfo
RecordInfo
SourceInfo
ValidationErrorResponseSchema
ValidationResultSchema
ValidatorInfo
Properties
| Property | Type | Container |
|---|---|---|
| _score | decimal | |
| _sort | list | |
| access_level | string | |
| dcat | ||
| description | string | |
| harvest_record | reference | |
| harvest_record_raw | reference | |
| harvest_record_transformed | reference | |
| has_download | boolean | |
| has_spatial | boolean | |
| identifier | string | |
| keyword | list | |
| last_harvested_date | date | |
| organization | reference | |
| popularity | integer | |
| publisher | string | |
| slug | string | |
| coordinates | list | |
| type | string | |
| detail | ||
| message | string | |
| count | integer | |
| keywords | list | |
| min_count | integer | |
| size | integer | |
| total | integer | |
| geometry | reference | |
| id | string | |
| display_name | string | |
| locations | list | |
| status | string | |
| aliases | list | |
| logo | reference | |
| name | string | |
| organization_type | string | |
| organizations | list | |
| publishers | list | |
| after | string | |
| results | list | |
| sort | string | |
| date | string | |
| datasetsBarMetric | string | |
| orgBarMetric | string | |
| meta | reference | |
| metrics | reference | |
| datasets | integer | |
| datasetsWithIsPartOf | integer | |
| date_created | dateTime | |
| harvest_job_id | string | |
| harvest_record_id | string | |
| severity | string | |
| date_finished | dateTime | |
| date_started | dateTime | |
| harvest_source_id | string | |
| job_type | string | |
| records_added | integer | |
| records_deleted | integer | |
| records_errored | integer | |
| records_ignored | integer | |
| records_total | integer | |
| records_updated | integer | |
| records_validated | integer | |
| records_warned | integer | |
| code_repo_exempt | boolean | |
| code_repo_url | string | |
| source_count | integer | |
| action | string | |
| ckan_id | string | |
| parent_identifier | string | |
| source_hash | string | |
| source_raw | string | |
| source_transform | ||
| collection_parent_url | string | |
| date_next_run | dateTime | |
| frequency | string | |
| notification_emails | list | |
| notification_frequency | string | |
| organization_id | string | |
| schema_type | string | |
| source_type | string | |
| url | string | |
| error | string | |
| validation_errors | list | |
| fetch_method | string | |
| json_text | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://data.gov/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"api": "https://data.gov/schema#",
"Dataset": "api:Dataset",
"_score": {
"@id": "api:_score",
"@type": "xsd:decimal"
},
"_sort": {
"@id": "api:_sort",
"@container": "@list"
},
"access_level": {
"@id": "api:access_level",
"@type": "xsd:string"
},
"dcat": {
"@id": "api:dcat"
},
"description": {
"@id": "api:description",
"@type": "xsd:string"
},
"harvest_record": {
"@id": "api:harvest_record",
"@type": "@id"
},
"harvest_record_raw": {
"@id": "api:harvest_record_raw",
"@type": "@id"
},
"harvest_record_transformed": {
"@id": "api:harvest_record_transformed",
"@type": "@id"
},
"has_download": {
"@id": "api:has_download",
"@type": "xsd:boolean"
},
"has_spatial": {
"@id": "api:has_spatial",
"@type": "xsd:boolean"
},
"identifier": {
"@id": "api:identifier",
"@type": "xsd:string"
},
"keyword": {
"@id": "api:keyword",
"@container": "@list"
},
"last_harvested_date": {
"@id": "api:last_harvested_date",
"@type": "xsd:date"
},
"organization": {
"@id": "api:organization",
"@type": "@id"
},
"popularity": {
"@id": "api:popularity",
"@type": "xsd:integer"
},
"publisher": {
"@id": "api:publisher",
"@type": "xsd:string"
},
"slug": {
"@id": "api:slug",
"@type": "xsd:string"
},
"GeoJson": "api:GeoJson",
"coordinates": {
"@id": "api:coordinates",
"@container": "@list"
},
"type": {
"@id": "api:type",
"@type": "xsd:string"
},
"HTTPError": "api:HTTPError",
"detail": {
"@id": "api:detail"
},
"message": {
"@id": "api:message",
"@type": "xsd:string"
},
"KeywordAndCount": "api:KeywordAndCount",
"count": {
"@id": "api:count",
"@type": "xsd:integer"
},
"KeywordsResults": "api:KeywordsResults",
"keywords": {
"@id": "api:keywords",
"@container": "@list"
},
"min_count": {
"@id": "api:min_count",
"@type": "xsd:integer"
},
"size": {
"@id": "api:size",
"@type": "xsd:integer"
},
"total": {
"@id": "api:total",
"@type": "xsd:integer"
},
"LocationDetail": "api:LocationDetail",
"geometry": {
"@id": "api:geometry",
"@type": "@id"
},
"id": {
"@id": "api:id",
"@type": "xsd:string"
},
"LocationResponse": "api:LocationResponse",
"display_name": {
"@id": "api:display_name",
"@type": "xsd:string"
},
"LocationsResults": "api:LocationsResults",
"locations": {
"@id": "api:locations",
"@container": "@list"
},
"OpensearchHealth": "api:OpensearchHealth",
"status": {
"@id": "api:status",
"@type": "xsd:string"
},
"Organization": "api:Organization",
"aliases": {
"@id": "api:aliases",
"@container": "@list"
},
"logo": {
"@id": "api:logo",
"@type": "@id"
},
"name": {
"@id": "api:name",
"@type": "xsd:string"
},
"organization_type": {
"@id": "api:organization_type",
"@type": "xsd:string"
},
"OrganizationResponse": "api:OrganizationResponse",
"OrganizationsResults": "api:OrganizationsResults",
"organizations": {
"@id": "api:organizations",
"@container": "@list"
},
"PublisherResponse": "api:PublisherResponse",
"PublishersResults": "api:PublishersResults",
"publishers": {
"@id": "api:publishers",
"@container": "@list"
},
"SearchResults": "api:SearchResults",
"after": {
"@id": "api:after",
"@type": "xsd:string"
},
"results": {
"@id": "api:results",
"@container": "@list"
},
"sort": {
"@id": "api:sort",
"@type": "xsd:string"
},
"StatsMeta": "api:StatsMeta",
"date": {
"@id": "api:date",
"@type": "xsd:string"
},
"StatsMetrics": "api:StatsMetrics",
"datasetsBarMetric": {
"@id": "api:datasetsBarMetric",
"@type": "xsd:string"
},
"orgBarMetric": {
"@id": "api:orgBarMetric",
"@type": "xsd:string"
},
"StatsResult": "api:StatsResult",
"meta": {
"@id": "api:meta",
"@type": "@id"
},
"metrics": {
"@id": "api:metrics",
"@type": "@id"
},
"StatsResults": "api:StatsResults",
"datasets": {
"@id": "api:datasets",
"@type": "xsd:integer"
},
"datasetsWithIsPartOf": {
"@id": "api:datasetsWithIsPartOf",
"@type": "xsd:integer"
},
"ValidationError": "api:ValidationError",
"ErrorInfo": "api:ErrorInfo",
"date_created": {
"@id": "api:date_created",
"@type": "xsd:dateTime"
},
"harvest_job_id": {
"@id": "api:harvest_job_id",
"@type": "xsd:string"
},
"harvest_record_id": {
"@id": "api:harvest_record_id",
"@type": "xsd:string"
},
"severity": {
"@id": "api:severity",
"@type": "xsd:string"
},
"JobInfo": "api:JobInfo",
"date_finished": {
"@id": "api:date_finished",
"@type": "xsd:dateTime"
},
"date_started": {
"@id": "api:date_started",
"@type": "xsd:dateTime"
},
"harvest_source_id": {
"@id": "api:harvest_source_id",
"@type": "xsd:string"
},
"job_type": {
"@id": "api:job_type",
"@type": "xsd:string"
},
"records_added": {
"@id": "api:records_added",
"@type": "xsd:integer"
},
"records_deleted": {
"@id": "api:records_deleted",
"@type": "xsd:integer"
},
"records_errored": {
"@id": "api:records_errored",
"@type": "xsd:integer"
},
"records_ignored": {
"@id": "api:records_ignored",
"@type": "xsd:integer"
},
"records_total": {
"@id": "api:records_total",
"@type": "xsd:integer"
},
"records_updated": {
"@id": "api:records_updated",
"@type": "xsd:integer"
},
"records_validated": {
"@id": "api:records_validated",
"@type": "xsd:integer"
},
"records_warned": {
"@id": "api:records_warned",
"@type": "xsd:integer"
},
"OrgInfo": "api:OrgInfo",
"code_repo_exempt": {
"@id": "api:code_repo_exempt",
"@type": "xsd:boolean"
},
"code_repo_url": {
"@id": "api:code_repo_url",
"@type": "xsd:string"
},
"source_count": {
"@id": "api:source_count",
"@type": "xsd:integer"
},
"RecordInfo": "api:RecordInfo",
"action": {
"@id": "api:action",
"@type": "xsd:string"
},
"ckan_id": {
"@id": "api:ckan_id",
"@type": "xsd:string"
},
"parent_identifier": {
"@id": "api:parent_identifier",
"@type": "xsd:string"
},
"source_hash": {
"@id": "api:source_hash",
"@type": "xsd:string"
},
"source_raw": {
"@id": "api:source_raw",
"@type": "xsd:string"
},
"source_transform": {
"@id": "api:source_transform"
},
"SourceInfo": "api:SourceInfo",
"collection_parent_url": {
"@id": "api:collection_parent_url",
"@type": "xsd:string"
},
"date_next_run": {
"@id": "api:date_next_run",
"@type": "xsd:dateTime"
},
"frequency": {
"@id": "api:frequency",
"@type": "xsd:string"
},
"notification_emails": {
"@id": "api:notification_emails",
"@container": "@list"
},
"notification_frequency": {
"@id": "api:notification_frequency",
"@type": "xsd:string"
},
"organization_id": {
"@id": "api:organization_id",
"@type": "xsd:string"
},
"schema_type": {
"@id": "api:schema_type",
"@type": "xsd:string"
},
"source_type": {
"@id": "api:source_type",
"@type": "xsd:string"
},
"url": {
"@id": "api:url",
"@type": "xsd:string"
},
"ValidationErrorResponseSchema": "api:ValidationErrorResponseSchema",
"error": {
"@id": "api:error",
"@type": "xsd:string"
},
"ValidationResultSchema": "api:ValidationResultSchema",
"validation_errors": {
"@id": "api:validation_errors",
"@container": "@list"
},
"ValidatorInfo": "api:ValidatorInfo",
"fetch_method": {
"@id": "api:fetch_method",
"@type": "xsd:string"
},
"json_text": {
"@id": "api:json_text",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "api.data.gov API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects api.data.gov'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-10-13) from openapi/catalog.data.gov-openapi.json, openapi/harvest.data.gov-openapi.json.",
"dcterms:created": "2026-10-13",
"dcterms:source": [
"openapi/catalog.data.gov-openapi.json",
"openapi/harvest.data.gov-openapi.json"
]
}