{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "anyOf": [
    {
      "$ref": "https://json.schemastore.org/schema-org-thing.json"
    }
  ],
  "description": "This is a JSON schema representation of the schema.org Place schema: https://schema.org/Place",
  "id": "https://json.schemastore.org/schema-org-place.json",
  "properties": {
    "@context": {
      "type": "string",
      "format": "regex",
      "pattern": "http://schema.org",
      "description": "override the @context property to ensure the schema.org URI is used"
    },
    "@type": {
      "type": "string",
      "format": "regex",
      "pattern": "Place",
      "description": "override the @type property to ensure Place is used"
    },
    "additionalProperty": {
      "description": "A property-value pair representing an additional characteristics of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.",
      "type": "array",
      "items": {
        "type": "object",
        "description": "PropertyValue"
      }
    },
    "address": {
      "oneOf": [
        {
          "type": "object",
          "description": "PostalAddress"
        },
        {
          "type": "string",
          "description": "Physical address of the item."
        }
      ]
    },
    "aggregateRating": {
      "type": "object",
      "description": "AggregateRating -- The overall rating, based on a collection of reviews or ratings, of the item."
    },
    "amenityFeature": {
      "description": "An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.",
      "type": "array",
      "items": {
        "type": "object",
        "description": "LocationFeatureSpecification"
      }
    },
    "branchCode": {
      "type": "string",
      "description": "A short textual code (also called \"store code\") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs."
    },
    "containedInPlace": {
      "$ref": "https://json.schemastore.org/schema-org-thing.json",
      "description": "Place"
    },
    "containsPlace": {
      "$ref": "https://json.schemastore.org/schema-org-thing.json",
      "description": "Place"
    },
    "event": {
      "type": "object",
      "description": "Event"
    },
    "faxNumber": {
      "type": "string",
      "description": "The fax number."
    },
    "geo": {
      "description": "The geo coordinates of the place.",
      "oneOf": [
        {
          "type": "object",
          "description": "GeoCoordinates"
        },
        {
          "type": "object",
          "description": "GeoShape"
        }
      ]
    },
    "globalLocationNumber": {
      "type": "string",
      "description": "The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.",
      "format": "regex",
      "pattern": "\\b\\d{13}\\b"
    },
    "hasMap": {
      "description": "A URL to a map of the place. Supersedes map, maps.",
      "oneOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "object",
          "description": "Map"
        }
      ]
    },
    "isicV4": {
      "type": "string",
      "description": "The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place."
    },
    "logo": {
      "description": "An associated logo.",
      "oneOf": [
        {
          "type": "object",
          "description": "ImageObject"
        },
        {
          "type": "string",
          "format": "uri"
        }
      ]
    },
    "openingHoursSpecification": {
      "type": "object",
      "description": "OpeningHoursSpecification"
    },
    "photo": {
      "description": "A photograph of this place. Supersedes photos.",
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "description": "ImageObject"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "description": "Photograph"
          }
        }
      ]
    },
    "review": {
      "description": "A review of the item. Supersedes reviews.",
      "type": "array",
      "items": {
        "type": "object",
        "description": "Review"
      }
    },
    "smokingAllowed": {
      "type": "boolean",
      "description": "Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room."
    },
    "specialOpeningHoursSpecification": {
      "description": "The special opening hours of a certain place. Use this to explicitly override general opening hours brought in scope by openingHoursSpecification or openingHours.",
      "type": "array",
      "items": {
        "type": "object",
        "description": "OpeningHoursSpecification"
      }
    },
    "telephone": {
      "type": "string",
      "description": "The telephone number."
    }
  },
  "required": ["@type"],
  "title": "JSON schema for schema.org / Place",
  "type": "object"
}
