TravelType · JSON-LD Context
Traveltype App Context
JSON-LD context defining the semantic vocabulary for Traveltype App from TravelType.
7 Classes
32 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
traveltype:
https://traveltype.app/schema#
Classes
Poi
CitySummary
CountrySummary
CityList
PoiList
Error
ValidationError
Properties
| Property | Type | Container |
|---|---|---|
| id | string | |
| slug | string | |
| name | string | |
| description | string | |
| city_slug | string | |
| country_iso2 | string | |
| lat | decimal | |
| lng | decimal | |
| tags | list | |
| categories | list | |
| wikidata_qid | string | |
| osm_id | string | |
| google_place_id | string | |
| image_url | string | |
| image_source | string | |
| url | string | |
| name_en | string | |
| poi_count | integer | |
| iso2 | string | |
| name_de | string | |
| name_local | string | |
| city_count | integer | |
| cities | list | |
| total | integer | |
| limit | integer | |
| offset | integer | |
| pois | list | |
| count | integer | |
| error | string | |
| message | string | |
| trace_id | string | |
| issues | list |
JSON-LD Document
{
"@context": {
"@vocab": "https://traveltype.app/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"traveltype": "https://traveltype.app/schema#",
"Poi": "traveltype:Poi",
"id": {
"@id": "traveltype:id",
"@type": "xsd:string"
},
"slug": {
"@id": "traveltype:slug",
"@type": "xsd:string"
},
"name": {
"@id": "traveltype:name",
"@type": "xsd:string"
},
"description": {
"@id": "traveltype:description",
"@type": "xsd:string"
},
"city_slug": {
"@id": "traveltype:city_slug",
"@type": "xsd:string"
},
"country_iso2": {
"@id": "traveltype:country_iso2",
"@type": "xsd:string"
},
"lat": {
"@id": "traveltype:lat",
"@type": "xsd:decimal"
},
"lng": {
"@id": "traveltype:lng",
"@type": "xsd:decimal"
},
"tags": {
"@id": "traveltype:tags",
"@container": "@list"
},
"categories": {
"@id": "traveltype:categories",
"@container": "@list"
},
"wikidata_qid": {
"@id": "traveltype:wikidata_qid",
"@type": "xsd:string"
},
"osm_id": {
"@id": "traveltype:osm_id",
"@type": "xsd:string"
},
"google_place_id": {
"@id": "traveltype:google_place_id",
"@type": "xsd:string"
},
"image_url": {
"@id": "traveltype:image_url",
"@type": "xsd:string"
},
"image_source": {
"@id": "traveltype:image_source",
"@type": "xsd:string"
},
"url": {
"@id": "traveltype:url",
"@type": "xsd:string"
},
"CitySummary": "traveltype:CitySummary",
"name_en": {
"@id": "traveltype:name_en",
"@type": "xsd:string"
},
"poi_count": {
"@id": "traveltype:poi_count",
"@type": "xsd:integer"
},
"CountrySummary": "traveltype:CountrySummary",
"iso2": {
"@id": "traveltype:iso2",
"@type": "xsd:string"
},
"name_de": {
"@id": "traveltype:name_de",
"@type": "xsd:string"
},
"name_local": {
"@id": "traveltype:name_local",
"@type": "xsd:string"
},
"city_count": {
"@id": "traveltype:city_count",
"@type": "xsd:integer"
},
"CityList": "traveltype:CityList",
"cities": {
"@id": "traveltype:cities",
"@container": "@list"
},
"total": {
"@id": "traveltype:total",
"@type": "xsd:integer"
},
"limit": {
"@id": "traveltype:limit",
"@type": "xsd:integer"
},
"offset": {
"@id": "traveltype:offset",
"@type": "xsd:integer"
},
"PoiList": "traveltype:PoiList",
"pois": {
"@id": "traveltype:pois",
"@container": "@list"
},
"count": {
"@id": "traveltype:count",
"@type": "xsd:integer"
},
"Error": "traveltype:Error",
"error": {
"@id": "traveltype:error",
"@type": "xsd:string"
},
"message": {
"@id": "traveltype:message",
"@type": "xsd:string"
},
"trace_id": {
"@id": "traveltype:trace_id",
"@type": "xsd:string"
},
"ValidationError": "traveltype:ValidationError",
"issues": {
"@id": "traveltype:issues",
"@container": "@list"
}
},
"@type": "schema:Dataset",
"schema:name": "TravelType API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects TravelType'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-27) from openapi/traveltype-app-openapi.json.",
"dcterms:created": "2026-11-27",
"dcterms:source": [
"openapi/traveltype-app-openapi.json"
]
}