This article lists all of the objects and fields related to attachments in the communities data lake.
attachment (dimension)
This object table contains a list of attachments with their characteristics.
| Field Name | Field Type | Field Description | 
|---|---|---|
| file_uuid | string | 			 Refers to the unique identifier assigned to a file, used for tracking and referencing within the community  | 		
| visibility | string | Indicates whether a n attachmnet is visible to users within the community | 
| content_id | string | 			 Depends on the contex conetnt_id correspond to rank_id, badge_id, topic_private_id, reply_private_id, group_id or category_id  | 		
| label | string | 			 Designates a classification for the attachment, allowing for values such as group image, subforum image, thumbnail image, or an empty value, to indicate the specific context or purpose of it  | 		
| content_type | string | 			 Identifies the type of content, such as article, product update, question, idea, discussion  | 		
| type | string | 			 Specifies the format of the attached file, indicating the type of content it represents, which can include options such as PDF, image, hero image, or thumbnail image  | 		
| file_original_name | string | Refers to the original name of the file before it was uploaded | 
| source_thumb | string | Refers to a thumbnail image representing the source of the attachment | 
| post_public_id | string | Refers to the public identifier that uniquely identifies a post across the platform within the community, which can be either a topic or a reply | 
| is_reply | int | Indicates whether the content is a reply to a topic within the community or is and opening post of the topic | 
| attachment_id | string | 			 Refers to the unique identifier assigned to a specific attachment within community  | 		
| context | string | 			 Indicates the context to which the attachment was added (rank avatar, self_badge, post, or subforum, which corresponds to category or group)  | 		
| source | string | Refers to the source file of the attachement | 
attachment_added_to_context (fact)
This object table contains a list of fields related to when an attachment is added to the post, rank, category or badge.
| Field Name | Field Type | Field Description | 
|---|---|---|
| community_id | string | Contains the community ID where the activity was executed | 
| correlation_id | string | 			 Refers to a unique identifier used to correlate and track related actions within the community platform, used for debugging or monitoring purposes  | 		
| occurred_at | string | 			 Refers to the timestamp indicating the precise moment when the activity took place  | 		
| content_id | string | 			 Depends on the contex conetnt_id correspond to rank_id, badge_id, topic_private_id, reply_private_id, group_id or category_id  | 		
| content_type | string | 			 Identifies the type of content, such as article, product update, question, idea, discussion  | 		
| context | string | 			 Indicates the context to which the attachment was added (rank avatar, self_badge, post, or subforum, which corresponds to category or group)  | 		
| executed_by | string | Identifies the person who executed the activity (zero, if system event) | 
| user_id | string | 			 Refers to the unique identifier of the person that identifies the user platform-wide  | 		
attachment_deleted_from_storage (fact)
This object table contains a list of fields related to when a file is deleted from the community platform.
| Field Name | Field Type | Field Description | 
|---|---|---|
| community_id | string | Contains the community ID where the activity was executed | 
| correlation_id | string | 			 Refers to a unique identifier used to correlate and track related actions within the community platform, used for debugging or monitoring purposes  | 		
| occurred_at | string | 			 Refers to the timestamp indicating the precise moment when the activity took place  | 		
| path | string | Refers to the specific location or directory where an attachment is stored | 
| content_id | string | 			 Depends on the contex content_id correspond to rank_id, badge_id, topic_private_id, reply_private_id, group_id or category_id  | 		
| public_id | ||
| executed_by | string | Identifies the person who executed the activity (zero, if system event) | 
| user_id | string | 			 Refers to the unique identifier of the person that identifies the user platform-wide  | 		
attachment_removed_from_context (fact)
This object table contains a list of fields related to when a attachment is removed from the the post, rank, category or badge.
| Field Name | Field Type | Field Description | 
|---|---|---|
| community_id | string | Contains the community ID where the activity was executed | 
| correlation_id | string | 			 Refers to a unique identifier used to correlate and track related actions within the community platform, used for debugging or monitoring purposes  | 		
| occurred_at | string | 			 Refers to the timestamp indicating the precise moment when the activity took place  | 		
| attachments | string | Contains attachment details | 
| content_id | string | 			 Depends on the contex conetnt_id correspond to rank_id, badge_id, topic_private_id, reply_private_id, group_id or category_id  | 		
| content_type | string | 			 Identifies the type of content, such as article, product update, question, idea, discussion  | 		
| context | string | 			 Indicates the context to which the attachment was added (rank avatar, self_badge, post, or subforum, which corresponds to category or group)  | 		
| executed_by | string | Identifies the person who executed the activity (zero, if system event) | 
| user_id | string | 			 Refers to the unique identifier of the person that identifies the user platform-wide  |