Skip to content

Commit

Permalink
device model
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlprice committed Jul 9, 2020
1 parent 5df58e1 commit 5abef04
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions models/device.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
"pattern": "/^(?<fullyear>\\d{4})-(?<month>0[1-9]|1[0-2])-(?<mday>0[1-9]|[12][0-9]|3[01])T(?<hour>[01][0-9]|2[0-3]):(?<minute>[0-5][0-9]):(?<second>[0-5][0-9]|60)(?<secfrac>\\.[0-9]+)?(Z|(\\+|-)(?<offset_hour>[01][0-9]|2[0-3]):(?<offset_minute>[0-5][0-9]))$/i",
"example": "2017-07-21T17:32:28Z",
"description": "last update of device data"
},
"user": {
"$ref": "./user.v1.json"
},
"account": {
"$ref": "./account.v1.json"
},
"location": {
"$ref": "./location.v1.json"
}
},
"required": [
Expand Down

0 comments on commit 5abef04

Please sign in to comment.