Skip to content
Browse files

Fixing typo in Array extension. Fixes #4

  • Loading branch information...
1 parent 02e72b8 commit f90eaebccfe25f6ec0e6b4f82418861040ea0235 @molnarg committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/extensions/Array.js
View
2 lib/extensions/Array.js
@@ -35,7 +35,7 @@ var ArraySchema = module.exports = Schema.extensions.ArraySchema = Schema.extend
if (json['$ref'] != null) return json
- json.tpye = 'array'
+ json.type = 'array'
if (this.min > 0) json.minItems = this.min
if (this.max < Infinity) json.maxItems = this.max

0 comments on commit f90eaeb

Please sign in to comment.
Something went wrong with that request. Please try again.