{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/memo-bank/main/json-schema/memo-bank-attachment-schema.json", "title": "Attachment", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/memo-bank-attachments-api-openapi.yml#/components/schemas/Attachment", "required": [ "date", "filename", "id", "is_deleted", "mime_type", "size", "transaction_id" ], "type": "object", "properties": { "id": { "type": "string", "description": "ID of the attachment.", "format": "uuid" }, "transaction_id": { "type": "string", "description": "ID of the transaction this document is attached to.", "format": "uuid" }, "filename": { "type": "string", "description": "Name of the attached file." }, "size": { "type": "integer", "description": "Size of the attached file in bytes.", "format": "int64" }, "mime_type": { "type": "string", "description": "Mime type of the attached file." }, "date": { "type": "string", "description": "Date at which the file has been attached to a transaction.", "format": "date-time" }, "is_deleted": { "type": "boolean", "description": "Whether or not this attachment has been deleted." } } }