Koha/api/v1/swagger/definitions/erm_eholdings_package.yaml
Jonathan Druart 35ba0baa9c
Bug 32030: Add links to vendors
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:44:06 -03:00

53 lines
1,010 B
YAML

---
type: object
properties:
package_id:
type: integer
description: internally assigned package identifier
readOnly: true
vendor_id:
description: foreign key to aqbooksellers
type:
- integer
- "null"
name:
description: name of the package
type: string
external_id:
description: external id of the package
type:
- string
- "null"
package_type:
description: type of the package
type:
- string
- "null"
content_type:
description: content type of the package
type:
- string
- "null"
created_on:
description: date of creation
type:
- string
- "null"
package_agreements:
type: array
description: agreements
items:
$ref: erm_eholdings_package_agreement.yaml
resources:
type: array
description: resources
items:
$ref: erm_eholdings_resource.yaml
vendor:
type:
- object
- "null"
additionalProperties: false
required:
- name