{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faxforagents/json-schema/faxforagents-upload-create-schema.json",
  "title": "UploadCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/faxforagents-documents-api-openapi.yml#/components/schemas/UploadCreate",
  "properties": {
    "filename": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Filename"
    },
    "content_type": {
      "type": "string",
      "maxLength": 100,
      "title": "Content Type",
      "description": "application/pdf, image/png, image/jpeg or image/tiff. An image becomes 8-bit gray letter pages, since fax is monochrome. A frame wider than it is tall is rotated. A frame above 300 dpi letter is downsampled. Every TIFF frame is a page. PNG and JPEG take the first frame. The bytes must be the declared type.",
      "default": "application/pdf"
    },
    "size_bytes": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Size Bytes"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "filename",
    "size_bytes"
  ]
}