Export to GitHub

jsonschema - issue #3

Complex types not suported by jsonschema.js


Posted on Nov 10, 2008 by Swift Panda

http://groups.google.com/group/json-schema/msg/86a0c5ae17423919

Types as defined in this message are not supported.

Comment #1

Posted on Apr 16, 2009 by Swift Panda

The example in the message wasn't really a valid schema, it should look like: {type:[ {type:"object", properties:{name:{type:"string"}, id:{type:"integer"}}, additionalProperties:false}, {type:"object", properties:{brand:{type:"string"}, id:{type:"integer"}}, additionalProperties:false}] } Which should work in the latest version

Status: Fixed

Labels:
Type-Defect Priority-Medium