Schema updates

This commit is contained in:
Jamie Curnow 2023-05-31 00:08:50 +10:00
parent 4a57956093
commit 4b0d901c93
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E
2 changed files with 10 additions and 8 deletions

View File

@ -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",

View File

@ -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