-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
from the spec:
http://json-schema.org/latest/json-schema-validation.html#anchor75
js2model doesn't like this example:
$ cat test.json
{
"id": "http://some.site.somewhere/entry-schema#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [ "storage" ],
"properties": {
"storage": {
"oneOf": [
{ "type": "string" },
{ "type": "integer" }
]
}
}
}
$ ~/js2model/src/js2model -o output test.json -l cpp
2016-10-20 16:48:22,730: tr.jsonschema.JsonSchema2Model: WARNING:
Unknown schema type in {u'oneOf': [{u'type': u'string'}, {u'type': u'integer'}]}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels