{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-verified-permissions/json-schema/amazon-verified-permissions-put-schema-input-schema.json",
  "title": "PutSchemaInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-verified-permissions-putschema-api-openapi.yml#/components/schemas/PutSchemaInput",
  "type": "object",
  "properties": {
    "policyStoreId": {
      "type": "string",
      "description": "Specifies the ID of the policy store in which to place the schema. 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."
    },
    "definition": {
      "$ref": "#/$defs/SchemaDefinition"
    }
  },
  "required": [
    "policyStoreId",
    "definition"
  ],
  "$defs": {
    "SchemaDefinition": {
      "type": "object",
      "properties": {
        "cedarJson": {
          "type": "string",
          "description": "A JSON string representation of the schema supported by applications that use this policy store. To delete the schema, run PutSchema with {} for this parameter. For more information, see Policy store schema in the Amazon Verified Permissions User Guide."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}