38 lines
828 B
YAML
38 lines
828 B
YAML
type: object
|
|
properties:
|
|
id:
|
|
description: User ID
|
|
type: integer
|
|
login:
|
|
description: User login
|
|
type: string
|
|
type:
|
|
description: User type
|
|
type: string
|
|
enum:
|
|
- USER
|
|
- ADMIN
|
|
access_data:
|
|
allOf:
|
|
- $ref: ../schemas/UserAccessData.yaml
|
|
- type: object
|
|
properties:
|
|
resources:
|
|
description: Available resources
|
|
type: array
|
|
items:
|
|
type: string
|
|
allowed_resources:
|
|
description: Allowed resources
|
|
type: array
|
|
items:
|
|
type: string
|
|
reports:
|
|
description: Allowed reports
|
|
type: array
|
|
items:
|
|
type: string
|
|
preferences:
|
|
description: User preferences
|
|
$ref: ../schemas/UserPreferences.yaml
|