2017-06-21 10:11:38 +00:00
|
|
|
{
|
|
|
|
"name": "FakeProduction",
|
|
|
|
"base": "MyModel",
|
|
|
|
"validateUpsert": true,
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
2017-06-22 12:51:37 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"ticketFk": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"clientFk": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"client":{
|
|
|
|
"type": "String"
|
2017-06-21 10:11:38 +00:00
|
|
|
},
|
|
|
|
"hour":{
|
|
|
|
"type": "String"
|
|
|
|
},
|
2017-06-22 12:51:37 +00:00
|
|
|
"city":{
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"province":{
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"provinceFk":{
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"agency":{
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"agencyFk":{
|
|
|
|
"type": "Number"
|
|
|
|
},
|
2017-06-21 10:11:38 +00:00
|
|
|
"lines":{
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"m3":{
|
|
|
|
"type": "Number"
|
|
|
|
},
|
2017-06-22 12:51:37 +00:00
|
|
|
"problems":{
|
2017-06-21 10:11:38 +00:00
|
|
|
"type": "Number"
|
|
|
|
},
|
2017-06-22 12:51:37 +00:00
|
|
|
"problem":{
|
2017-06-21 10:11:38 +00:00
|
|
|
"type": "String"
|
|
|
|
},
|
2017-06-22 12:51:37 +00:00
|
|
|
"state":{
|
2017-06-21 10:11:38 +00:00
|
|
|
"type": "String"
|
2017-06-22 12:51:37 +00:00
|
|
|
},
|
|
|
|
"stateFk":{
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"worker":{
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"workerFk":{
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"salesPerson":{
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"salesPersonFk":{
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"boxes":{
|
|
|
|
"type": "Number"
|
2017-07-06 06:45:33 +00:00
|
|
|
},
|
|
|
|
"routeFk":{
|
|
|
|
"type": "Number"
|
2017-06-21 10:11:38 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
2017-07-11 07:36:11 +00:00
|
|
|
"accessType": "READ",
|
2017-06-21 10:11:38 +00:00
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
2017-07-11 07:36:11 +00:00
|
|
|
"permission": "ALLOW"
|
2017-06-21 10:11:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "root",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|