Basetrip · JSON-LD Context
Basetrip Context
JSON-LD context defining the semantic vocabulary for Basetrip from Basetrip.
8 Classes
32 Properties
3 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
basetrip:
https://raw.githubusercontent.com/api-evangelist/basetrip/refs/heads/main/json-ld/
Classes
Country
City
Phrase
SafetyInfo
CostInfo
VisaInfo
HealthInfo
ErrorResponse
Properties
| Property | Type | Container |
|---|---|---|
| name | string | |
| slug | string | |
| code | string | |
| continent | string | |
| capital | string | |
| currency | string | |
| languages | string | |
| population | integer | |
| timezone | string | |
| callingCode | string | |
| latitude | decimal | |
| longitude | decimal | |
| category | string | |
| original | string | |
| translation | string | |
| phonetic | string | |
| overallRating | string | |
| advisoryLevel | integer | |
| budgetPerDay | decimal | |
| midRangePerDay | decimal | |
| luxuryPerDay | decimal | |
| destination | string | |
| passport | string | |
| requirement | string | |
| maxStay | integer | |
| vaccinations | string | |
| healthRisks | string | |
| drinkingWater | string | |
| medicalFacilities | string | |
| error | string | |
| message | string | |
| statusCode | integer |
JSON-LD Document
{
"@context": {
"@version": 1.1,
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"basetrip": "https://raw.githubusercontent.com/api-evangelist/basetrip/refs/heads/main/json-ld/",
"Country": "schema:Country",
"name": {"@id": "schema:name", "@type": "xsd:string"},
"slug": {"@id": "basetrip:slug", "@type": "xsd:string"},
"code": {"@id": "schema:identifier", "@type": "xsd:string"},
"continent": {"@id": "schema:containedInPlace", "@type": "xsd:string"},
"capital": {"@id": "schema:location", "@type": "xsd:string"},
"currency": {"@id": "schema:currency", "@type": "xsd:string"},
"languages": {"@id": "schema:knowsLanguage", "@type": "xsd:string"},
"population": {"@id": "schema:population", "@type": "xsd:integer"},
"timezone": {"@id": "basetrip:timezone", "@type": "xsd:string"},
"callingCode": {"@id": "basetrip:callingCode", "@type": "xsd:string"},
"City": "schema:City",
"latitude": {"@id": "schema:latitude", "@type": "xsd:decimal"},
"longitude": {"@id": "schema:longitude", "@type": "xsd:decimal"},
"Phrase": "basetrip:Phrase",
"category": {"@id": "schema:category", "@type": "xsd:string"},
"original": {"@id": "basetrip:original", "@type": "xsd:string"},
"translation": {"@id": "basetrip:translation", "@type": "xsd:string"},
"phonetic": {"@id": "basetrip:phonetic", "@type": "xsd:string"},
"SafetyInfo": "basetrip:SafetyInfo",
"overallRating": {"@id": "basetrip:overallRating", "@type": "xsd:string"},
"advisoryLevel": {"@id": "basetrip:advisoryLevel", "@type": "xsd:integer"},
"CostInfo": "basetrip:CostInfo",
"budgetPerDay": {"@id": "schema:price", "@type": "xsd:decimal"},
"midRangePerDay": {"@id": "basetrip:midRangePerDay", "@type": "xsd:decimal"},
"luxuryPerDay": {"@id": "basetrip:luxuryPerDay", "@type": "xsd:decimal"},
"VisaInfo": "basetrip:VisaInfo",
"destination": {"@id": "schema:destination", "@type": "xsd:string"},
"passport": {"@id": "basetrip:passport", "@type": "xsd:string"},
"requirement": {"@id": "basetrip:requirement", "@type": "xsd:string"},
"maxStay": {"@id": "basetrip:maxStay", "@type": "xsd:integer"},
"HealthInfo": "basetrip:HealthInfo",
"vaccinations": {"@id": "basetrip:vaccinations", "@type": "xsd:string"},
"healthRisks": {"@id": "basetrip:healthRisks", "@type": "xsd:string"},
"drinkingWater": {"@id": "basetrip:drinkingWater", "@type": "xsd:string"},
"medicalFacilities": {"@id": "basetrip:medicalFacilities", "@type": "xsd:string"},
"ErrorResponse": "basetrip:ErrorResponse",
"error": {"@id": "basetrip:error", "@type": "xsd:string"},
"message": {"@id": "schema:description", "@type": "xsd:string"},
"statusCode": {"@id": "basetrip:statusCode", "@type": "xsd:integer"}
}
}