---
title: "Changes to Create Consume Policy for Virtual Cluster"
method: POST
path: "/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies#SchemaValidation"
---

# Changes to Create Consume Policy for Virtual Cluster

`POST /v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies#SchemaValidation`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 8 of 70 revisions.

- **2026-11-05** `f018071a4515`: 2 info
- **2026-10-23** `30af8b28f6ef`: 1 breaking, 3 warning
- **2026-09-30** `f530bf400198`: 2 warning
- **2026-09-25** `4a02153f2e60`: 2 breaking, 20 info
- **2026-07-06** `36da5cb9a674`: 2 info
- **2026-06-26** `4a39c7f85509`: 6 warning, 3 info
- **2026-06-11** `62c54f1094bb`: 4 info
- **2026-02-16** `2b2a72c67bd2`: 1 info

## Changes

- **2026-11-05** `f018071a4515`: 2 info
  - added the new optional request property `config/oneOf[#/components/schemas/EventGatewayConsumeSchemaValidationPolicyInlineSchemaConfig]/key`
  - added the new optional request property `config/oneOf[#/components/schemas/EventGatewayConsumeSchemaValidationPolicyInlineSchemaConfig]/value`
- **2026-10-23** `30af8b28f6ef`: 1 breaking, 3 warning
  - added `#/components/schemas/InvalidParameterMinimumTime, #/components/schemas/InvalidParameterMaximumTime` to the `invalid_parameters/items/` response property `oneOf` list for the response status `400`
  - removed the request property `config/oneOf[#/components/schemas/EventGatewayConsumeSchemaValidationPolicyInlineSchemaConfig]/schema_registry`
  - added the new `key_invalid` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
  - added the new `unique` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
- **2026-09-30** `f530bf400198`: 2 warning
  - added the new `400.00` enum value to the `status` response property for the response status `400`
  - added the new `403.00` enum value to the `status` response property for the response status `403`
- **2026-09-25** `4a02153f2e60`: 2 breaking, 20 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `403`
  - added `inline_schema` discriminator mapping keys to the `config` request property
  - added `#/components/schemas/EventGatewayConsumeSchemaValidationPolicyInlineSchemaConfig` to the `config` request property `oneOf` list
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `400`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `401`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `403`
  - added the optional property `type` to the response with the `400` status
  - added the optional property `type` to the response with the `403` status
  - the response property `detail` became required for the status `401`
  - the response property `instance` became required for the status `401`
  - the response property `status` became required for the status `401`
  - the response property `title` became required for the status `401`
  - added the required property `detail` to the response with the `400` status
  - added the required property `detail` to the response with the `403` status
  - added the required property `instance` to the response with the `400` status
  - added the required property `instance` to the response with the `403` status
  - added the required property `invalid_parameters` to the response with the `400` status
  - added the required property `status` to the response with the `400` status
  - added the required property `status` to the response with the `403` status
  - added the required property `title` to the response with the `400` status
  - added the required property `title` to the response with the `403` status
- **2026-07-06** `36da5cb9a674`: 2 info
  - added the new optional request property `config/oneOf[#/components/schemas/EventGatewayConsumeSchemaValidationPolicyJsonConfig]/failure_mode`
  - added the new optional request property `config/oneOf[#/components/schemas/EventGatewayConsumeSchemaValidationPolicySchemaRegistryConfig]/failure_mode`
- **2026-06-26** `4a39c7f85509`: 6 warning, 3 info
  - removed the request property `config/key_validation_action`
  - removed the request property `config/schema_registry`
  - removed the request property `config/type`
  - removed the request property `config/validate_key`
  - removed the request property `config/validate_value`
  - removed the request property `config/value_validation_action`
  - added discriminator to `config` request property
  - added `#/components/schemas/EventGatewayConsumeSchemaValidationPolicySchemaRegistryConfig, #/components/schemas/EventGatewayConsumeSchemaValidationPolicyJsonConfig` to the `config` request property `oneOf` list
  - the response property `config` became required for the status `201`
- **2026-06-11** `62c54f1094bb`: 4 info
  - added the new optional request property `config/validate_key`
  - added the new optional request property `config/validate_value`
  - request property `config/key_validation_action` deprecated
  - request property `config/value_validation_action` deprecated
- **2026-02-16** `2b2a72c67bd2`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api/docs/v1/event-gateways/:gatewayId/virtual-clusters/:virtualClusterId/consume-policies%23SchemaValidation/post.md) - [API](https://skmtc.dev/kong/apis/konnect-api.md) - [Page](https://skmtc.dev/kong/apis/konnect-api/changes/v1/event-gateways/:gatewayId/virtual-clusters/:virtualClusterId/consume-policies%23SchemaValidation/post)
