{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-describe-model-card-response-schema.json",
  "title": "DescribeModelCardResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-model-card-api-openapi.yml#/components/schemas/DescribeModelCardResponse",
  "type": "object",
  "properties": {
    "ModelCardArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the model card."
    },
    "ModelCardName": {
      "type": "string",
      "description": "The name of the model card."
    },
    "ModelCardVersion": {
      "type": "integer",
      "description": "The version of the model card."
    },
    "Content": {
      "type": "string",
      "description": "The content of the model card. Content is provided as a string in the model card JSON schema. When you set IncludedData to MetadataOnly in the request, SageMaker returns a sanitized version of Content that includes only the following JSON paths, when present in the model card: model_overview.model_id model_overview.model_name intended_uses.risk_rating model_package_details.model_package_group_name model_package_details.model_package_arn All other fields are removed from Content when IncludedData is MetadataOnly, including model description, training details, evaluation details, business detail"
    },
    "ModelCardStatus": {
      "type": "string",
      "enum": [
        "Draft",
        "PendingReview",
        "Approved",
        "Archived"
      ],
      "description": "The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval. Draft: The model card is a work in progress. PendingReview: The model card is pending review. Approved: The model card is approved. Archived: The model card is archived. No more updates should be made to the model card, but it can still be exported."
    },
    "SecurityConfig": {
      "$ref": "#/$defs/ModelCardSecurityConfig"
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the model card was created."
    },
    "CreatedBy": {
      "$ref": "#/$defs/UserContext"
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the model card was last modified."
    },
    "LastModifiedBy": {
      "$ref": "#/$defs/UserContext"
    },
    "ModelCardProcessingStatus": {
      "type": "string",
      "enum": [
        "DeleteInProgress",
        "DeletePending",
        "ContentDeleted",
        "ExportJobsDeleted",
        "DeleteCompleted",
        "DeleteFailed"
      ],
      "description": "The processing status of model card deletion. The ModelCardProcessingStatus updates throughout the different deletion steps. DeletePending: Model card deletion request received. DeleteInProgress: Model card deletion is in progress. ContentDeleted: Deleted model card content. ExportJobsDeleted: Deleted all export jobs associated with the model card. DeleteCompleted: Successfully deleted the model card. DeleteFailed: The model card failed to delete."
    }
  },
  "required": [
    "ModelCardArn",
    "ModelCardName",
    "ModelCardVersion",
    "Content",
    "ModelCardStatus",
    "CreationTime",
    "CreatedBy"
  ],
  "$defs": {
    "IamIdentity": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM identity."
        },
        "PrincipalId": {
          "type": "string",
          "description": "The ID of the principal that assumes the IAM identity."
        },
        "SourceIdentity": {
          "type": "string",
          "description": "The person or application which assumes the IAM identity."
        }
      }
    },
    "ModelCardSecurityConfig": {
      "type": "object",
      "properties": {
        "KmsKeyId": {
          "type": "string",
          "description": "A Key Management Service key ID to use for encrypting a model card."
        }
      }
    },
    "UserContext": {
      "type": "object",
      "properties": {
        "UserProfileArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the user's profile."
        },
        "UserProfileName": {
          "type": "string",
          "description": "The name of the user's profile."
        },
        "DomainId": {
          "type": "string",
          "description": "The domain associated with the user."
        },
        "IamIdentity": {
          "$ref": "#/$defs/IamIdentity"
        }
      }
    }
  }
}