{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PartitionKeyDefinition",
  "title": "PartitionKeyDefinition",
  "type": "object",
  "description": "The partition key definition.",
  "properties": {
    "paths": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of paths using which data within the container can be partitioned.",
      "example": []
    },
    "kind": {
      "type": "string",
      "enum": [
        "Hash",
        "Range",
        "MultiHash"
      ],
      "default": "Hash",
      "description": "The algorithm used for partitioning.",
      "example": "Hash"
    },
    "version": {
      "type": "integer",
      "enum": [
        1,
        2
      ],
      "description": "The version of the partition key definition.",
      "example": 1
    }
  },
  "required": [
    "paths"
  ]
}