Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http://json-schema.org/draft-03/schema#/properties/required attribute not supported (fails validation) #8

Open
marsteau opened this issue May 2, 2013 · 2 comments

Comments

@marsteau
Copy link

marsteau commented May 2, 2013

The online tool doesn't understand the http://json-schema.org/draft-03/schema#/properties/required boolean attribute.

try:
{
"type": "object",
"properties": {
"id": {
"type": "string",
"required":true,
"ipsum": "id"
}
}
}

returns:
[{"uri":"urn:uuid:da24b2e4-4ab4-4397-bc49-8992177370e4#/properties/id/required","schemaUri":"http://json-schema.org/draft-03/schema#/properties/required","attribute":"type","message":"Instance is not a required type","details":["boolean"]}]

It should accept "required":true or "required":false (default).

Could you please fix?

@marsteau
Copy link
Author

any update on this?

@jewelsjacobs
Copy link

Looks like this is a duplicated issue . . . #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants