protocol/packages/website/ts/schemas/signature_data_schema.ts

12 lines
269 B
TypeScript

export const signatureDataSchema = {
id: '/SignatureData',
properties: {
hash: {type: 'string'},
r: {type: 'string'},
s: {type: 'string'},
v: {type: 'number'},
},
required: ['hash', 'r', 's', 'v'],
type: 'object',
};