{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-get-layout-response-schema.json",
  "title": "GetLayoutResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-layouts-api-openapi.yml#/components/schemas/GetLayoutResponse",
  "type": "object",
  "properties": {
    "layoutId": {
      "type": "string",
      "description": "The unique identifier of the layout."
    },
    "layoutArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the newly created layout."
    },
    "name": {
      "type": "string",
      "description": "The name of the layout. It must be unique."
    },
    "content": {
      "$ref": "#/$defs/LayoutContent"
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A map of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource."
    },
    "deleted": {
      "type": "boolean",
      "description": "Denotes whether or not the resource has been deleted."
    },
    "createdTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp at which the resource was created."
    },
    "lastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp at which the resource was created or last modified."
    }
  },
  "required": [
    "layoutId",
    "layoutArn",
    "name",
    "content"
  ],
  "$defs": {
    "BasicLayout": {
      "type": "object",
      "properties": {
        "topPanel": {
          "$ref": "#/$defs/LayoutSections"
        },
        "moreInfo": {
          "$ref": "#/$defs/LayoutSections"
        }
      }
    },
    "FieldGroup": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the field group."
        },
        "fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FieldItem"
          },
          "description": "Represents an ordered list containing field related information."
        }
      },
      "required": [
        "fields"
      ]
    },
    "FieldItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of a field."
        }
      },
      "required": [
        "id"
      ]
    },
    "LayoutContent": {
      "type": "object",
      "properties": {
        "basic": {
          "$ref": "#/$defs/BasicLayout"
        }
      },
      "description": "Exactly one member is set."
    },
    "LayoutSections": {
      "type": "object",
      "properties": {
        "sections": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Section"
          }
        }
      }
    },
    "Section": {
      "type": "object",
      "properties": {
        "fieldGroup": {
          "$ref": "#/$defs/FieldGroup"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}