Properties
| Name | Type | Description |
|---|---|---|
| contentType | string | |
| size | string | The size of the attachment in bytes. Returned as a string as the value may exceed the safe integer range. |
| name | string | |
| url | string | |
| documentId | string | Identifier for the associated document, if any. |
| userId | string | Identifier for the user that created the attachment. |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Attachment",
"type": "object",
"properties": {
"contentType": {
"type": "string",
"example": "image/png"
},
"size": {
"type": "string",
"description": "The size of the attachment in bytes. Returned as a string as the value may exceed the safe integer range."
},
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"documentId": {
"type": "string",
"description": "Identifier for the associated document, if any.",
"format": "uuid",
"nullable": true
},
"userId": {
"type": "string",
"description": "Identifier for the user that created the attachment.",
"format": "uuid"
}
}
}