{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-verified-permissions/json-schema/amazon-verified-permissions-get-policy-store-output-schema.json",
  "title": "GetPolicyStoreOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-verified-permissions-getpolicystore-api-openapi.yml#/components/schemas/GetPolicyStoreOutput",
  "type": "object",
  "properties": {
    "policyStoreId": {
      "type": "string",
      "description": "The ID of the policy store;"
    },
    "arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the policy store."
    },
    "validationSettings": {
      "$ref": "#/$defs/ValidationSettings"
    },
    "createdDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time that the policy store was originally created."
    },
    "lastUpdatedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time that the policy store was last updated."
    },
    "description": {
      "type": "string",
      "description": "Descriptive text that you can provide to help with identification of the current policy store."
    },
    "deletionProtection": {
      "type": "string",
      "enum": [
        "ENABLED",
        "DISABLED"
      ],
      "description": "Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted. The default state is DISABLED."
    },
    "encryptionState": {
      "$ref": "#/$defs/EncryptionState"
    },
    "cedarVersion": {
      "type": "string",
      "enum": [
        "CEDAR_2",
        "CEDAR_4"
      ],
      "description": "The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see Amazon Verified Permissions upgrade to Cedar v4 FAQ."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The list of tags associated with the policy store."
    }
  },
  "required": [
    "policyStoreId",
    "arn",
    "validationSettings",
    "createdDate",
    "lastUpdatedDate"
  ],
  "$defs": {
    "EncryptionState": {
      "type": "object",
      "properties": {
        "kmsEncryptionState": {
          "$ref": "#/$defs/KmsEncryptionState"
        },
        "default": {
          "type": "string",
          "description": "This is the default encryption state. The policy store is encrypted using an Amazon Web Services owned key."
        }
      },
      "description": "Exactly one member is set."
    },
    "KmsEncryptionState": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The customer-managed KMS key Amazon Resource Name (ARN) being used for encryption processes."
        },
        "encryptionContext": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "User-defined, additional context added to encryption processes."
        }
      },
      "required": [
        "key",
        "encryptionContext"
      ]
    },
    "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"
      ]
    }
  }
}