Perplexity · Schema

ResponseFormatText

Properties

Name Type Description
type string Must be `text`.
View JSON Schema on GitHub

JSON Schema

perplexity-responseformattext-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResponseFormatText",
  "title": "ResponseFormatText",
  "properties": {
    "type": {
      "type": "string",
      "const": "text",
      "title": "Type",
      "description": "Must be `text`."
    }
  },
  "type": "object",
  "required": [
    "type"
  ]
}