{
	"id": "GeoShape.json",
	"title": "Geo Shape",
	"description": "The geographic shape of a place. A GeoShape can be described using several properties whose values are based on latitude/longitude pairs. Either whitespace or commas can be used to separate latitude and longitude; whitespace should be used when writing a list of several such points.",
	"media": {"type": "application/json;profile=http://schema.org/GeoShape"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}, {"$ref": "StructuredValue.json"}],
	"type": "object",
	"properties": {
		"address": {"$ref": "#/definitions/address"},
		"addressCountry": {"$ref": "#/definitions/addressCountry"},
		"box": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/box"}
				},
				{"$ref": "#/definitions/box"}
			]
		},
		"circle": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/circle"}
				},
				{"$ref": "#/definitions/circle"}
			]
		},
		"elevation": {"$ref": "#/definitions/elevation"},
		"line": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/line"}
				},
				{"$ref": "#/definitions/line"}
			]
		},
		"polygon": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/polygon"}
				},
				{"$ref": "#/definitions/polygon"}
			]
		},
		"postalCode": {"$ref": "#/definitions/postalCode"}
	},
	"definitions": {
		"address": {
			"title": "Address",
			"description": "Physical address of the item.",
			"anyOf": [{"type": "string"}, {"$ref": "PostalAddress.json#/definitions/possibleRef"}]
		},
		"addressCountry": {
			"title": "Address Country",
			"description": "The country. For example, USA. You can also provide the two-letter ISO 3166-1 alpha-2 country code.",
			"anyOf": [{"$ref": "Country.json#/definitions/possibleRef"}, {"type": "string"}]
		},
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"box": {
			"title": "Box",
			"description": "A box is the area enclosed by the rectangle formed by two points. The first point is the lower corner, the second point is the upper corner. A box is expressed as two points separated by a space character.",
			"type": "string"
		},
		"circle": {
			"title": "Circle",
			"description": "A circle is the circular region of a specified radius centered at a specified latitude and longitude. A circle is expressed as a pair followed by a radius in meters.",
			"type": "string"
		},
		"elevation": {
			"title": "Elevation",
			"description": "The elevation of a location (WGS 84). Values may be of the form 'NUMBER UNITOFMEASUREMENT' (e.g., '1,000 m', '3,200 ft') while numbers alone should be assumed to be a value in meters.",
			"anyOf": [{"type": "string"}, {"type": "number"}]
		},
		"line": {
			"title": "Line",
			"description": "A line is a point-to-point path consisting of two or more points. A line is expressed as a series of two or more point objects separated by space.",
			"type": "string"
		},
		"polygon": {
			"title": "Polygon",
			"description": "A polygon is the area enclosed by a point-to-point path for which the starting and ending points are the same. A polygon is expressed as a series of four or more space delimited points where the first and final points are identical.",
			"type": "string"
		},
		"possibleRef": {
			"oneOf": [
				{"$ref": "#"},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"possibleRefArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/possibleRef"}
				},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"postalCode": {
			"title": "Postal Code",
			"description": "The postal code. For example, 94043.",
			"type": "string"
		}
	}
}