Skip to content

Instantly share code, notes, and snippets.

@chanakaDe
Created May 29, 2019 04:52
Show Gist options
  • Save chanakaDe/57d434a3a84aef887d46609ef56bb4c3 to your computer and use it in GitHub Desktop.
Save chanakaDe/57d434a3a84aef887d46609ef56bb4c3 to your computer and use it in GitHub Desktop.
{
"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