{
  "type": "object",
  "properties": {
    "text": {
      "description": "Text to process (first 12,000 characters are used). Use this or url.",
      "type": "string",
      "maxLength": 50000
    },
    "url": {
      "description": "A public web page to read instead of text, e.g. a news article or blog post.",
      "type": "string",
      "maxLength": 2000
    },
    "style": {
      "description": "\"bullets\" (default), \"paragraph\" or \"tldr\" (one sentence).",
      "type": "string",
      "enum": [
        "bullets",
        "paragraph",
        "tldr"
      ]
    },
    "max_words": {
      "description": "Rough length limit for the summary. Default 120.",
      "type": "integer",
      "minimum": 10,
      "maximum": 500
    },
    "language": {
      "description": "Write the summary in this language. Default: the source's language.",
      "type": "string",
      "maxLength": 40
    }
  },
  "additionalProperties": false
}