{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-create-designation-input-schema.json",
  "title": "CreateDesignationInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-designations-api-openapi.yml#/components/schemas/CreateDesignationInput",
  "type": "object",
  "properties": {
    "domainIdentifier": {
      "type": "string",
      "description": "The identifier of the Amazon DataZone domain in which the designation is created."
    },
    "name": {
      "type": "string",
      "description": "The name of the designation. The name must be unique within the domain."
    },
    "description": {
      "type": "string",
      "description": "A human-readable description of the designation and its intended use."
    },
    "policy": {
      "type": "string",
      "description": "The Cedar permit policy that defines the actions holders of this designation are allowed to perform."
    },
    "deletionProtection": {
      "type": "boolean",
      "description": "Specifies whether deletion protection is enabled for this designation. Defaults to true when omitted. When enabled, DeleteDesignation is rejected until protection is disabled through UpdateDesignation."
    }
  },
  "required": [
    "domainIdentifier",
    "name",
    "policy"
  ]
}