{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OCTX Vector Configuration 0.1",
  "type": "object",
  "required": ["model", "dimensions", "normalized", "fingerprint"],
  "properties": {
    "model": {
      "type": "string",
      "minLength": 1
    },
    "revision": {
      "type": "string",
      "minLength": 1
    },
    "dimensions": {
      "type": "integer",
      "minimum": 1
    },
    "normalized": {
      "type": "boolean"
    },
    "fingerprint": {
      "type": "string",
      "pattern": "^sha256:[0-9a-f]{64}$"
    },
    "api_key": false,
    "api_url": false,
    "base_url": false,
    "endpoint": false,
    "token": false,
    "secret": false,
    "password": false,
    "credentials": false,
    "auth": false,
    "headers": false,
    "distance": false,
    "distance_metric": false,
    "metric": false
  },
  "additionalProperties": true
}
