{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/docuqueue-com/json-schema/docuqueue-com-shared-document-list-response-schema.json",
  "title": "SharedDocumentListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/docuqueue-com-shared-documents-api-openapi.yml#/components/schemas/SharedDocumentListResponse",
  "properties": {
    "documents": {
      "items": {
        "$ref": "#/$defs/SharedDocumentResponse"
      },
      "type": "array",
      "title": "Documents"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    },
    "page": {
      "type": "integer",
      "title": "Page"
    },
    "per_page": {
      "type": "integer",
      "title": "Per Page"
    }
  },
  "type": "object",
  "required": [
    "documents",
    "total",
    "page",
    "per_page"
  ],
  "$defs": {
    "SharedDocumentResponse": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "slug": {
          "type": "string",
          "title": "Slug"
        },
        "source": {
          "type": "string",
          "title": "Source"
        },
        "original_filename": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Original Filename"
        },
        "share_url": {
          "type": "string",
          "title": "Share Url"
        },
        "file_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "File Size"
        },
        "view_count": {
          "type": "integer",
          "title": "View Count"
        },
        "download_count": {
          "type": "integer",
          "title": "Download Count"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "slug",
        "source",
        "original_filename",
        "share_url",
        "file_size",
        "view_count",
        "download_count",
        "created_at"
      ],
      "title": "SharedDocumentResponse"
    }
  }
}