{
	"id": "Airport.json",
	"title": "Airport",
	"description": "An airport.",
	"media": {"type": "application/json;profile=http://schema.org/Airport"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Place.json"}, {"$ref": "CivicStructure.json"}],
	"type": "object",
	"properties": {
		"iataCode": {
			"oneOf": [
				{"$ref": "#/definitions/iataCode"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/iataCode"}
				}
			]
		},
		"icaoCode": {
			"oneOf": [
				{"$ref": "#/definitions/icaoCode"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/icaoCode"}
				}
			]
		}
	},
	"definitions": {
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"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": "{+$}"
					}]
				}
			]
		},
		"iataCode": {
			"title": "Iata Code",
			"description": "IATA identifier for an airline or airport.",
			"type": "string"
		},
		"icaoCode": {
			"title": "Icao Code",
			"description": "ICAO identifier for an airport.",
			"type": "string"
		}
	}
}