{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ethyca/json-schema/ethyca-put-api-v1-plus-discovery-monitor-request-schema.json",
  "title": "PutApiV1PlusDiscoveryMonitorRequest",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ethyca-data-mapping-openapi-generated.yml#/components/schemas/PutApiV1PlusDiscoveryMonitorRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "key": {
      "type": "string"
    },
    "connection_config_key": {
      "type": "string"
    },
    "classify_params": {
      "type": "object"
    },
    "datasource_params": {
      "type": "object"
    },
    "databases": {
      "type": "array"
    },
    "execution_start_date": {
      "type": "string",
      "description": "ISO‑8601 timestamp"
    },
    "execution_frequency": {
      "type": "string"
    },
    "excluded_databases": {
      "type": "array"
    },
    "enabled": {
      "type": "boolean"
    },
    "shared_config_id": {
      "type": "string",
      "description": "nullable"
    },
    "sampling_config": {
      "type": "object"
    },
    "last_monitored": {
      "type": "string",
      "description": "ISO‑8601 timestamp"
    }
  },
  "required": [
    "name",
    "key",
    "connection_config_key"
  ]
}