{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-describe-artifact-response-schema.json",
  "title": "DescribeArtifactResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-artifact-api-openapi.yml#/components/schemas/DescribeArtifactResponse",
  "type": "object",
  "properties": {
    "ArtifactName": {
      "type": "string",
      "description": "The name of the artifact."
    },
    "ArtifactArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the artifact."
    },
    "Source": {
      "$ref": "#/$defs/ArtifactSource"
    },
    "ArtifactType": {
      "type": "string",
      "description": "The type of the artifact."
    },
    "Properties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A list of the artifact's properties."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the artifact was created."
    },
    "CreatedBy": {
      "$ref": "#/$defs/UserContext"
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the artifact was last modified."
    },
    "LastModifiedBy": {
      "$ref": "#/$defs/UserContext"
    },
    "MetadataProperties": {
      "$ref": "#/$defs/MetadataProperties"
    },
    "LineageGroupArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the lineage group."
    }
  },
  "$defs": {
    "ArtifactSource": {
      "type": "object",
      "properties": {
        "SourceUri": {
          "type": "string",
          "description": "The URI of the source."
        },
        "SourceTypes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ArtifactSourceType"
          },
          "description": "A list of source types."
        }
      },
      "required": [
        "SourceUri"
      ]
    },
    "ArtifactSourceType": {
      "type": "object",
      "properties": {
        "SourceIdType": {
          "type": "string",
          "enum": [
            "MD5Hash",
            "S3ETag",
            "S3Version",
            "Custom"
          ],
          "description": "The type of ID."
        },
        "Value": {
          "type": "string",
          "description": "The ID."
        }
      },
      "required": [
        "SourceIdType",
        "Value"
      ]
    },
    "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."
        }
      }
    },
    "MetadataProperties": {
      "type": "object",
      "properties": {
        "CommitId": {
          "type": "string",
          "description": "The commit ID."
        },
        "Repository": {
          "type": "string",
          "description": "The repository."
        },
        "GeneratedBy": {
          "type": "string",
          "description": "The entity this entity was generated by."
        },
        "ProjectId": {
          "type": "string",
          "description": "The project ID."
        }
      }
    },
    "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"
        }
      }
    }
  }
}