@rapid-io/protocol
Advanced tools
Comparing version 0.0.53 to 0.0.54
@@ -19,5 +19,13 @@ 'use strict' | ||
}, | ||
'doc-id': { | ||
type: 'string', | ||
pattern: '^[a-zA-Z0-9-_]+$', | ||
doc: { | ||
type: 'object', | ||
properties: { | ||
id: { | ||
type: 'string', | ||
pattern: '^[a-zA-Z0-9-_]+$', | ||
}, | ||
etag: { type: 'string' }, | ||
}, | ||
required: ['id'], | ||
additionalProperties: false, | ||
}, | ||
@@ -24,0 +32,0 @@ }, |
@@ -26,2 +26,3 @@ 'use strict' | ||
}, | ||
etag: { type: 'string' }, | ||
body: { type: 'object' }, | ||
@@ -28,0 +29,0 @@ }, |
@@ -26,2 +26,3 @@ 'use strict' | ||
}, | ||
etag: { type: 'string' }, | ||
body: { type: 'object' }, | ||
@@ -28,0 +29,0 @@ }, |
{ | ||
"name": "@rapid-io/protocol", | ||
"version": "0.0.53", | ||
"version": "0.0.54", | ||
"description": "Protocol and validation for Rapid.io", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
53888
749