@rapid-io/protocol
Advanced tools
Comparing version 0.0.49 to 0.0.50
@@ -23,8 +23,15 @@ 'use strict' | ||
}, | ||
'doc-id': { | ||
type: 'string', | ||
pattern: '^[a-zA-Z0-9-_]+$', | ||
doc: { | ||
type: 'object', | ||
properties: { | ||
id: { | ||
type: 'string', | ||
pattern: '^[a-zA-Z0-9-_]+$', | ||
}, | ||
}, | ||
required: ['id'], | ||
additionalProperties: false, | ||
}, | ||
}, | ||
required: ['evt-id', 'col-id', 'sub-id', 'doc-id'], | ||
required: ['evt-id', 'col-id', 'sub-id', 'doc'], | ||
additionalProperties: false, | ||
@@ -31,0 +38,0 @@ }, |
{ | ||
"name": "@rapid-io/protocol", | ||
"version": "0.0.49", | ||
"version": "0.0.50", | ||
"description": "Protocol and validation for Rapid.io", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
53475
731