{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-chat-completion-system-message-schema.json",
  "title": "ChatCompletionSystemMessage",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-chat-completions-api-openapi.yml#/components/schemas/ChatCompletionSystemMessage",
  "properties": {
    "role": {
      "const": "system",
      "title": "Role",
      "type": "string"
    },
    "content": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {},
          "type": "array"
        }
      ],
      "title": "Content"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "cache_control": {
      "$ref": "#/$defs/ChatCompletionCachedContent"
    }
  },
  "required": [
    "role",
    "content"
  ],
  "type": "object",
  "$defs": {
    "ChatCompletionCachedContent": {
      "properties": {
        "type": {
          "const": "ephemeral",
          "title": "Type",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "title": "ChatCompletionCachedContent",
      "type": "object"
    }
  }
}