{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-usage-detail-response-schema.json",
  "title": "UsageDetailResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-guardrails-api-openapi.yml#/components/schemas/UsageDetailResponse",
  "properties": {
    "avgLatency": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Avglatency"
    },
    "avgScore": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Avgscore"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "failRate": {
      "title": "Failrate",
      "type": "number"
    },
    "guardrail_id": {
      "title": "Guardrail Id",
      "type": "string"
    },
    "guardrail_name": {
      "title": "Guardrail Name",
      "type": "string"
    },
    "provider": {
      "title": "Provider",
      "type": "string"
    },
    "requestsEvaluated": {
      "title": "Requestsevaluated",
      "type": "integer"
    },
    "status": {
      "title": "Status",
      "type": "string"
    },
    "time_series": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "title": "Time Series",
      "type": "array"
    },
    "trend": {
      "title": "Trend",
      "type": "string"
    },
    "type": {
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "guardrail_id",
    "guardrail_name",
    "type",
    "provider",
    "requestsEvaluated",
    "failRate",
    "avgScore",
    "avgLatency",
    "status",
    "trend",
    "description",
    "time_series"
  ],
  "type": "object"
}