{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/call2me-app/json-schema/call2me-app-ask-request-schema.json",
  "title": "AskRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/call2me-app-extensions-api-openapi.yml#/components/schemas/AskRequest",
  "properties": {
    "question": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 1,
      "title": "Question"
    },
    "page": {
      "anyOf": [
        {
          "$ref": "#/$defs/PageIn"
        },
        {
          "type": "null"
        }
      ]
    },
    "lang": {
      "type": "string",
      "maxLength": 8,
      "title": "Lang",
      "default": "en"
    }
  },
  "type": "object",
  "required": [
    "question"
  ],
  "$defs": {
    "PageIn": {
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048,
          "title": "Url",
          "default": ""
        },
        "title": {
          "type": "string",
          "maxLength": 512,
          "title": "Title",
          "default": ""
        },
        "text": {
          "type": "string",
          "maxLength": 500000,
          "title": "Text",
          "default": ""
        }
      },
      "type": "object",
      "title": "PageIn"
    }
  }
}