diff --git a/README.md b/README.md index d8ce796..0abf5ff 100644 --- a/README.md +++ b/README.md @@ -232,13 +232,14 @@ Using the original example with all optional fields: const stateSchema = new Schema({ type: 'object', properties: { - health: {type: 'varuint', optional: true}, - jumping: {type: 'bool', optional: true}, position: { type: 'array', element: {type: 'float32'}, + length: 3, optional: true, }, + health: {type: 'varuint', optional: true}, + jumping: {type: 'bool', optional: true}, attributes: { type: 'object', properties: {