{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zero-slop-ai/json-schema/zero-slop-ai-deslop-input-schema.json",
  "title": "DeslopInput",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zero-slop-ai-openapi.json#/components/schemas/DeslopInput",
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20000,
      "description": "The complete draft supplied as data for editing."
    },
    "genre": {
      "default": "general",
      "description": "Publication context: social for LinkedIn or X; research and professional retain formal register.",
      "type": "string",
      "enum": [
        "general",
        "social",
        "email",
        "research",
        "professional"
      ]
    },
    "audience": {
      "description": "Optional intended reader or destination when that context is not clear from the draft.",
      "type": "string",
      "maxLength": 200
    },
    "operation": {
      "description": "Optional local character cleanup only. Does not call an editing model or verify statistical watermark removal.",
      "type": "string",
      "const": "clean_text"
    }
  },
  "required": [
    "text"
  ]
}