{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lightsail/json-schema/amazon-lightsail-get-regions-result-schema.json",
  "title": "GetRegionsResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-lightsail-regions-api-openapi.yml#/components/schemas/GetRegionsResult",
  "type": "object",
  "properties": {
    "regions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Region"
      },
      "description": "An array of key-value pairs containing information about your get regions request."
    }
  },
  "$defs": {
    "AvailabilityZone": {
      "type": "object",
      "properties": {
        "zoneName": {
          "type": "string",
          "description": "The name of the Availability Zone. The format is us-east-2a (case-sensitive)."
        },
        "state": {
          "type": "string",
          "description": "The state of the Availability Zone."
        }
      }
    },
    "Region": {
      "type": "object",
      "properties": {
        "continentCode": {
          "type": "string",
          "description": "The continent code (NA, meaning North America)."
        },
        "description": {
          "type": "string",
          "description": "The description of the Amazon Web Services Region (This region is recommended to serve users in the eastern United States and eastern Canada)."
        },
        "displayName": {
          "type": "string",
          "description": "The display name (Ohio)."
        },
        "name": {
          "type": "string",
          "enum": [
            "us-east-1",
            "us-east-2",
            "us-west-1",
            "us-west-2",
            "eu-west-1",
            "eu-west-2",
            "eu-west-3",
            "eu-central-1",
            "eu-north-1",
            "eu-south-2",
            "ca-central-1",
            "ap-east-1",
            "ap-south-1",
            "ap-southeast-1",
            "ap-southeast-2",
            "ap-northeast-1",
            "ap-northeast-2",
            "ap-southeast-3",
            "ap-southeast-5",
            "sa-east-1"
          ],
          "description": "The region name (us-east-2)."
        },
        "availabilityZones": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AvailabilityZone"
          },
          "description": "The Availability Zones. Follows the format us-east-2a (case-sensitive)."
        },
        "relationalDatabaseAvailabilityZones": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AvailabilityZone"
          },
          "description": "The Availability Zones for databases. Follows the format us-east-2a (case-sensitive)."
        }
      }
    }
  }
}