{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "indexes-schema", "type": "object", "properties": { "key": { "type": "object", "examples": [ { "name": 1 } ], "additionalProperties": { "type": "integer", "enum": [ -1, 1 ] } }, "name": { "type": "string", "examples": [ "name_1" ] }, "background": { "type": "boolean", "enum": [ true ] }, "unique": { "type": "boolean" } }, "required": [ "key", "background" ] }