{
  "description": "DirectResponse contains configuration for defining direct response routes.",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "DirectResponseSpec describes the desired state of a DirectResponse.",
      "properties": {
        "body": {
          "description": "Body defines the content to be returned in the HTTP response body.\nThe maximum length of the body is restricted to prevent excessively large responses.\nIf this field is omitted, no body is included in the response.",
          "maxLength": 4096,
          "minLength": 1,
          "type": "string"
        },
        "status": {
          "description": "StatusCode defines the HTTP status code to return for this route.",
          "format": "int32",
          "maximum": 599,
          "minimum": 200,
          "type": "integer"
        }
      },
      "required": [
        "status"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "DirectResponseStatus defines the observed state of a DirectResponse.",
      "type": "object"
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}
