{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-create-asset-revision-input-schema.json",
  "title": "CreateAssetRevisionInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-revisions-api-openapi.yml#/components/schemas/CreateAssetRevisionInput",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Te revised name of the asset."
    },
    "domainIdentifier": {
      "type": "string",
      "description": "The unique identifier of the domain where the asset is being revised."
    },
    "identifier": {
      "type": "string",
      "description": "The identifier of the asset."
    },
    "typeRevision": {
      "type": "string",
      "description": "The revision type of the asset."
    },
    "description": {
      "type": "string",
      "description": "The revised description of the asset."
    },
    "glossaryTerms": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The glossary terms to be attached to the asset as part of asset revision."
    },
    "formsInput": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FormInput"
      },
      "description": "The metadata forms to be attached to the asset as part of asset revision."
    },
    "predictionConfiguration": {
      "$ref": "#/$defs/PredictionConfiguration"
    },
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that is provided to ensure the idempotency of the request."
    }
  },
  "required": [
    "name",
    "domainIdentifier",
    "identifier"
  ],
  "$defs": {
    "BusinessNameGenerationConfiguration": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Specifies whether the business name generation is enabled."
        }
      }
    },
    "FormInput": {
      "type": "object",
      "properties": {
        "formName": {
          "type": "string",
          "description": "The name of the metadata form."
        },
        "typeIdentifier": {
          "type": "string",
          "description": "The ID of the metadata form type."
        },
        "typeRevision": {
          "type": "string",
          "description": "The revision of the metadata form type."
        },
        "content": {
          "type": "string",
          "description": "The content of the metadata form."
        }
      },
      "required": [
        "formName"
      ]
    },
    "PredictionConfiguration": {
      "type": "object",
      "properties": {
        "businessNameGeneration": {
          "$ref": "#/$defs/BusinessNameGenerationConfiguration"
        }
      }
    }
  }
}