Jonathan Druart
3bf57d92a1
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>
57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
---
|
|
type: object
|
|
properties:
|
|
agreement_id:
|
|
type: integer
|
|
description: internally assigned agreement identifier
|
|
readOnly: true
|
|
vendor_id:
|
|
description: foreign key to aqbooksellers
|
|
type:
|
|
- integer
|
|
- "null"
|
|
name:
|
|
description: name of the agreement
|
|
type: string
|
|
description:
|
|
description: description of the agreement
|
|
type:
|
|
- string
|
|
- "null"
|
|
status:
|
|
description: current status of the agreement
|
|
type: string
|
|
closure_reason:
|
|
description: reason of the closure
|
|
type:
|
|
- string
|
|
- "null"
|
|
is_perpetual:
|
|
description: is the agreement perpetual
|
|
type: boolean
|
|
renewal_priority:
|
|
description: priority of the renewal
|
|
type:
|
|
- string
|
|
- "null"
|
|
license_info:
|
|
description: info about the license
|
|
type:
|
|
- string
|
|
- "null"
|
|
periods:
|
|
type: array
|
|
description: periods defined for this agreement
|
|
items:
|
|
$ref: erm_agreement_period.yaml
|
|
user_roles:
|
|
type: array
|
|
description: role for users
|
|
items:
|
|
$ref: erm_agreement_user_role.yaml
|
|
additionalProperties: false
|
|
required:
|
|
- agreement_id
|
|
- name
|
|
- status
|
|
- is_perpetual
|