{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "capabilityClass": {
      "type": "string",
      "enum": ["reads","writes","factStores","secretProviders","mcpServers","transforms"]
    },
    "discoveryId": {
      "type": "string",
      "minLength": 1
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160
    },
    "config": {
      "default": {},
      "type": "object",
      "propertyNames": {"type":"string"},
      "additionalProperties": {}
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200
    }
  },
  "required": [
    "capabilityClass",
    "discoveryId",
    "idempotencyKey"
  ],
  "additionalProperties": false
}
