
Description
I apologize if this is the wrong place to ask this question.
A colleague of mine and I have come to a disagreement about this verbiage, "may be considered." What does the expression "may be considered" mean in these contexts in the JSON Schema Validation specification?
- "minLength", if absent, may be considered as being present with integer value 0.
- If ["minItems"] is not present, it may be considered present with a value of 0.
- If not present, ["uniqueItems"] may be considered present with boolean value false.
- If this keyword is not present, ["minProperties"] may be considered present with a value of 0.
- If "additionalProperties" is absent, it may be considered present with an empty schema as a value.
Given that these values are the assigned defaults for these properties in the online version of the JSON schema JSON, I took "may be considered" to mean that these values should be used if their respective properties are not present. My colleague disagrees and says that "may be considered" indicates that these are just suggested values and that other default values may be used instead.
The particular instance we disagreed about was "additionalProperties." He insists on setting the default value to false, saying that "may be considered" means that he does not have to interpret a missing "additionalProperties" to be an empty schema. I insist that the value should be set to an empty schema when the property is not present.
Were these values which may be considered just suggestions with intentional allowance for alternate default values, or are they to be considered recommended default values?