This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Description
This regards examples.html and perhaps other examples.
I am just starting to learn about JSON Schema and read the first example:
{
"title": "Example Schema",
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"age": {
"description": "Age in years",
"type": "integer",
"minimum": 0
}
},
"required": ["firstName", "lastName"]
}
The title attribute is defined in http://json-schema.org/latest/json-schema-validation.html#rfc.section.6.1 as:
[This keyword] can be used to decorate a user interface with information about the data produced by this user interface.
In light of this, the example's title seems incorrect because it is describing the schema itself rather than the JSON instance that is being validated.
Recommended change: