{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-api-gateway/json-schema/aws-api-gateway-update-route-response-request-schema.json",
  "title": "UpdateRouteResponseRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-api-gateway-routeresponses-api-openapi.yml#/components/schemas/UpdateRouteResponseRequest",
  "type": "object",
  "properties": {
    "ApiId": {
      "type": "string",
      "description": "The API identifier."
    },
    "ModelSelectionExpression": {
      "type": "string",
      "description": "The model selection expression for the route response. Supported only for WebSocket APIs."
    },
    "ResponseModels": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The response models for the route response."
    },
    "ResponseParameters": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/ParameterConstraints"
      },
      "description": "The route response parameters."
    },
    "RouteId": {
      "type": "string",
      "description": "The route ID."
    },
    "RouteResponseId": {
      "type": "string",
      "description": "The route response ID."
    },
    "RouteResponseKey": {
      "type": "string",
      "description": "The route response key."
    }
  },
  "required": [
    "ApiId",
    "RouteId",
    "RouteResponseId"
  ],
  "$defs": {
    "ParameterConstraints": {
      "type": "object",
      "properties": {
        "Required": {
          "type": "boolean",
          "description": "Whether or not the parameter is required."
        }
      }
    }
  }
}