OpenTripMap · Schema

SimpleFeature

TravelPoints of InterestPOITourismMapsGeospatialOpenStreetMapWikipediaAttractionsRestaurantsHotelsMuseumsREST API

Properties

Name Type Description
xid string Unique identifier of the object in OpenTripMap
name string The name of the object
kinds string Comma-separated list of categories. [see List of categories](https://dev.opentripmap.com/en/catalog.tree.json)
osm string OpenStreetMap identifier of the object
wikidata string Wikidata identifier of the object
dist number Distance in meters from selected point (for radius query)
point object Point location of the object
View JSON Schema on GitHub

JSON Schema

simplefeature.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/opentripmap/refs/heads/main/json-schema/simplefeature.json",
  "title": "SimpleFeature",
  "required": [
    "xid",
    "name",
    "kinds",
    "point"
  ],
  "type": "object",
  "properties": {
    "xid": {
      "description": "Unique identifier of the object in OpenTripMap",
      "type": "string"
    },
    "name": {
      "description": "The name of the object",
      "type": "string"
    },
    "kinds": {
      "description": "Comma-separated list of categories. [see List of categories](https://dev.opentripmap.com/en/catalog.tree.json)",
      "type": "string"
    },
    "osm": {
      "description": "OpenStreetMap identifier of the object",
      "type": "string"
    },
    "wikidata": {
      "description": "Wikidata  identifier of the object",
      "type": "string"
    },
    "dist": {
      "description": "Distance in meters from selected point (for radius query)",
      "type": "number",
      "format": "double"
    },
    "point": {
      "type": "object",
      "description": "Point location of the object",
      "properties": {
        "lon": {
          "description": "Longitude",
          "type": "number",
          "format": "double"
        },
        "lat": {
          "description": "Latitude",
          "type": "number",
          "format": "double"
        }
      }
    }
  },
  "example": {
    "name": "Oakland City Hall",
    "osm": "relation/4682064",
    "xid": "R4682064",
    "wikidata": "Q932794",
    "kind": "architecture,other_buildings_and_structures,historic_architecture,interesting_places",
    "point": {
      "lon": -122.272705,
      "lat": 37.80513
    }
  }
}