{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/EarlinessRestriction", "title": "Earliness restriction", "type": "object", "properties": { "Id": { "type": "string", "description": "Unique identifier of the rate restriction.", "format": "uuid" }, "RateId": { "type": "string", "description": "Unique identifier of the rate.", "format": "uuid" }, "IsInherited": { "type": "boolean", "description": "Whether the rate restriction is inherited from the parent rate." }, "StartUtc": { "type": "string", "description": "Start of the rate restriction in UTC timezone in ISO 8601 format.", "nullable": true }, "EndUtc": { "type": "string", "description": "End of the rate restriction in UTC timezone in ISO 8601 format.", "nullable": true }, "Days": { "type": "array", "items": { "type": "string" }, "description": "The restricted days of week.", "nullable": true }, "ExternalIdentifier": { "type": "string", "description": "Identifiers of from external systems.", "nullable": true }, "MinAdvance": { "type": "string", "description": "The minimum time before the reservation starts, you can reserve in ISO 8601 duration format.", "nullable": true }, "MaxAdvance": { "type": "string", "description": "The maximum time before the reservation starts, you can reserve in ISO 8601 duration format.", "nullable": true } }, "additionalProperties": false, "x-schema-id": "EarlinessRestriction" }