{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intencheck-com/json-schema/intencheck-com-analyze-request-schema.json",
  "title": "AnalyzeRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intencheck-com-openapi.json#/components/schemas/AnalyzeRequest",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "title": "Text",
      "description": "Text to analyze. Use natural-language user text, review text, messages, email copy, support conversations, or other customer-facing copy. The request is billed by word count."
    },
    "features": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Features",
      "description": "Optional feature families to include. Supported values: metaprograms, emotions, moods, communication_styles, tone_and_posture. Omit this field to run the full analysis."
    },
    "output_lang": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Lang",
      "description": "ISO 639-1 language code for labels and explanations in the response, for example 'en', 'lt', 'fr', or 'de'. Defaults to Lithuanian ('lt').",
      "default": "lt"
    }
  },
  "type": "object",
  "required": [
    "text"
  ]
}