Files
protocol/packages/website/ts/schemas/signature_data_schema.ts
2018-01-03 11:37:38 +01:00

12 lines
277 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',
};