askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
projects.json · 1.2 KB · 75 lines
| 1 | { |
| 2 | "name": "projects", |
| 3 | "title": "Projects", |
| 4 | "version": 4, |
| 5 | "description": "Projects group tasks, notes, and other app records.", |
| 6 | "fields": [ |
| 7 | { |
| 8 | "name": "id" |
| 9 | }, |
| 10 | { |
| 11 | "name": "name", |
| 12 | "type": "text", |
| 13 | "required": true, |
| 14 | "label": "Name", |
| 15 | "validation": { |
| 16 | "min_length": 1, |
| 17 | "max_length": 120 |
| 18 | } |
| 19 | }, |
| 20 | { |
| 21 | "name": "description", |
| 22 | "type": "textarea", |
| 23 | "label": "Description" |
| 24 | }, |
| 25 | { |
| 26 | "name": "status", |
| 27 | "type": "enum", |
| 28 | "label": "Status", |
| 29 | "default": "active", |
| 30 | "enum": [ |
| 31 | "active", |
| 32 | "completed", |
| 33 | "on_hold" |
| 34 | ] |
| 35 | }, |
| 36 | { |
| 37 | "name": "created_at", |
| 38 | "type": "datetime", |
| 39 | "read_only": true, |
| 40 | "label": "Created" |
| 41 | }, |
| 42 | { |
| 43 | "name": "owner_id", |
| 44 | "type": "text", |
| 45 | "label": "Owner" |
| 46 | } |
| 47 | ], |
| 48 | "forms": { |
| 49 | "default": { |
| 50 | "fields": [ |
| 51 | "name", |
| 52 | "description", |
| 53 | "status" |
| 54 | ] |
| 55 | } |
| 56 | }, |
| 57 | "views": { |
| 58 | "list_mode": "table", |
| 59 | "list_fields": [ |
| 60 | "name", |
| 61 | "status", |
| 62 | "description" |
| 63 | ] |
| 64 | }, |
| 65 | "search": { |
| 66 | "fields": [ |
| 67 | "name", |
| 68 | "description" |
| 69 | ] |
| 70 | }, |
| 71 | "capabilities": { |
| 72 | "comments": true, |
| 73 | "attachments": true |
| 74 | } |
| 75 | } |