jpmckinney / validictory

🎓 deprecated general purpose python data validator
Other
240 stars 57 forks source link

Question: reserved words like "type" in the json data #92

Closed bruceflowers closed 8 years ago

bruceflowers commented 8 years ago

What's the recommended approach for json data you don't control where a fieldname is "type"? I'm finding this collides with the "type" fieldname Validictory already looks for to resolve object type.

bruceflowers commented 8 years ago

Closing, figured out my error. Looks like as long as a fieldname is contained in "properties" there's no risk of collision.