{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-get-designation-output-schema.json",
  "title": "GetDesignationOutput",
  "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/GetDesignationOutput",
  "type": "object",
  "properties": {
    "domainId": {
      "type": "string",
      "description": "The identifier of the Amazon DataZone domain that contains the designation."
    },
    "id": {
      "type": "string",
      "description": "The unique ID of the designation."
    },
    "name": {
      "type": "string",
      "description": "The name of the designation. The name is unique within the domain."
    },
    "description": {
      "type": "string",
      "description": "A human-readable description of the designation and its intended use."
    },
    "designationType": {
      "type": "string",
      "enum": [
        "MANAGED",
        "USER_CREATED"
      ],
      "description": "The classification of this designation. Valid values: MANAGED — System-defined designations that cannot be modified or deleted. USER_CREATED — Designations created through CreateDesignation."
    },
    "policy": {
      "type": "string",
      "description": "The Cedar permit policy that governs the actions holders of this designation are allowed to perform."
    },
    "deletionProtection": {
      "type": "boolean",
      "description": "Specifies whether deletion protection is enabled for this designation. When true, DeleteDesignation is rejected until protection is disabled through UpdateDesignation."
    },
    "createdBy": {
      "type": "string",
      "description": "The identifier of the Amazon DataZone user who created the designation."
    },
    "createdAt": {
      "type": "string",
      "description": "The date and time when the designation was created."
    },
    "lastUpdatedAt": {
      "type": "string",
      "description": "The date and time when the designation was last updated."
    }
  },
  "required": [
    "domainId",
    "id",
    "name",
    "designationType",
    "policy",
    "deletionProtection",
    "createdBy"
  ]
}