{
	"id": "PostalAddress.json",
	"title": "Postal Address",
	"description": "The mailing address.",
	"media": {"type": "application/json;profile=http://schema.org/PostalAddress"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}, {"$ref": "StructuredValue.json"}, {"$ref": "ContactPoint.json"}],
	"type": "object",
	"properties": {
		"addressCountry": {"$ref": "#/definitions/addressCountry"},
		"addressLocality": {"$ref": "#/definitions/addressLocality"},
		"addressRegion": {"$ref": "#/definitions/addressRegion"},
		"postOfficeBoxNumber": {"$ref": "#/definitions/postOfficeBoxNumber"},
		"postalCode": {"$ref": "#/definitions/postalCode"},
		"streetAddress": {"$ref": "#/definitions/streetAddress"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"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"}]
		},
		"addressLocality": {
			"title": "Address Locality",
			"description": "The locality in which the street address is, and which is in the region. For example, Mountain View.",
			"type": "string"
		},
		"addressRegion": {
			"title": "Address Region",
			"description": "The region in which the locality is, and which is in the country. For example, California or another appropriate first-level Administrative division",
			"type": "string"
		},
		"postOfficeBoxNumber": {
			"title": "Post Office Box Number",
			"description": "The post office box number for PO box addresses.",
			"type": "string"
		},
		"postalCode": {
			"title": "Postal Code",
			"description": "The postal code. For example, 94043.",
			"type": "string"
		},
		"streetAddress": {
			"title": "Street Address",
			"description": "The street address. For example, 1600 Amphitheatre Pkwy.",
			"type": "string"
		}
	}
}