schemas/org.json in losant_rest-1.6.0 vs schemas/org.json in losant_rest-1.7.0
- old
+ new
@@ -61,11 +61,69 @@
"role": {
"type": "string",
"enum": [
"admin",
"edit",
- "view"
+ "collaborate",
+ "view",
+ "none"
]
+ },
+ "applicationRoles": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "type": "string",
+ "pattern": "^[A-Fa-f\\d]{24}$"
+ },
+ "role": {
+ "type": "string",
+ "enum": [
+ "admin",
+ "edit",
+ "collaborate",
+ "view",
+ "none"
+ ]
+ }
+ },
+ "required": [
+ "resourceId",
+ "role"
+ ],
+ "additionalProperties": false
+ },
+ "maxItems": 1000
+ },
+ "dashboardRoles": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "type": "string",
+ "pattern": "^[A-Fa-f\\d]{24}$"
+ },
+ "role": {
+ "type": "string",
+ "enum": [
+ "admin",
+ "edit",
+ "collaborate",
+ "view",
+ "none"
+ ]
+ }
+ },
+ "required": [
+ "resourceId",
+ "role"
+ ],
+ "additionalProperties": false
+ },
+ "maxItems": 1000
}
}
}
},
"limits": {
\ No newline at end of file