Created
May 29, 2019 04:52
-
-
Save chanakaDe/57d434a3a84aef887d46609ef56bb4c3 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
{ | |
"name": "CommonHoliday", | |
"id": 1, | |
"title": "Common Holiday", | |
"hidden": false, | |
"sealed": false, | |
"abstract": false, | |
"version": "1.0", | |
"fields": [ | |
{ | |
"name": "id", | |
"title": "Id", | |
"description": "The primary key of holiday entry.", | |
"type": "Integer", | |
"nullable": false, | |
"primary": true, | |
"size": 4 | |
}, | |
{ | |
"name": "name", | |
"title": "Name", | |
"description": "The special name of the given holiday", | |
"type": "Text", | |
"nullable": false, | |
"size": 60 | |
}, | |
{ | |
"name": "startDate", | |
"title": "Start Date", | |
"description": "The start date of the holiday", | |
"type": "DateTime", | |
"nullable": false | |
}, | |
{ | |
"name": "endDate", | |
"title": "End Date", | |
"description": "the end date of the holiday", | |
"type": "DateTime", | |
"nullable": false | |
}, | |
{ | |
"name": "note", | |
"title": "Note", | |
"description": "Any special note about the given holiday", | |
"type": "Text", | |
"nullable": true, | |
"size": 150 | |
} | |
], | |
"constraints": [ | |
{ | |
"type": "unique", | |
"fields": [ | |
"name" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment