Files
api-guidelines/supermodel/adidas/examples/order/api/Order.yaml
Zdenek Nemec ade9e04665 use supermodel
2019-11-18 08:31:00 +00:00

23 lines
507 B
YAML

$id: http://supermodel.io/adidas/examples/order/api/Order
$schema: http://json-schema.org/draft-07/schema#
title: Order HAL Representation
type: object
allOf:
- $ref: http://supermodel.io/adidas/api/HAL
- $ref: http://supermodel.io/adidas/examples/order/Order
examples:
- _links:
self:
href: /orders/1234
edit:
href: /orders/1234
delete:
href: /orders/1234
profile:
href: https://adidas-group.com/gdm/OMS
orderNumber: 1234
itemCount: 42
status: pending