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" "description": "Updated Unix time with milliseconds"
}, },
"expires_on": { "expires_on": {
"type": "integer", "oneOf": [
"minimum": 1, {
"nullable": true "type": "null"
},
{
"type": "integer",
"minimum": 1,
"nullable": true
}
]
}, },
"type": { "type": {
"type": "string", "type": "string",

View File

@ -6,7 +6,6 @@
"id", "id",
"created_at", "created_at",
"updated_at", "updated_at",
"expires_on",
"user_id", "user_id",
"provider", "provider",
"name", "name",
@ -27,10 +26,6 @@
"minimum": 1, "minimum": 1,
"description": "Updated Unix time with milliseconds" "description": "Updated Unix time with milliseconds"
}, },
"expires_on": {
"type": "integer",
"minimum": 1
},
"user_id": { "user_id": {
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1