Koha/api/v1/swagger/definitions/erm_agreement_user_role.yaml
Jonathan Druart 3bf57d92a1
Bug 32030: ERM - REST API - GET POST PUT DELETE specs
Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-08 09:43:37 -03:00

21 lines
359 B
YAML

---
type: object
properties:
agreement_id:
type: integer
description: Internal agreement identifier
user_id:
type: integer
description: Internal patron identifier
role:
description: role of the user
type:
- string
patron:
type:
- object
- "null"
additionalProperties: false
required:
- user_id
- role