Skip to content

Commit

Permalink
Merge pull request #648 from Polyconseil/timestamp_minimal_value
Browse files Browse the repository at this point in the history
Add minimal value to all timestamp json definition
  • Loading branch information
schnuerle authored Jun 1, 2021
2 parents d031423 + ba5f1e7 commit 37e5e1f
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion agency/get_stops.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion agency/get_vehicle.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"vehicle_type": {
"$id": "#/definitions/vehicle_type",
Expand Down
2 changes: 1 addition & 1 deletion agency/post_stops.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion agency/post_vehicle_event.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion agency/post_vehicle_telemetry.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion policy/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion provider/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion provider/status_changes.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion provider/stops.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion provider/trips.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion provider/vehicles.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"uuid": {
"$id": "#/definitions/uuid",
Expand Down
2 changes: 1 addition & 1 deletion schema/templates/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
"type": "number",
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"trip_id_reference": {
"description": "Conditionally require a trip_id reference",
Expand Down

0 comments on commit 37e5e1f

Please sign in to comment.