github.com/kaleido-io/firefly@v0.0.0-20210622132723-8b4b6aacb971/kat/src/schemas/indexes.json (about)

     1  {
     2    "$schema": "http://json-schema.org/draft-07/schema#",
     3    "type": "array",
     4    "items": { "$ref": "#/definitions/index" },
     5    "definitions": {
     6      "index": {
     7        "type": "object",
     8        "required": [ "fields", "unique" ],
     9        "properties": {
    10          "fields": {
    11            "type": "array",
    12            "items": {
    13              "type": "string"
    14            },
    15            "description": "Fields specified to be an index"
    16          },
    17          "unique": {
    18            "type": "boolean",
    19            "description": "Whether the index property allows duplicate values"
    20          }
    21        }
    22      }
    23    }
    24  }