{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recall-ai/json-schema/recall-ai-paginated-realtime-endpoint-list-schema.json",
  "title": "PaginatedRealtimeEndpointList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recall-ai-realtime-endpoint-api-openapi.yml#/components/schemas/PaginatedRealtimeEndpointList",
  "type": "object",
  "properties": {
    "next": {
      "type": [
        "string",
        "null"
      ]
    },
    "previous": {
      "type": [
        "string",
        "null"
      ]
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RealtimeEndpoint"
      }
    }
  },
  "$defs": {
    "RealtimeEndpoint": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "recording": {
          "allOf": [
            {
              "$ref": "#/$defs/RecordingMinimal"
            }
          ],
          "readOnly": true
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "type": {
          "type": "string",
          "readOnly": true
        },
        "status": {
          "allOf": [
            {
              "$ref": "#/$defs/RealtimeEndpointStatus"
            }
          ],
          "readOnly": true
        },
        "url": {
          "type": "string",
          "format": "uri",
          "readOnly": true
        },
        "events": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true
        }
      },
      "required": [
        "created_at",
        "events",
        "id",
        "metadata",
        "recording",
        "status",
        "type",
        "url"
      ]
    },
    "RealtimeEndpointStatus": {
      "type": "object",
      "properties": {
        "code": {
          "$ref": "#/$defs/RealtimeEndpointStatusCodeEnum"
        },
        "sub_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "code",
        "sub_code",
        "updated_at"
      ]
    },
    "RealtimeEndpointStatusCodeEnum": {
      "enum": [
        "running",
        "done",
        "failed",
        "deleted"
      ],
      "type": "string",
      "description": "* `running` - Running\n* `done` - Done\n* `failed` - Failed\n* `deleted` - Deleted"
    },
    "RecordingMinimal": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "metadata": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "required": [
        "id",
        "metadata"
      ]
    }
  }
}