{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/docugami/main/json-schema/docugami-get-v1-preview1-documents-bn0-px5-iaym7-zresponse-schema.json",
  "title": "GetV1Preview1DocumentsBn0Px5Iaym7ZResponse",
  "x-generated": "2026-10-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/docugami-openapi-generated.yml#/components/schemas/GetV1Preview1DocumentsBn0Px5Iaym7ZResponse",
  "type": "object",
  "properties": {
    "documents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "downloadUrl": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "size": {
            "type": "integer"
          },
          "processedAt": {
            "type": "string",
            "format": "date-time"
          },
          "pageCount": {
            "type": "integer"
          },
          "error": {
            "type": "object",
            "properties": {
              "title": {
                "type": "string"
              },
              "detail": {
                "type": "string"
              }
            }
          },
          "docset": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "dgmlUrl": {
                "type": "string"
              }
            }
          },
          "isSample": {
            "type": "boolean"
          },
          "metadata": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "next": {
      "type": "string"
    },
    "errors": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "status": {
          "type": "integer"
        },
        "detail": {
          "type": "string"
        },
        "instance": {
          "type": "string"
        },
        "property1": {
          "type": [
            "string",
            "null"
          ]
        },
        "property2": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}