{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-medialive/refs/heads/main/json-schema/medialive-api-offering-schema.json", "title": "Offering", "description": "Reserved resources available for purchase", "type": "object", "properties": { "Arn": { "allOf": [ { "$ref": "#/components/schemas/__string" }, { "xml": { "name": "arn" }, "description": "Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'" } ] }, "CurrencyCode": { "allOf": [ { "$ref": "#/components/schemas/__string" }, { "xml": { "name": "currencyCode" }, "description": "Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'" } ] }, "Duration": { "allOf": [ { "$ref": "#/components/schemas/__integer" }, { "xml": { "name": "duration" }, "description": "Lease duration, e.g. '12'" } ] }, "DurationUnits": { "allOf": [ { "$ref": "#/components/schemas/OfferingDurationUnits" }, { "xml": { "name": "durationUnits" }, "description": "Units for duration, e.g. 'MONTHS'" } ] }, "FixedPrice": { "allOf": [ { "$ref": "#/components/schemas/__double" }, { "xml": { "name": "fixedPrice" }, "description": "One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering" } ] }, "OfferingDescription": { "allOf": [ { "$ref": "#/components/schemas/__string" }, { "xml": { "name": "offeringDescription" }, "description": "Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'" } ] }, "OfferingId": { "allOf": [ { "$ref": "#/components/schemas/__string" }, { "xml": { "name": "offeringId" }, "description": "Unique offering ID, e.g. '87654321'" } ] }, "OfferingType": { "allOf": [ { "$ref": "#/components/schemas/OfferingType" }, { "xml": { "name": "offeringType" }, "description": "Offering type, e.g. 'NO_UPFRONT'" } ] }, "Region": { "allOf": [ { "$ref": "#/components/schemas/__string" }, { "xml": { "name": "region" }, "description": "AWS region, e.g. 'us-west-2'" } ] }, "ResourceSpecification": { "allOf": [ { "$ref": "#/components/schemas/ReservationResourceSpecification" }, { "xml": { "name": "resourceSpecification" }, "description": "Resource configuration details" } ] }, "UsagePrice": { "allOf": [ { "$ref": "#/components/schemas/__double" }, { "xml": { "name": "usagePrice" }, "description": "Recurring usage charge for each reserved resource, e.g. '157.0'" } ] } } }