Open MrTrick opened 8 years ago
I'm trying use the JSON-API schema inside JSCK. Schema here: http://jsonapi.org/schema
However, when I new JSCK(json_api_schema) it throws: Error: The 'additionalProperties' attribute must be an object or false
new JSCK(json_api_schema)
According to the schema docs "additionalProperties": true is valid http://json-schema.org/latest/json-schema-validation.html#anchor64
"additionalProperties": true
Sorry no PR yet - not so good with coffeescript. (I will modify my local copy of JSON-API so JSCK can parse it, but this will affect other users)
I'm trying use the JSON-API schema inside JSCK. Schema here: http://jsonapi.org/schema
However, when I
new JSCK(json_api_schema)
it throws: Error: The 'additionalProperties' attribute must be an object or falseAccording to the schema docs
"additionalProperties": true
is valid http://json-schema.org/latest/json-schema-validation.html#anchor64Sorry no PR yet - not so good with coffeescript. (I will modify my local copy of JSON-API so JSCK can parse it, but this will affect other users)