{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceSpeciesTTAnimal",
	"title": "UneceSpeciesTTAnimal",
	"description": "The species of a Track and Trace (TT) animal or batch of animals.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "SpeciesTTAnimal",
			"description": "JSON-LD Type."
		},
		"regulationSpeciesNameTypeCode": {
			"type": "string",
			"description": "A code specifying the type of regulation species name for this TT animal."
		},
		"scientificSpeciesNameTypeCode": {
			"type": "string",
			"description": "A code specifying the type of scientific species name for this TT animal."
		},
		"speciesTypeCode": {
			"type": "string",
			"description": "A code specifying the species type of this TT animal."
		},
		"tradeSpeciesNameTypeCode": {
			"type": "string",
			"description": "A code specifying the type of trade species name for this TT animal."
		}
	},
	"required": ["type", "speciesTypeCode"]
}
