signedMessageSchema top-level property
JsonSchema
signedMessageSchema
getter/setter pair
Implementation
var signedMessageSchema = JsonSchema.create({
'type': 'object',
'properties': {
'payload': {'type': 'string'},
'signatures': {
'type': 'array',
'contains': {
'type': 'object',
'properties': {
'signature': {
'type': 'string',
},
'header': {'type': 'object'},
'protected': {'type': 'string'}
},
'required': ['signature']
}
}
},
'required': ['payload', 'signatures']
});