{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-test-custom-code-guardrail-request-schema.json",
  "title": "TestCustomCodeGuardrailRequest",
  "description": "Request model for testing custom code guardrails.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-guardrails-api-openapi.yml#/components/schemas/TestCustomCodeGuardrailRequest",
  "properties": {
    "custom_code": {
      "title": "Custom Code",
      "type": "string"
    },
    "input_type": {
      "default": "request",
      "title": "Input Type",
      "type": "string"
    },
    "request_data": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Request Data"
    },
    "test_input": {
      "additionalProperties": true,
      "title": "Test Input",
      "type": "object"
    }
  },
  "required": [
    "custom_code",
    "test_input"
  ],
  "type": "object"
}