PayloadSchema: Message<"virtufin.PayloadSchema"> & {
    contentType: string;
    encoding: PayloadSchemaEncoding;
    hash: string;
    messageName: string;
    schema: Uint8Array;
}

The schema of a binary payload, by its content type.

Type declaration

  • contentType: string

    The payload's datacontenttype (application/x-virtufin-+protobuf).

    from field: string content_type = 1;

  • encoding: PayloadSchemaEncoding

    from field: virtufin.PayloadSchemaEncoding encoding = 2;

  • hash: string

    SHA-256 of schema, lowercase hex; set by the gateway.

    from field: string hash = 5;

  • messageName: string

    The protobuf message's full name, or the FlatBuffers root table.

    from field: string message_name = 3;

  • schema: Uint8Array

    The schema's bytes.

    from field: bytes schema = 4;

from message virtufin.PayloadSchema