Schema: B2B_Incoming

Schema Definition

{
    "$schema": "http://json-schema.org/schema#",
    "description": "The Incoming transaction record (aka: Purchase Order, Receipt) of business to business type of transaction, contains one or more line items.",
    "properties": {
        "arrive_at": {
            "description": "Estimate of Arrival Time",
            "format": "dateTime",
            "type": "string"
        },
        "depart_at": {
            "description": "Estimate of Departure Time",
            "format": "dateTime",
            "type": "string"
        },
        "id": {
            "description": "ULID",
            "type": "string"
        },
        "item_list": {
            "items": {
                "$ref": "#/components/schemas/B2B_Sale_Item"
            },
            "type": "array"
        },
        "source": {
            "$ref": "#/components/schemas/License",
            "description": "The Source License of the materials, aka: Seller, Sold By",
            "type": "object"
        },
        "target": {
            "$ref": "#/components/schemas/License",
            "description": "The Target License of the materials, aka: Buyer, Ship To",
            "type": "object"
        },
        "type": {
            "enum": [
                "incoming"
            ],
            "type": "string"
        }
    },
    "required": [
        "id",
        "type",
        "source",
        "target",
        "item_list"
    ],
    "type": "object"
}

Schema Samples