{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-verified-permissions/json-schema/amazon-verified-permissions-update-policy-store-input-schema.json",
  "title": "UpdatePolicyStoreInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-verified-permissions-updatepolicystore-api-openapi.yml#/components/schemas/UpdatePolicyStoreInput",
  "type": "object",
  "properties": {
    "policyStoreId": {
      "type": "string",
      "description": "Specifies the ID of the policy store that you want to update To specify a policy store, use its ID or alias name. When using an alias name, prefix it with policy-store-alias/. For example: ID: PSEXAMPLEabcdefg111111 Alias name: policy-store-alias/example-policy-store To view aliases, use ListPolicyStoreAliases."
    },
    "validationSettings": {
      "$ref": "#/$defs/ValidationSettings"
    },
    "deletionProtection": {
      "type": "string",
      "enum": [
        "ENABLED",
        "DISABLED"
      ],
      "description": "Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted. When you call UpdatePolicyStore, this parameter is unchanged unless explicitly included in the call."
    },
    "description": {
      "type": "string",
      "description": "Descriptive text that you can provide to help with identification of the current policy store."
    }
  },
  "required": [
    "policyStoreId",
    "validationSettings"
  ],
  "$defs": {
    "ValidationSettings": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "OFF",
            "STRICT"
          ],
          "description": "The validation mode currently configured for this policy store. The valid values are: OFF – Neither Verified Permissions nor Cedar perform any validation on policies. No validation errors are reported by either service. STRICT – Requires a schema to be present in the policy store. Cedar performs validation on all submitted new or updated static policies and policy templates. Any that fail validation are rejected and Cedar doesn't store them in the policy store. If Mode=STRICT and the policy store doesn't contain a schema, Verified Permissions rejects all static policies and policy templates be"
        }
      },
      "required": [
        "mode"
      ]
    }
  }
}