{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "IdeChatModel",
  "type": "object",
  "description": "IDE Chat metrics for a specific AI model.",
  "properties": {
    "name": {
      "type": "string"
    },
    "is_custom_model": {
      "type": "boolean"
    },
    "custom_model_training_date": {
      "type": "['string', 'null']"
    },
    "total_engaged_users": {
      "type": "integer"
    },
    "total_chats": {
      "type": "integer",
      "description": "Total number of chat conversations."
    },
    "total_chat_insertion_events": {
      "type": "integer",
      "description": "Number of times chat suggestions were inserted into code."
    },
    "total_chat_copy_events": {
      "type": "integer",
      "description": "Number of times chat responses were copied."
    }
  }
}