{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceSpecifiedPeriod",
	"title": "UneceSpecifiedPeriod",
	"description": "A specified period of time.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "SpecifiedPeriod",
			"description": "JSON-LD Type."
		},
		"completeDateTime": {
			"type": "string",
			"description": "The date, time, date time or other date time value for a complete specified period of time expressed as a specific\nmonth, a specific week, etc.",
			"format": "date-time"
		},
		"continuousIndicator": {
			"type": "boolean",
			"description": "The indication of whether or not this specified period is continuous."
		},
		"dayQuantity": {
			"$ref": "https://schema.twindev.org/unece/UneceQuantityType",
			"description": "The number of days in this specified period."
		},
		"description": {
			"type": "string",
			"description": "A textual description of this specified period of time."
		},
		"duration": {
			"type": "string",
			"description": "A duration, expressed as text, for this specified period."
		},
		"durationMeasure": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceMeasureType"
			},
			"description": "A measure of the length of time for this specified time period such as hours, days, weeks, months, years."
		},
		"endDateTime": {
			"type": "string",
			"description": "The date, time, date time or other date time value for the end of this specified period of time.",
			"format": "date-time"
		},
		"endDayOfWeekCode": {
			"type": "string",
			"description": "The code specifying the end day of the week for this specified period."
		},
		"identifier": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The unique identifier of this specified period."
		},
		"inclusiveIndicator": {
			"type": "boolean",
			"description": "The indication of whether or not the start and end dates are included in this specified period."
		},
		"maximumDurationMeasure": {
			"$ref": "https://schema.twindev.org/unece/UneceDurationUnitMeasureType",
			"description": "The measure of the maximum length of time for this specified period, such as hours, days, weeks, months, years."
		},
		"minimumDurationMeasure": {
			"$ref": "https://schema.twindev.org/unece/UneceDurationUnitMeasureType",
			"description": "The measure of the minimum length of time for this specified period, such as hours, days, weeks, months, years."
		},
		"name": {
			"type": "string",
			"description": "A name, expressed as text, of this specified period."
		},
		"nightQuantity": {
			"$ref": "https://schema.twindev.org/unece/UneceQuantityType",
			"description": "The number of nights in this specified period."
		},
		"openIndicator": {
			"type": "boolean",
			"description": "The indication of whether or not an entity is open during this specified period."
		},
		"purposeCode": {
			"type": "string",
			"description": "The code specifying the purpose of this specified period."
		},
		"seasonCode": {
			"type": "string",
			"description": "The code specifying the season for this specified period."
		},
		"sequenceNumeric": {
			"type": "string",
			"description": "A sequence number for this specified period."
		},
		"startDateFlexibilityCode": {
			"type": "string",
			"description": "The code specifying the flexibility of the start date of this specified period."
		},
		"startDateTime": {
			"type": "string",
			"description": "The date, time, date time or other date time value for the start of this specified period of time.",
			"format": "date-time"
		},
		"startDayOfWeekCode": {
			"type": "string",
			"description": "The code specifying the start day of the week for this specified period."
		},
		"typeCode": {
			"anyOf": [
				{
					"$ref": "https://schema.twindev.org/unece/UneceSpecifiedPeriodTypeCodeList"
				},
				{
					"type": "string"
				}
			],
			"description": "The code specifying the type of specified period."
		}
	},
	"required": ["type"]
}
