{ "kind": "collectionType", "collectionName": "transactions", "info": { "name": "Transaction", "description": "" }, "options": { "increments": true, "timestamps": true, "draftAndPublish": true }, "attributes": { "order_id": { "type": "string" }, "product_name": { "type": "string" }, "product_quantity": { "type": "biginteger" }, "product_price": { "type": "biginteger" }, "product_color": { "type": "string" }, "product_courier": { "type": "string" }, "cust_name": { "type": "string" }, "cust_telp": { "type": "string" }, "cust_address": { "type": "string" }, "note": { "type": "text" }, "product_img": { "model": "file", "via": "related", "allowedTypes": [ "images", "files", "videos" ], "plugin": "upload", "required": false }, "status": { "model": "status", "via": "transactions" } } }