{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-instances/refs/heads/main/json-schema/azure-container-instances-log-analytics-schema.json",
  "title": "LogAnalytics",
  "description": "Container group log analytics information.",
  "type": "object",
  "properties": {
    "logType": {
      "description": "The log type to be used.",
      "enum": [
        "ContainerInsights",
        "ContainerInstanceLogs"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "LogAnalyticsLogType"
      }
    },
    "metadata": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Metadata for log analytics.",
      "type": "object"
    },
    "workspaceId": {
      "description": "The workspace id for log analytics",
      "type": "string"
    },
    "workspaceKey": {
      "description": "The workspace key for log analytics",
      "type": "string"
    }
  },
  "required": [
    "workspaceId",
    "workspaceKey"
  ]
}