{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceLocation",
	"title": "UneceLocation",
	"description": "A reference to a physical location or place.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "Location",
			"description": "JSON-LD Type."
		},
		"applicableSpecifiedInspection": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSpecifiedInspection"
			},
			"description": "A specified inspection applicable to this referenced location."
		},
		"applicableSustainabilityCharacteristic": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSustainabilityCharacteristic"
			},
			"description": "A sustainability characteristic applicable to this referenced location."
		},
		"applicableSustainabilityInspection": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSustainabilityInspection"
			},
			"description": "A sustainability inspection applicable to this referenced location."
		},
		"appliedAgriculturalApplication": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAgriculturalApplication"
			},
			"description": "A specified agricultural application applied to this referenced location."
		},
		"associatedGeographicalFeature": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceGeographicalFeature"
			},
			"description": "A geographical feature associated with this referenced location."
		},
		"countryName": {
			"type": "string",
			"description": "The country name, expressed as text, of this referenced location."
		},
		"countrySubDivisionId": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The identifier of the country sub-division for this referenced location."
		},
		"definedCoordinateReferenceSystem": {
			"$ref": "https://schema.twindev.org/unece/UneceCoordinateReferenceSystem",
			"description": "The Coordinate System (CS) engineering coordinate reference system defined for this referenced location."
		},
		"description": {
			"type": "string",
			"description": "A textual description for this referenced location."
		},
		"globalId": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "A global identifier of this referenced location."
		},
		"identifier": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "An identifier for this referenced location such as a United Nations Blue Number (UNBN) or GS1 Global Location Number\n(GLN)."
		},
		"includedPolygon": {
			"$ref": "https://schema.twindev.org/unece/UnecePolygon",
			"description": "The polygon included for this referenced location."
		},
		"locationCountryId": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The identifier of the country for this referenced location."
		},
		"locationReferenceTypeCode": {
			"type": "string",
			"description": "The code specifying the reference type of this referenced location."
		},
		"locationTypeCode": {
			"type": "string",
			"description": "The code specifying the type of referenced location."
		},
		"name": {
			"type": "string",
			"description": "A name, expressed as text, of this referenced location."
		},
		"physicalGeographicalFeature": {
			"$ref": "https://schema.twindev.org/unece/UneceGeographicalFeature",
			"description": "The physical geographical feature specified for this referenced location."
		},
		"physicalGeographicalPoint": {
			"$ref": "https://schema.twindev.org/unece/UneceGeographicalPoint",
			"description": "The physical geographical point specified for this location."
		},
		"postalAddress": {
			"$ref": "https://schema.twindev.org/unece/UneceTradeAddress",
			"description": "The postal trade address for this referenced location."
		},
		"relatedProductionUnit": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceProductionUnit"
			},
			"description": "A facility production unit related to this referenced location."
		},
		"specifiedAssertion": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAssertion"
			},
			"description": "A sustainability assertion specified for this referenced location."
		},
		"specifiedFacility": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceProductionFacility"
			},
			"description": "A production facility specified for this referenced location."
		},
		"specifiedInventory": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSupplyChainInventory"
			},
			"description": "Supply chain inventory specified for this referenced location."
		},
		"specifiedLaboratoryObservationReference": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceLaboratoryObservationReference"
			},
			"description": "A laboratory observation reference specified for this referenced location."
		},
		"specifiedSupplyChainEvent": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSupplyChainEvent"
			},
			"description": "A supply chain event specified for this referenced location."
		},
		"specifiedTradeParty": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceTradeParty"
			},
			"description": "A trade party specified for this referenced location."
		},
		"uTCOffsetNumeric": {
			"type": "string",
			"description": "The UTC (Universal Time Coordinate) time offset value for this referenced location."
		}
	},
	"required": ["type"]
}
