{
  "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
    },
    "fields": {
      "minItems": 1,
      "maxItems": 30,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "description": "Fields to extract, optionally with a hint after a colon: [\"company\", \"price: monthly price in USD\", \"emails: all email addresses\"]."
    }
  },
  "required": [
    "fields"
  ],
  "additionalProperties": false
}