--- title: NowAttachmentMetadata structure - iOS description: The NowAttachmentMetadata structure provides functions that enable you to encode and manage attachment metadata.Encodes the current object value into data using the specified encoder.Creates a new NowAttachmentMetadata instance by decoding data into an object from the specified decoder. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/cllent-mobile-api-reference/NowAttachmentMetadataiOSStructure.html release: australia product: Cllent Mobile API Reference classification: cllent-mobile-api-reference topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Mobile SDK - iOS, Mobile SDK API reference, API reference, API implementation and reference] --- # NowAttachmentMetadata structure- iOS The NowAttachmentMetadata structure provides functions that enable you to encode and manage attachment metadata.
| Name | Type | Description |
|---|---|---|
| averageImageColor | String | Most dominant color in the associated image. |
| chunkSizeInBytes | Integer | Size of the chunk.Unit: Bytes |
| compressedSizeInBytes | Integer | Compressed size of the attachment.Unit: Bytes |
| created | Date | Date on which the attachment was created. |
| createdBy | String | Entity that created the attachment. |
| download | URL | URL of the attachment on the ServiceNow instance. |
| fileName | String | Name of the attachment file. |
| hash | String | Expected SHA256 digest for the attachment.A downloaded attachment is [validated](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/cllent-mobile-api-reference/NowAttachmentiOSStructure.md) by comparing its computed digest to this SHA256 digest. |
| imageHeight | Integer | Height of image.Unit: Pixels |
| imageWidth | Integer | Width of image.Unit: Pixels |
| isCompressed | Boolean | Flag that indicates whether the attachment file is compressed.Possible values: - true: Attachment is compressed. - false: Attachment in not compressed. |
| mimeType | String | Attachment MIME type. |
| modificationCount | Integer | Number of times that the attachment was modified. |
| sizeInBytes | Integer | Size of the attachment.Unit: Bytes |
| sourceSysId | String | Sys\_id of the attachment file. |
| sourceTableName | String | Name of the source table in which the attachment resides. |
| state | Availability state, such as conditionally, unavailable, available, and pending. | |
| sysId | String | Unique 32-character Globally Unique ID \(GUID\), that identifies each record in a ServiceNow instance. |
| tags | String | List of tags associated with the attachment. |
| updated | Date | Date on which the attachment was last modified. |
| updatedBy | String | Entity that updated the attachment. |