{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/AttachmentResponse", "title": "AttachmentResponse", "type": "object", "properties": { "gid": { "type": "string", "readOnly": true, "example": "12345" }, "resource_type": { "type": "string", "readOnly": true, "example": "attachment" }, "name": { "type": "string", "example": "Screenshot.png" }, "resource_subtype": { "type": "string", "example": "dropbox" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true, "example": "2012-02-22T02:06:58.147Z" }, "download_url": { "type": "string", "format": "uri", "nullable": true, "readOnly": true }, "host": { "type": "string", "readOnly": true, "example": "dropbox" }, "parent": { "type": "object", "properties": { "gid": { "type": "string" }, "resource_type": { "type": "string" }, "name": { "type": "string" } } }, "permanent_url": { "type": "string", "format": "uri", "readOnly": true }, "size": { "type": "integer", "readOnly": true, "description": "The size of the attachment in bytes." }, "view_url": { "type": "string", "format": "uri", "nullable": true, "readOnly": true }, "connected_to_app": { "type": "boolean", "readOnly": true } } }