{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/docspeed-ai/json-schema/docspeed-ai-file-ref-schema.json",
  "title": "FileRef",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/docspeed-ai-files-api-openapi.yml#/components/schemas/FileRef",
  "properties": {
    "file_id": {
      "type": "string",
      "title": "File Id"
    },
    "filename": {
      "type": "string",
      "title": "Filename"
    },
    "content_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Content Type"
    },
    "size_bytes": {
      "type": "integer",
      "title": "Size Bytes"
    },
    "created_at": {
      "type": "number",
      "title": "Created At"
    },
    "page_count": {
      "type": "integer",
      "title": "Page Count",
      "default": 1
    }
  },
  "type": "object",
  "required": [
    "file_id",
    "filename",
    "size_bytes",
    "created_at"
  ]
}