Hi,
I get the following error
File "/usr/local/lib/python2.7/dist-packages/jsonschema-2.4.0-py2.7.egg/jsonschema/validators.py", line 381, in validator_for
return meta_schemas.get(schema.get(u"$schema", u""), default)
AttributeError: 'str' object has no attribute 'get'
if I try to validate
{
"DB":22,
"values":[
[
"INT",
44
],
[
"REAL",
33.33
],
[
"CHAR",
"b"
]
]
}
against
input_schema={
"type": "object",
"properties": {
"DB": {
"type": "number"
},
"values": {
"type": "array",
"items": [
{
"type": "array",
"items": [
{
"type": "string"
},
{
"type": [
"number",
"string",
"boolean",
"null"
]
}
]
}
],
"additionalItems": true
}
}
}
Has anyone of you experienced this or something like that?
I don't know where to start resolving this problem.
Thanks in advance!