Skip to content

Commit

Permalink
chore: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cha0s committed Dec 2, 2024
1 parent 71b4442 commit 9b975e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 9b975e1

Please sign in to comment.