{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sitegpt-ai/json-schema/sitegpt-ai-prompt-button-schema.json",
  "title": "PromptButton",
  "description": "A conversation starter or follow-up prompt button shown in the widget.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sitegpt-ai-conversation-followups-api-openapi.yml#/components/schemas/PromptButton",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "link": {
      "type": [
        "string",
        "null"
      ]
    },
    "isEscalationPrompt": {
      "type": "boolean"
    },
    "functionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "order": {
      "type": [
        "number",
        "null"
      ]
    },
    "type": {
      "type": "string",
      "enum": [
        "ESCALATION",
        "LINK",
        "PROMPT"
      ]
    },
    "paths": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Per-page scoping; starters only (followups never carry this field). Null means every page."
    }
  }
}