My Geocode · JSON-LD Context

Mygeocode Context

JSON-LD context defining the semantic vocabulary for Mygeocode from My Geocode.

11 Classes 29 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
mygeocode: https://mygeocode.com/schema#

Classes

GetV1AutocompleteResponse GetV1ElevationResponse GetV1ForwardResponse PostV1ForwardRequest GetV1IpResponse GetV1Ipv4Response GetV1Ipv6Response GetV1PostcodeResponse GetV1ReverseResponse PostV1ReverseRequest GetV1TimezoneResponse

Properties

Property Type Container
status string
results list
name string
official_name string
iso2 string
iso3 string
iso_numeric integer
continent string
continent_name string
un_m49
groupings list
capital string
population integer
area_km2 decimal
independent boolean
un_member boolean
landlocked boolean
currency
calling_code string
dial
languages list
tld string
flag string
wikidata string
neighbours list
queries list
result
coords list
timezone

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://mygeocode.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "mygeocode": "https://mygeocode.com/schema#",
    "GetV1AutocompleteResponse": "mygeocode:GetV1AutocompleteResponse",
    "status": {
      "@id": "mygeocode:status",
      "@type": "xsd:string"
    },
    "results": {
      "@id": "mygeocode:results",
      "@container": "@list"
    },
    "GetV1ElevationResponse": "mygeocode:GetV1ElevationResponse",
    "GetV1ForwardResponse": "mygeocode:GetV1ForwardResponse",
    "name": {
      "@id": "mygeocode:name",
      "@type": "xsd:string"
    },
    "official_name": {
      "@id": "mygeocode:official_name",
      "@type": "xsd:string"
    },
    "iso2": {
      "@id": "mygeocode:iso2",
      "@type": "xsd:string"
    },
    "iso3": {
      "@id": "mygeocode:iso3",
      "@type": "xsd:string"
    },
    "iso_numeric": {
      "@id": "mygeocode:iso_numeric",
      "@type": "xsd:integer"
    },
    "continent": {
      "@id": "mygeocode:continent",
      "@type": "xsd:string"
    },
    "continent_name": {
      "@id": "mygeocode:continent_name",
      "@type": "xsd:string"
    },
    "un_m49": {
      "@id": "mygeocode:un_m49"
    },
    "groupings": {
      "@id": "mygeocode:groupings",
      "@container": "@list"
    },
    "capital": {
      "@id": "mygeocode:capital",
      "@type": "xsd:string"
    },
    "population": {
      "@id": "mygeocode:population",
      "@type": "xsd:integer"
    },
    "area_km2": {
      "@id": "mygeocode:area_km2",
      "@type": "xsd:decimal"
    },
    "independent": {
      "@id": "mygeocode:independent",
      "@type": "xsd:boolean"
    },
    "un_member": {
      "@id": "mygeocode:un_member",
      "@type": "xsd:boolean"
    },
    "landlocked": {
      "@id": "mygeocode:landlocked",
      "@type": "xsd:boolean"
    },
    "currency": {
      "@id": "mygeocode:currency"
    },
    "calling_code": {
      "@id": "mygeocode:calling_code",
      "@type": "xsd:string"
    },
    "dial": {
      "@id": "mygeocode:dial"
    },
    "languages": {
      "@id": "mygeocode:languages",
      "@container": "@list"
    },
    "tld": {
      "@id": "mygeocode:tld",
      "@type": "xsd:string"
    },
    "flag": {
      "@id": "mygeocode:flag",
      "@type": "xsd:string"
    },
    "wikidata": {
      "@id": "mygeocode:wikidata",
      "@type": "xsd:string"
    },
    "neighbours": {
      "@id": "mygeocode:neighbours",
      "@container": "@list"
    },
    "PostV1ForwardRequest": "mygeocode:PostV1ForwardRequest",
    "queries": {
      "@id": "mygeocode:queries",
      "@container": "@list"
    },
    "GetV1IpResponse": "mygeocode:GetV1IpResponse",
    "GetV1Ipv4Response": "mygeocode:GetV1Ipv4Response",
    "GetV1Ipv6Response": "mygeocode:GetV1Ipv6Response",
    "GetV1PostcodeResponse": "mygeocode:GetV1PostcodeResponse",
    "GetV1ReverseResponse": "mygeocode:GetV1ReverseResponse",
    "result": {
      "@id": "mygeocode:result"
    },
    "PostV1ReverseRequest": "mygeocode:PostV1ReverseRequest",
    "coords": {
      "@id": "mygeocode:coords",
      "@container": "@list"
    },
    "GetV1TimezoneResponse": "mygeocode:GetV1TimezoneResponse",
    "timezone": {
      "@id": "mygeocode:timezone"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "My Geocode API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects My Geocode'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-15) from openapi/_ae-authored/mygeocode-openapi-generated.yml.",
  "dcterms:created": "2026-11-15",
  "dcterms:source": [
    "openapi/_ae-authored/mygeocode-openapi-generated.yml"
  ]
}