Unknown type not being treated as 'any'#47
Unknown type not being treated as 'any'#47robbrit wants to merge 1 commit intopython-jsonschema:masterfrom robbrit:master
Conversation
|
Hey. OK, this sounds reasonable. I read that line in the draft as saying that the validator doesn't have to complain about That being said I don't think |
|
Ah, yeah good call. I will make those tweaks and let you know. |
|
Awesome, thanks. (And sorry, didn't mean to close, GitHub was being dumb) |
|
Hey. This should be fixed in the linked commit. Thanks. |
|
Great, thanks! Had been meaning to make the tweaks to |
|
No worries. It's a bit hairy, but such is life.
|
0ba6722 As per the spec, only dotted-quad is an acceptable format for IPv4 addresses. 6c3ca30 Merge pull request #51 from ericgj/add/validator 9cbcd43 Merge pull request #50 from ericgj/add/not-blank-schema-test 78bccaf add json-schema-valid to list of validators 4fe00e9 add 'forbidden property' test (not with blank schema) cd2aa75 Merge pull request #49 from Acubed/develop 1186813 Add the enum/required test to draft4 too 30ca2fd Add tests for required/not required values with enums ae3050a Add Jsonary and tv4 to the list 6c02fd0 Merge pull request #47 from iclanzan/patch-1 dff064d Added Jassi library to the list. git-subtree-dir: json git-subtree-split: 0ba672265758f09405b14a6508ff696a35e857ca
According to draft 3, if type of a value is not in the list of specified types then any type is valid: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1
Useful for BSON-based databases like MongoDB which have some extra types like ObjectId.