{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-create-asset-type-input-schema.json",
  "title": "CreateAssetTypeInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-asset-types-api-openapi.yml#/components/schemas/CreateAssetTypeInput",
  "type": "object",
  "properties": {
    "domainIdentifier": {
      "type": "string",
      "description": "The unique identifier of the Amazon DataZone domain where the custom asset type is being created."
    },
    "name": {
      "type": "string",
      "description": "The name of the custom asset type."
    },
    "description": {
      "type": "string",
      "description": "The descripton of the custom asset type."
    },
    "formsInput": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/FormEntryInput"
      },
      "description": "The metadata forms that are to be attached to the custom asset type."
    },
    "owningProjectIdentifier": {
      "type": "string",
      "description": "The identifier of the Amazon DataZone project that is to own the custom asset type."
    }
  },
  "required": [
    "domainIdentifier",
    "name",
    "formsInput",
    "owningProjectIdentifier"
  ],
  "$defs": {
    "FormEntryInput": {
      "type": "object",
      "properties": {
        "typeIdentifier": {
          "type": "string",
          "description": "The type ID of the form entry."
        },
        "typeRevision": {
          "type": "string",
          "description": "The type revision of the form entry."
        },
        "required": {
          "type": "boolean",
          "description": "Specifies whether a form entry is required."
        }
      },
      "required": [
        "typeIdentifier",
        "typeRevision"
      ]
    }
  }
}