{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-matcher-field-view-schema.json",
  "title": "MatcherFieldView",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-alert-configurations-api-openapi.yml#/components/schemas/MatcherFieldView",
  "oneOf": [
    {
      "enum": [
        "APPLICATION_ID"
      ],
      "title": "App Services Metric Matcher Fields",
      "type": "string"
    },
    {
      "enum": [
        "CLUSTER_NAME"
      ],
      "title": "Cluster Matcher Fields",
      "type": "string"
    },
    {
      "enum": [
        "TYPE_NAME",
        "HOSTNAME",
        "PORT",
        "HOSTNAME_AND_PORT",
        "REPLICA_SET_NAME",
        "ATLAS_NODE_TYPE"
      ],
      "title": "Host Matcher Fields",
      "type": "string"
    },
    {
      "enum": [
        "REPLICA_SET_NAME",
        "SHARD_NAME",
        "CLUSTER_NAME"
      ],
      "title": "Replica Set Matcher Fields",
      "type": "string"
    },
    {
      "enum": [
        "INSTANCE_NAME",
        "PROCESSOR_NAME"
      ],
      "title": "Streams Matcher Fields",
      "type": "string"
    },
    {
      "enum": [
        "RULE_ID"
      ],
      "title": "Log Ingestion Matcher Fields",
      "type": "string"
    },
    {
      "enum": [
        "SOFTWARE_TYPE"
      ],
      "title": "Global Software Type Matcher Fields",
      "type": "string"
    }
  ],
  "type": "object"
}