The CustomBlock class contains information on a custom block definition.
spec property
The spec property contains a machine-readable block specification (for example, draw circle of size %s light source %s rainbow? %b). snap-parser cannot parse these as of writing.
type property
A string containing the block type (for example, command for a command block).
category property
A string containing the parent category (for example, pen for a Pen block).