{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/api-evangelist/ordoro/refs/heads/main/json-schema/ordoro-goods_receipt-schema.json", "title": "Goods Receipt Schema", "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string" }, "po_id": { "type": "string" }, "po_status": { "type": "string" }, "goods_receipt_id": { "type": "string" }, "created": { "type": "string", "format": "date-time" }, "updated": { "type": "string", "format": "date-time" }, "received": { "type": "string", "format": "date-time" }, "_link": { "type": "string" }, "items": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer" }, "po_item_id": { "type": "string" }, "quantity": { "type": "integer" }, "_link": { "type": "string" }, "product": { "$ref": "#/components/schemas/product_base" } } } }, "comments": { "type": "array", "items": { "$ref": "#/components/schemas/comment" } } } }