{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-src-routes-external-roles-list-response-schema.json",
  "title": "ListResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-external-roles-api-openapi.yml#/components/schemas/src__routes__external_roles__ListResponse",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/ExternalRoleItem"
      },
      "type": "array",
      "title": "Items"
    },
    "has_more": {
      "type": "boolean",
      "title": "Has More"
    },
    "continuation_token": {
      "title": "Continuation Token"
    }
  },
  "type": "object",
  "required": [
    "items",
    "has_more"
  ],
  "$defs": {
    "ExternalRoleItem": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "external_name": {
          "type": "string",
          "title": "External Name"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name",
        "external_name",
        "created_at",
        "updated_at"
      ],
      "title": "ExternalRoleItem",
      "description": "Wire shape for read + create responses."
    }
  }
}