{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CallerReputationProviderSettingsUpdate",
  "title": "CallerReputationProviderSettingsUpdate",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Indicates if the caller reputation provider service is enabled. when set to true, all other fields are required except clientSecret.",
      "example": true
    },
    "id": {
      "type": "string",
      "description": "Unique identifier for the reputation provider.",
      "example": "provider-123"
    },
    "name": {
      "type": "string",
      "description": "Name of the reputation provider.",
      "example": "Acme Reputation Provider"
    },
    "clientId": {
      "type": "string",
      "description": "Client ID used for integration with the reputation provider.",
      "example": "client-456"
    },
    "clientSecret": {
      "type": "string",
      "description": "Client secret used for integration with the reputation provider.",
      "example": "secret-789"
    },
    "callBlockScoreThreshold": {
      "type": "string",
      "description": "Score threshold for blocking calls.",
      "example": "0.7"
    },
    "callAllowScoreThreshold": {
      "type": "string",
      "description": "Score threshold for allowing calls.",
      "example": "0.3"
    }
  },
  "example": {
    "enabled": true,
    "id": "provider-123",
    "name": "Acme Reputation Provider",
    "clientId": "client-456",
    "clientSecret": "secret-789",
    "callBlockScoreThreshold": "0.7",
    "callAllowScoreThreshold": "0.3"
  }
}