Schema: B2B_File

Schema Definition

{
    "$schema": "http://json-schema.org/schema#",
    "description": "A file attachment for a B2B Transaction",
    "properties": {
        "b2b_incoming_id": {
            "description": "ID",
            "type": "string"
        },
        "b2b_outgoing_id": {
            "description": "ID",
            "type": "string"
        },
        "data": {
            "description": "The File Contents",
            "type": "binary"
        },
        "id": {
            "description": "ULID",
            "type": "string"
        },
        "link": {
            "description": "A Link to the File Contents",
            "type": "string"
        },
        "type": {
            "description": "MIME Type of the File",
            "type": "string"
        }
    },
    "required": [
        "id",
        "type",
        "b2b_transaction_id",
        "data"
    ],
    "type": "object"
}

Schema Samples