{
  "type": "object",
  "properties": {
    "data": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500000,
      "description": "The input text (JSON or CSV)."
    },
    "from": {
      "type": "string",
      "enum": [
        "json",
        "csv"
      ],
      "description": "Input format."
    },
    "to": {
      "type": "string",
      "enum": [
        "json",
        "csv",
        "yaml",
        "xml"
      ],
      "description": "Output format."
    },
    "delimiter": {
      "description": "CSV delimiter for input. Default \",\". Use \"\\t\" for TSV.",
      "type": "string"
    }
  },
  "required": [
    "data",
    "from",
    "to"
  ],
  "additionalProperties": false
}