type: object required: - inventory_item properties: inventory_item: type: object required: - id - location_levels properties: id: description: The id of the location location_levels: description: List of stock levels at a given location type: array items: $ref: ./InventoryLevelDTO.yaml