{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-describe-context-response-schema.json",
  "title": "DescribeContextResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-context-api-openapi.yml#/components/schemas/DescribeContextResponse",
  "type": "object",
  "properties": {
    "ContextName": {
      "type": "string",
      "description": "The name of the context."
    },
    "ContextArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the context."
    },
    "Source": {
      "$ref": "#/$defs/ContextSource"
    },
    "ContextType": {
      "type": "string",
      "description": "The type of the context."
    },
    "Description": {
      "type": "string",
      "description": "The description of the context."
    },
    "Properties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A list of the context's properties."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the context was created."
    },
    "CreatedBy": {
      "$ref": "#/$defs/UserContext"
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the context was last modified."
    },
    "LastModifiedBy": {
      "$ref": "#/$defs/UserContext"
    },
    "LineageGroupArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the lineage group."
    }
  },
  "$defs": {
    "ContextSource": {
      "type": "object",
      "properties": {
        "SourceUri": {
          "type": "string",
          "description": "The URI of the source."
        },
        "SourceType": {
          "type": "string",
          "description": "The type of the source."
        },
        "SourceId": {
          "type": "string",
          "description": "The ID of the source."
        }
      },
      "required": [
        "SourceUri"
      ]
    },
    "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."
        }
      }
    },
    "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"
        }
      }
    }
  }
}