Exemplo de esquema de Lisk
export const lnsAccountPropsSchema = {
$id: 'lisk/lns/lnsAccount',
type: 'object',
required: ['ownNodes', 'reverseLookup'],
properties: {
reverseLookup: {
dataType: 'bytes',
fieldNumber: 1,
},
ownNodes: {
type: 'array',
fieldNumber: 2,
items: {
dataType: 'bytes',
},
},
},
default: {
ownNodes: [],
reverseLookup: EMPTY_BUFFER,
},
};
Alert Albatross