{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apiai-me/json-schema/apiai-me-post-api-v1-quality-gate-response-schema.json",
  "title": "PostApiV1QualityGateResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/apiai-me-openapi-generated.yml#/components/schemas/PostApiV1QualityGateResponse",
  "type": "object",
  "properties": {
    "version": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "decision": {
      "type": "string"
    },
    "confidence": {
      "type": "number"
    },
    "policy": {
      "type": "string"
    },
    "reasons": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "signals": {
      "type": "object",
      "properties": {
        "dog_detected": {
          "type": "boolean"
        },
        "nsfw": {
          "type": "boolean"
        }
      }
    },
    "latency_ms": {
      "type": "integer"
    }
  }
}