You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
6.5.4. properties
[...]
Omitting this keyword has the same behavior as an empty object.
The spec also allows properties that have no type, which means "any type":
{
"type": "object",
"properties": {
"foo": {}
}
}
but that is also not supported by jsonschema2go.
(In JSON Schema, objects are "open" by default — validation ignores properties not mentioned by the schema. To "close" objects, you have to set additionalProperties to false, something that is also not supported by jsonschema2go.)
The text was updated successfully, but these errors were encountered:
This is not accepted:
Fails with:
But JSON Schema allows this:
The spec also allows properties that have no type, which means "any type":
but that is also not supported by jsonschema2go.
(In JSON Schema, objects are "open" by default — validation ignores properties not mentioned by the schema. To "close" objects, you have to set
additionalProperties
to false, something that is also not supported by jsonschema2go.)The text was updated successfully, but these errors were encountered: