-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
541c360
commit 5df58e1
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"title": "Account", | ||
"type": "object", | ||
"description": "Users can belong to multiple accounts on CloudHome's federated services. In other words users have a unique id that can interact or manage devices on more than one account or location", | ||
"properties": { | ||
"accountID": { | ||
"type": "string" | ||
}, | ||
"accountName": { | ||
"type": "string" | ||
}, | ||
"userCount": { | ||
"type": "integer" | ||
}, | ||
"deviceCount": { | ||
"type": "integer" | ||
} | ||
}, | ||
"required": [ | ||
"accountID" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"title": "Location", | ||
"type": "object", | ||
"description": "Device geolocation at most recent update. Users can optionally choose to turn off geolocation, however key features such as mapping will not be available.", | ||
"properties": { | ||
"lat": { | ||
"type": "number", | ||
"description": "decimal degrees" | ||
}, | ||
"long": { | ||
"type": "number", | ||
"description": "decimal degrees" | ||
}, | ||
"geoTracking": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"required": [ | ||
"geoTracking" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"title": "User", | ||
"type": "object", | ||
"description": "Users associated with a CloudHome account. Administrative priviledges are indicated to show which users can configure device management and which users can only interact with configured devices", | ||
"properties": { | ||
"userID": { | ||
"type": "string" | ||
}, | ||
"username": { | ||
"type": "string" | ||
}, | ||
"email": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"userID", | ||
"username", | ||
"email" | ||
] | ||
} |