{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-create-asset-revision-output-schema.json",
  "title": "CreateAssetRevisionOutput",
  "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/CreateAssetRevisionOutput",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the asset revision."
    },
    "name": {
      "type": "string",
      "description": "The revised name of the asset."
    },
    "typeIdentifier": {
      "type": "string",
      "description": "The identifier of the revision type."
    },
    "typeRevision": {
      "type": "string",
      "description": "The revision type of the asset."
    },
    "externalIdentifier": {
      "type": "string",
      "description": "The external identifier of the asset."
    },
    "revision": {
      "type": "string",
      "description": "The revision of the asset."
    },
    "description": {
      "type": "string",
      "description": "The revised asset description."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the asset revision occured."
    },
    "createdBy": {
      "type": "string",
      "description": "The Amazon DataZone user who performed the asset revision."
    },
    "firstRevisionCreatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the first asset revision occured."
    },
    "firstRevisionCreatedBy": {
      "type": "string",
      "description": "The Amazon DataZone user who performed the first asset revision."
    },
    "glossaryTerms": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The glossary terms that were attached to the asset as part of asset revision."
    },
    "governedGlossaryTerms": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The glossary terms in a restricted glossary."
    },
    "owningProjectId": {
      "type": "string",
      "description": "The unique identifier of the revised project that owns the asset."
    },
    "domainId": {
      "type": "string",
      "description": "The unique identifier of the Amazon DataZone domain where the asset was revised."
    },
    "listing": {
      "$ref": "#/$defs/AssetListingDetails"
    },
    "formsOutput": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FormOutput"
      },
      "description": "The metadata forms that were attached to the asset as part of the asset revision."
    },
    "readOnlyFormsOutput": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FormOutput"
      },
      "description": "The read-only metadata forms that were attached to the asset as part of the asset revision."
    },
    "latestTimeSeriesDataPointFormsOutput": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TimeSeriesDataPointSummaryFormOutput"
      },
      "description": "The latest data point that was imported into the time series form for the asset."
    },
    "predictionConfiguration": {
      "$ref": "#/$defs/PredictionConfiguration"
    }
  },
  "required": [
    "id",
    "name",
    "typeIdentifier",
    "typeRevision",
    "revision",
    "owningProjectId",
    "domainId",
    "formsOutput"
  ],
  "$defs": {
    "AssetListingDetails": {
      "type": "object",
      "properties": {
        "listingId": {
          "type": "string",
          "description": "The identifier of an asset published in an Amazon DataZone catalog."
        },
        "listingStatus": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "INACTIVE"
          ],
          "description": "The status of an asset published in an Amazon DataZone catalog."
        }
      },
      "required": [
        "listingId",
        "listingStatus"
      ]
    },
    "BusinessNameGenerationConfiguration": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Specifies whether the business name generation is enabled."
        }
      }
    },
    "FormOutput": {
      "type": "object",
      "properties": {
        "formName": {
          "type": "string",
          "description": "The name of the metadata form."
        },
        "typeName": {
          "type": "string",
          "description": "The name 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"
        }
      }
    },
    "TimeSeriesDataPointSummaryFormOutput": {
      "type": "object",
      "properties": {
        "formName": {
          "type": "string",
          "description": "The name of the time series data points summary form."
        },
        "typeIdentifier": {
          "type": "string",
          "description": "The type ID of the time series data points summary form."
        },
        "typeRevision": {
          "type": "string",
          "description": "The type revision of the time series data points summary form."
        },
        "timestamp": {
          "type": "string",
          "description": "The timestamp of the time series data points summary form."
        },
        "contentSummary": {
          "type": "string",
          "description": "The content of the summary of the time series data points form."
        },
        "id": {
          "type": "string",
          "description": "The ID of the time series data points summary form."
        }
      },
      "required": [
        "formName",
        "typeIdentifier",
        "timestamp"
      ]
    }
  }
}