Schema constraints-schema.json
Show original (referenced schemas with $ref)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"anyOf": [
{ },
{
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Used to express the dynamic constraints on WebSocket transport parameters. These constraints may be set and changed at run time. Every transport parameter must have an entry, even if it is only an empty object.",
"patternProperties": {
"^ext_[a-zA-Z0-9_]+$": {
"additionalProperties": false,
"description": "The constraints for a single transport parameter",
"properties": {
"description": {
"description": "A human readable string describing the constraint (optional)",
"type": "string"
},
"enum": {
"description": "An array of allowed values",
"items": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "null"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"minItems": 1,
"type": "array",
"uniqueItems": true