{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceCustomerClass",
	"title": "UneceCustomerClass",
	"description": "The conditions and requirements of the type of person who may use or purchase a product or service.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "CustomerClass",
			"description": "JSON-LD Type."
		},
		"categoryCode": {
			"type": "string",
			"description": "The code specifying the category, such as adult or child, of this specified customer class,."
		},
		"categoryName": {
			"type": "string",
			"description": "A category name, expressed as text, of this specified customer class."
		},
		"description": {
			"type": "string",
			"description": "A textual description of this specified customer class."
		},
		"genderCode": {
			"type": "string",
			"description": "The code specifying the gender in this specified customer class."
		},
		"lowerAgeLimitNumeric": {
			"type": "string",
			"description": "The value, expressed as a number of years, for the lower age limit for the category of this specified customer class."
		},
		"mealServiceCategoryCode": {
			"type": "string",
			"description": "The code specifying the meal service category for this specified customer class."
		},
		"specialBeddingServiceOfferedIndicator": {
			"type": "boolean",
			"description": "The indication of whether or not special bedding service is offered for this specified customer class."
		},
		"upperAgeLimitNumeric": {
			"type": "string",
			"description": "The value, expressed as a number of years, for the upper age limit for the category of this specified customer class."
		}
	},
	"required": ["type"]
}
