Skip to content

Commit

Permalink
Modified models/device.v1.json
Browse files Browse the repository at this point in the history
  • Loading branch information
the-architect committed Jul 13, 2020
1 parent 4c9c7a7 commit f7de384
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions models/device.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,13 @@
"type": "string",
"format": "date-time",
"example": "2017-07-21T17:32:28Z",
"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",
"description": "first time of device registration"
},
"dateUpdated": {
"type": "string",
"format": "date-time",
"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 f7de384

Please sign in to comment.