---
title: "Changes to Validate Cedar policy content against a schema"
method: POST
path: "/zones/{zone_id}/policy-validations"
---

# Changes to Validate Cedar policy content against a schema

`POST /zones/{zone_id}/policy-validations`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 25 revisions.

- **2026-10-16** `0cfaff865771`: 16 breaking, 8 warning, 80 info
- **2026-08-26** `d65d51379d93`: 10 info
- **2026-04-02** `a52e80c8dfdc`: 1 info

## Changes

- **2026-10-16** `0cfaff865771`: 16 breaking, 8 warning, 80 info
  - the response property `details/items/field` became optional for the status `400`
  - the response property `details/items/field` became optional for the status `401`
  - the response property `details/items/field` became optional for the status `403`
  - the response property `details/items/field` became optional for the status `404`
  - the response property `details/items/field` became optional for the status `429`
  - the response property `details/items/field` became optional for the status `500`
  - the response property `details/items/field` became optional for the status `503`
  - the response property `details/items/field` became optional for the status `default`
  - the `details/items/code` response's property type changed from `string` to no type for status `400`
  - the `details/items/code` response's property type changed from `string` to no type for status `401`
  - the `details/items/code` response's property type changed from `string` to no type for status `403`
  - the `details/items/code` response's property type changed from `string` to no type for status `404`
  - the `details/items/code` response's property type changed from `string` to no type for status `429`
  - the `details/items/code` response's property type changed from `string` to no type for status `500`
  - the `details/items/code` response's property type changed from `string` to no type for status `503`
  - the `details/items/code` response's property type changed from `string` to no type for status `default`
  - added the new `not_implemented` enum value to the `code` response property for the response status `400`
  - added the new `not_implemented` enum value to the `code` response property for the response status `401`
  - added the new `not_implemented` enum value to the `code` response property for the response status `403`
  - added the new `not_implemented` enum value to the `code` response property for the response status `404`
  - added the new `not_implemented` enum value to the `code` response property for the response status `429`
  - added the new `not_implemented` enum value to the `code` response property for the response status `500`
  - added the new `not_implemented` enum value to the `code` response property for the response status `503`
  - added the new `not_implemented` enum value to the `code` response property for the response status `default`
  - added `#/components/schemas/pdp_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `400`
  - added `#/components/schemas/pdp_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `401`
  - added `#/components/schemas/pdp_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `403`
  - added `#/components/schemas/pdp_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `404`
  - added `#/components/schemas/pdp_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `429`
  - added `#/components/schemas/pdp_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `500`
  - added `#/components/schemas/pdp_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `503`
  - added `#/components/schemas/pdp_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `default`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `400`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `401`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `403`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `404`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `429`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `500`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `503`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `default`
  - …64 more
- **2026-08-26** `d65d51379d93`: 10 info
  - added the optional property `errors/items/code` to the response with the `200` status
  - added the optional property `errors/items/data` to the response with the `200` status
  - added the optional property `errors/items/help` to the response with the `200` status
  - added the optional property `errors/items/range` to the response with the `200` status
  - added the optional property `errors/items/severity` to the response with the `200` status
  - added the optional property `warnings/items/code` to the response with the `200` status
  - added the optional property `warnings/items/data` to the response with the `200` status
  - added the optional property `warnings/items/help` to the response with the `200` status
  - added the optional property `warnings/items/range` to the response with the `200` status
  - added the optional property `warnings/items/severity` to the response with the `200` status
- **2026-04-02** `a52e80c8dfdc`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/keycardai/apis/keycard-ai-keycard-api/docs/zones/:zone_id/policy-validations/post.md) - [API](https://skmtc.dev/keycardai/apis/keycard-ai-keycard-api.md) - [Page](https://skmtc.dev/keycardai/apis/keycard-ai-keycard-api/changes/zones/:zone_id/policy-validations/post)
