summaryrefslogtreecommitdiffstats
path: root/src/partition/schema/Index.json
blob: 7c60d153963f7aca9ae8d8fd803086fbd200c629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the index. Default to the value of propertyName, if non-empty. Required if propertyFunction is specified."
    },
    "propertyName": {
      "type": "string",
      "description": "Property to index."
    },
    "propertyFunction": {
      "type": "string",
      "description": "String that evaluates to a function that emits the index values. Mutually exclusive with propertyName."
    },
    "propertyType": {
      "type": "string",
      "description": "Type of values stored in that property."
    },
    "objectType": {
      "description": "Object type to index. Optional."
    }
  }
}