{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lightsail/json-schema/amazon-lightsail-get-cost-estimate-request-schema.json",
  "title": "GetCostEstimateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-lightsail-cost-estimate-api-openapi.yml#/components/schemas/GetCostEstimateRequest",
  "type": "object",
  "properties": {
    "resourceName": {
      "allOf": [
        {
          "$ref": "#/$defs/ResourceName"
        }
      ],
      "description": "The resource name."
    },
    "startTime": {
      "allOf": [
        {
          "$ref": "#/$defs/IsoDate"
        }
      ],
      "description": "The cost estimate start time. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you want to use a start time of October 1, 2018, at 8 PM UTC, specify 1538424000 as the start time. You can convert a human-friendly time to Unix time format using a converter like Epoch converter ."
    },
    "endTime": {
      "allOf": [
        {
          "$ref": "#/$defs/IsoDate"
        }
      ],
      "description": "The cost estimate end time. Constraints: Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you want to use an end time of October 1, 2018, at 9 PM UTC, specify 1538427600 as the end time. You can convert a human-friendly time to Unix time format using a converter like Epoch converter ."
    }
  },
  "required": [
    "resourceName",
    "startTime",
    "endTime"
  ],
  "$defs": {
    "IsoDate": {
      "type": "string",
      "format": "date-time"
    },
    "ResourceName": {
      "type": "string",
      "pattern": "^\\w[\\w\\-]*\\w$"
    }
  }
}