Why does JSON schema have # sign in URL?

Why is there a # sign in the URL in JSON schemas?

Example:

{
"$schema": “http://json-schema.org/schema#”,
“type”: “object”,
“properties”: {
“bannerId”: {
“type”: “string”
}
},
“required”: [“bannerId”],
“additionalProperties”: false
}

In other words:

Why is there a “#” in “$schema”: “http://json-schema.org/schema#” ?

Hi @karl_jones,

It is defined by JSON schema specification and denotes the document root. It’s more relevant to nested schemas and subschemas.