refactor: convert IDs to uuid
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
0c183eeadd
commit
02af7948e5
@@ -20,10 +20,10 @@ class Connection extends Base {
|
||||
required: ['key', 'data'],
|
||||
|
||||
properties: {
|
||||
id: { type: 'string' },
|
||||
id: { type: 'string', format: 'uuid' },
|
||||
key: { type: 'string', minLength: 1, maxLength: 255 },
|
||||
data: { type: 'object' },
|
||||
userId: { type: 'string' },
|
||||
userId: { type: 'string', format: 'uuid' },
|
||||
verified: { type: 'boolean' },
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user