{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-opensearch/refs/heads/main/json-schema/openapi-duration-schema.json", "title": "Duration", "description": "Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.", "type": "object", "properties": { "Value": { "allOf": [ { "$ref": "#/components/schemas/DurationValue" }, { "description": " Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information." } ] }, "Unit": { "allOf": [ { "$ref": "#/components/schemas/TimeUnit" }, { "description": "Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information." } ] } } }