Created
February 5, 2023 20:43
-
-
Save AlexandroMtzG/4e13926c832186a7cc90d4b0240f8943 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"entities": [ | |
{ | |
"type": "admin", | |
"name": "documentType", | |
"slug": "document-types", | |
"title": "Document Type", | |
"titlePlural": "Document Types", | |
"prefix": "DTY", | |
"properties": [ | |
{ | |
"name": "name", | |
"title": "Name", | |
"type": "string", | |
"isRequired": true, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true | |
}, | |
{ | |
"name": "description", | |
"title": "Description", | |
"type": "string", | |
"isRequired": true, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true | |
}, | |
{ | |
"name": "timesInYear", | |
"title": "Times in Year", | |
"type": "number", | |
"isRequired": false, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true | |
} | |
], | |
"isAutogenerated": false, | |
"hasApi": false, | |
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" strokeWidth=\"2\"> <path strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z\" /> </svg>", | |
"active": false, | |
"hasTags": false, | |
"hasComments": false, | |
"hasTasks": false, | |
"defaultVisibility": "tenant" | |
}, | |
{ | |
"type": "app", | |
"name": "contract", | |
"slug": "contracts", | |
"title": "Contract", | |
"titlePlural": "Contracts", | |
"prefix": "CON", | |
"properties": [ | |
{ | |
"name": "name", | |
"title": "Name", | |
"type": "string", | |
"isRequired": true, | |
"isDisplay": true, | |
"isReadOnly": false, | |
"showInCreate": true | |
}, | |
{ | |
"name": "type", | |
"title": "Type", | |
"type": "select", | |
"isRequired": true, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true, | |
"attributes": [ | |
{ | |
"name": "DefaultValue", | |
"value": "typeB" | |
} | |
], | |
"options": [ | |
{ | |
"value": "typeA", | |
"name": "Type A", | |
"color": 15 | |
}, | |
{ | |
"value": "typeB", | |
"name": "Type B", | |
"color": 5 | |
} | |
] | |
}, | |
{ | |
"name": "description", | |
"title": "Description", | |
"type": "string", | |
"isRequired": false, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true, | |
"attributes": [ | |
{ | |
"name": "Rows", | |
"value": "3" | |
} | |
] | |
}, | |
{ | |
"name": "document", | |
"title": "Document", | |
"type": "media", | |
"isRequired": true, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true, | |
"attributes": [ | |
{ | |
"name": "MaxSize", | |
"value": "20" | |
}, | |
{ | |
"name": "AcceptFileTypes", | |
"value": ".pdf" | |
}, | |
{ | |
"name": "Max", | |
"value": "1" | |
}, | |
{ | |
"name": "Min", | |
"value": "1" | |
} | |
] | |
}, | |
{ | |
"name": "documentSigned", | |
"title": "Document Signed", | |
"type": "media", | |
"isRequired": false, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": false, | |
"attributes": [ | |
{ | |
"name": "Max", | |
"value": "1" | |
}, | |
{ | |
"name": "MaxSize", | |
"value": "20" | |
}, | |
{ | |
"name": "AcceptFileTypes", | |
"value": ".pdf" | |
} | |
] | |
}, | |
{ | |
"name": "attachments", | |
"title": "Attachments", | |
"type": "media", | |
"isRequired": false, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true | |
}, | |
{ | |
"name": "estimatedAmount", | |
"title": "Estimated Amount", | |
"type": "number", | |
"isRequired": true, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true, | |
"attributes": [ | |
{ | |
"name": "FormatNumber", | |
"value": "decimal" | |
} | |
] | |
}, | |
{ | |
"name": "realAmount", | |
"title": "Real amount", | |
"type": "number", | |
"isRequired": false, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": false, | |
"attributes": [ | |
{ | |
"name": "FormatNumber", | |
"value": "currency" | |
} | |
] | |
}, | |
{ | |
"name": "active", | |
"title": "Active", | |
"type": "boolean", | |
"isRequired": true, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true, | |
"attributes": [ | |
{ | |
"name": "FormatBoolean", | |
"value": "activeInactive" | |
} | |
] | |
}, | |
{ | |
"name": "estimatedCompletionDate", | |
"title": "Estimated Completion Date", | |
"type": "date", | |
"isRequired": true, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true, | |
"attributes": [ | |
{ | |
"name": "FormatDate", | |
"value": "diff" | |
} | |
] | |
}, | |
{ | |
"name": "realCompletionDate", | |
"title": "Real Completion Date", | |
"type": "date", | |
"isRequired": false, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": false, | |
"attributes": [ | |
{ | |
"name": "FormatDate", | |
"value": "YYYY-MM-DD" | |
} | |
] | |
}, | |
{ | |
"name": "signatureRequestId", | |
"title": "Signature Request ID", | |
"type": "string", | |
"isRequired": false, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": false | |
} | |
], | |
"isAutogenerated": true, | |
"hasApi": true, | |
"icon": "<svg fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"50\" height=\"50\" viewBox=\"0 0 50 50\"> <path d=\"M 7 2 L 7 48 L 43 48 L 43 14.59375 L 30.40625 2 Z M 30 4.40625 L 40.59375 15 L 30 15 Z M 14 10 L 27 10 L 27 12 L 14 12 Z M 14 14 L 27 14 L 27 16 L 14 16 Z M 14 18 L 37 18 L 37 20 L 14 20 Z M 14 22 L 37 22 L 37 24 L 14 24 Z M 14 26 L 37 26 L 37 28 L 14 28 Z M 20.15625 30.5625 C 21.875 30.5625 22.96875 31.746094 22.96875 33.59375 C 22.96875 35.632813 22.078125 37.441406 21.03125 38.84375 C 23.328125 38.660156 24.320313 36.9375 25 35.78125 C 25.414063 35.074219 25.78125 34.46875 26.53125 34.46875 C 27.527344 34.46875 27.855469 35.511719 28.21875 36.59375 C 28.230469 36.621094 28.238281 36.65625 28.25 36.6875 C 28.425781 36.550781 28.625 36.375 28.78125 36.25 C 29.769531 35.457031 31.003906 34.46875 32.5 34.46875 C 33.054688 34.46875 33.5 34.914063 33.5 35.46875 C 33.5 36.023438 33.054688 36.46875 32.5 36.46875 C 31.707031 36.46875 30.816406 37.183594 30.03125 37.8125 C 29.25 38.4375 28.585938 39 27.8125 39 C 26.976563 39 26.675781 38.257813 26.375 37.375 C 25.496094 38.78125 23.855469 40.875 20.59375 40.875 C 20.167969 40.875 19.800781 40.792969 19.4375 40.65625 C 18.699219 41.371094 18.097656 41.792969 18.03125 41.84375 C 17.855469 41.972656 17.671875 42.03125 17.46875 42.03125 C 17.160156 42.03125 16.851563 41.894531 16.65625 41.625 C 16.332031 41.179688 16.429688 40.542969 16.875 40.21875 C 16.886719 40.210938 17.25 39.925781 17.78125 39.4375 C 16.910156 38.367188 16.46875 36.878906 16.46875 35.65625 C 16.46875 32.890625 18.160156 30.5625 20.15625 30.5625 Z M 20.15625 32.5625 C 19.496094 32.5625 18.46875 33.886719 18.46875 35.65625 C 18.46875 36.367188 18.734375 37.265625 19.1875 37.9375 C 20.121094 36.765625 20.96875 35.25 20.96875 33.59375 C 20.96875 32.554688 20.445313 32.5625 20.15625 32.5625 Z\"></path> </svg>", | |
"active": true, | |
"hasTags": true, | |
"hasComments": true, | |
"hasTasks": false, | |
"defaultVisibility": "tenant", | |
"workflow": { | |
"states": [ | |
{ | |
"name": "draft", | |
"title": "Draft", | |
"color": 2 | |
}, | |
{ | |
"name": "pending", | |
"title": "Pending", | |
"color": 8, | |
"canUpdate": false, | |
"canDelete": false | |
}, | |
{ | |
"name": "signed", | |
"title": "Signed", | |
"color": 10, | |
"canUpdate": false, | |
"canDelete": false | |
}, | |
{ | |
"name": "archived", | |
"title": "Archived", | |
"color": 2, | |
"canUpdate": false, | |
"canDelete": false | |
} | |
], | |
"steps": [ | |
{ | |
"from": "draft", | |
"to": "pending", | |
"title": "Submit" | |
}, | |
{ | |
"from": "pending", | |
"to": "archived", | |
"title": "Archive" | |
} | |
] | |
} | |
}, | |
{ | |
"type": "app", | |
"name": "document", | |
"slug": "documents", | |
"title": "Document", | |
"titlePlural": "Documents", | |
"prefix": "DOC", | |
"properties": [ | |
{ | |
"name": "typeId", | |
"title": "Type", | |
"type": "string", | |
"isRequired": true, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true | |
}, | |
{ | |
"name": "year", | |
"title": "Year", | |
"type": "number", | |
"isRequired": false, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true | |
}, | |
{ | |
"name": "period", | |
"title": "Period", | |
"type": "number", | |
"isRequired": false, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true | |
}, | |
{ | |
"name": "document", | |
"title": "Document", | |
"type": "media", | |
"isRequired": true, | |
"isDisplay": false, | |
"isReadOnly": false, | |
"showInCreate": true, | |
"attributes": [ | |
{ | |
"name": "Min", | |
"value": "1" | |
}, | |
{ | |
"name": "Max", | |
"value": "1" | |
}, | |
{ | |
"name": "MaxSize", | |
"value": "20" | |
}, | |
{ | |
"name": "AcceptFileTypes", | |
"value": ".pdf" | |
} | |
] | |
} | |
], | |
"isAutogenerated": true, | |
"hasApi": true, | |
"icon": "<svg fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"50\" height=\"50\" viewBox=\"0 0 50 50\"> <path d=\"M 29.1875 1.25 C 28.941406 1.238281 28.671875 1.296875 28.46875 1.46875 L 25.75 3.78125 L 33.0625 12 L 33.75 12 L 36.8125 8.9375 L 35.9375 8 L 40.59375 8 L 34.59375 14 L 32.125 14 C 32.101563 13.96875 32.085938 13.933594 32.0625 13.90625 L 22.8125 3.5 C 22.628906 3.292969 22.371094 3.164063 22.09375 3.15625 C 21.800781 3.144531 21.566406 3.273438 21.375 3.46875 L 18.875 6 L 15.46875 6 C 15.25 6 15.019531 6.085938 14.84375 6.21875 L 4.40625 14.21875 C 4.390625 14.230469 4.359375 14.238281 4.34375 14.25 C 4.328125 14.265625 4.328125 14.265625 4.3125 14.28125 C 4.292969 14.300781 4.265625 14.324219 4.25 14.34375 C 4.210938 14.390625 4.1875 14.449219 4.15625 14.5 C 4.144531 14.519531 4.105469 14.542969 4.09375 14.5625 L 0.09375 22.5625 C -0.0976563 22.949219 -0.0234375 23.414063 0.28125 23.71875 C 0.472656 23.910156 0.742188 24 1 24 C 1.152344 24 1.296875 23.976563 1.4375 23.90625 L 4 22.625 L 4 43 C 4 43.554688 4.449219 44 5 44 L 35 44 C 35.148438 44 35.28125 43.964844 35.40625 43.90625 C 35.441406 43.890625 35.46875 43.863281 35.5 43.84375 C 35.589844 43.789063 35.683594 43.734375 35.75 43.65625 C 35.761719 43.644531 35.769531 43.636719 35.78125 43.625 L 43.78125 33.625 C 43.921875 33.445313 44 33.226563 44 33 L 44 26.28125 L 41.09375 29.3125 C 40.902344 29.511719 40.648438 29.625 40.375 29.625 C 40.339844 29.625 40.285156 29.628906 40.25 29.625 C 39.9375 29.589844 39.660156 29.394531 39.5 29.125 L 34 19.90625 L 34 42 L 6 42 L 6 16 L 34 16 L 40.53125 26.96875 L 49.71875 17.71875 C 50.042969 17.394531 50.082031 16.894531 49.84375 16.5 L 43.84375 6.5 C 43.835938 6.484375 43.824219 6.453125 43.8125 6.4375 C 43.785156 6.390625 43.753906 6.351563 43.71875 6.3125 C 43.710938 6.304688 43.726563 6.289063 43.71875 6.28125 C 43.703125 6.265625 43.671875 6.265625 43.65625 6.25 C 43.621094 6.21875 43.601563 6.183594 43.5625 6.15625 C 43.554688 6.152344 43.539063 6.160156 43.53125 6.15625 C 43.5 6.136719 43.46875 6.109375 43.4375 6.09375 C 43.40625 6.078125 43.375 6.074219 43.34375 6.0625 C 43.289063 6.042969 43.246094 6.042969 43.1875 6.03125 C 43.167969 6.027344 43.144531 6.003906 43.125 6 C 43.109375 5.996094 43.078125 6.003906 43.0625 6 C 43.035156 6 43.027344 6 43 6 L 34.0625 6 L 29.84375 1.5625 C 29.660156 1.367188 29.433594 1.261719 29.1875 1.25 Z M 15.8125 8 L 16.9375 8 L 11.03125 14 L 7.96875 14 Z M 15 20 C 14.449219 20 14 20.449219 14 21 C 14 21.550781 14.449219 22 15 22 L 25 22 C 25.550781 22 26 21.550781 26 21 C 26 20.449219 25.550781 20 25 20 Z\"></path> </svg>", | |
"active": true, | |
"hasTags": true, | |
"hasComments": true, | |
"hasTasks": false, | |
"defaultVisibility": "linkedAccounts" | |
} | |
], | |
"relationships": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment