14 lines
247 B
YAML
14 lines
247 B
YAML
|
|
type: object
|
||
|
|
required:
|
||
|
|
- user_id
|
||
|
|
- role
|
||
|
|
properties:
|
||
|
|
user_id:
|
||
|
|
type: integer
|
||
|
|
description: The ID of the user
|
||
|
|
example: 1
|
||
|
|
role:
|
||
|
|
type: string
|
||
|
|
description: whether user is an administrator or agent
|
||
|
|
example: administrator
|