{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-get-group-response-schema.json",
  "title": "GetGroupResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-groups-api-openapi.yml#/components/schemas/GetGroupResponse",
  "type": "object",
  "properties": {
    "status": {
      "$ref": "#/$defs/GroupStatusDetail"
    },
    "statusHistory": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GroupStatusDetail"
      },
      "description": "The status history of the group."
    }
  },
  "$defs": {
    "ErrorDetail": {
      "type": "object",
      "properties": {
        "errorMessage": {
          "type": "string",
          "description": "The message explaining the Amazon Q Business request error."
        },
        "errorCode": {
          "type": "string",
          "enum": [
            "InternalError",
            "InvalidRequest",
            "ResourceInactive",
            "ResourceNotFound"
          ],
          "description": "The code associated with the Amazon Q Business request error."
        }
      }
    },
    "GroupStatusDetail": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "FAILED",
            "SUCCEEDED",
            "PROCESSING",
            "DELETING",
            "DELETED"
          ],
          "description": "The status of a group."
        },
        "lastUpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix timestamp when the Amazon Q Business application was last updated."
        },
        "errorDetail": {
          "$ref": "#/$defs/ErrorDetail"
        }
      }
    }
  }
}