{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mainbook-ai/json-schema/mainbook-ai-create-job-request-schema.json",
  "title": "CreateJobRequest",
  "description": "Public v1 create body; every field is required by FileMeta.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mainbook-ai-openapi.yml#/components/schemas/CreateJobRequest",
  "type": "object",
  "properties": {
    "filename": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "file_format": {
      "type": "string",
      "minLength": 1,
      "maxLength": 8
    },
    "size_bytes": {
      "type": "integer",
      "minimum": 1
    },
    "page_count": {
      "type": "integer",
      "minimum": 1
    }
  },
  "required": [
    "file_format",
    "filename",
    "page_count",
    "size_bytes"
  ]
}