2017-01-02 06:28:36 +00:00
|
|
|
{
|
2017-01-17 12:02:35 +00:00
|
|
|
"name": "Account",
|
2017-01-02 06:28:36 +00:00
|
|
|
"base": "PersistedModel",
|
2017-01-18 12:49:04 +00:00
|
|
|
"validateUpsert": true,
|
2017-01-02 06:28:36 +00:00
|
|
|
"properties": {
|
2017-01-24 11:30:17 +00:00
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"required": true
|
|
|
|
},
|
2017-01-02 06:28:36 +00:00
|
|
|
"name": {
|
|
|
|
"type": "string",
|
2017-01-12 10:02:22 +00:00
|
|
|
"required": true
|
2017-01-24 11:30:17 +00:00
|
|
|
},
|
2017-05-21 16:36:07 +00:00
|
|
|
"password": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
2017-01-02 06:28:36 +00:00
|
|
|
"active": {
|
|
|
|
"type": "boolean"
|
2017-05-22 09:04:37 +00:00
|
|
|
},
|
|
|
|
"email": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"created": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"updated": {
|
|
|
|
"type": "date"
|
2017-01-02 06:28:36 +00:00
|
|
|
}
|
2017-01-24 11:30:17 +00:00
|
|
|
},
|
2017-03-14 12:08:55 +00:00
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"principalType": "ROLE",
|
2017-05-18 15:54:23 +00:00
|
|
|
"principalId": "$authenticated",
|
2017-03-14 12:08:55 +00:00
|
|
|
"permission": "ALLOW"
|
2017-05-18 15:54:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "DENY"
|
2017-03-14 12:08:55 +00:00
|
|
|
}
|
|
|
|
]
|
2017-01-02 06:28:36 +00:00
|
|
|
}
|