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-06-21 10:11:38 +00:00
|
|
|
}
|
2017-06-22 12:51:37 +00:00
|
|
|
|
2017-06-21 10:11:38 +00:00
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "DENY"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "root",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|