Schema updates

This commit is contained in:
Jamie Curnow committed 2023-05-31 00:08:50 +10:00
1 parent 4a57956093
commit 4b0d901c93
2 files changed
+10 -8

No files matched your search

@@ -32,9 +32,16 @@
"description": "Updated Unix time with milliseconds"
},
"expires_on": {
"type": "integer",
"minimum": 1,
"nullable": true
"oneOf": [
{
"type": "null"
},
{
"type": "integer",
"minimum": 1,
"nullable": true
}
]
},
"type": {
"type": "string",
@@ -6,7 +6,6 @@
"id",
"created_at",
"updated_at",
"expires_on",
"user_id",
"provider",
"name",
@@ -27,10 +26,6 @@
"minimum": 1,
"description": "Updated Unix time with milliseconds"
},
"expires_on": {
"type": "integer",
"minimum": 1
},
"user_id": {
"type": "integer",
"minimum": 1