{
  "type": "record",
  "name": "UnsGovernanceConfigSchema",
  "fields": [
    {
      "name": "on_mismatch",
      "type": "string",
      "default": "deny",
      "$ui": {
        "component": "select",
        "options": [
          {"label": "deny", "value": "deny"},
          {"label": "ignore", "value": "ignore"}
        ],
        "flex": 12,
        "required": true,
        "label": "$on_mismatch_label",
        "description": "$on_mismatch_desc"
      }
    },
    {
      "name": "validate_payload",
      "type": "boolean",
      "default": true,
      "$ui": {
        "component": "switch",
        "flex": 12,
        "required": true,
        "label": "$validate_payload_label",
        "description": "$validate_payload_desc"
      }
    },
    {
      "name": "exempt_topics",
      "type": {
        "type": "array",
        "items": "string"
      },
      "default": ["$SYS/#", "$share/#"],
      "$ui": {
        "component": "input-array",
        "flex": 24,
        "required": false,
        "label": "$exempt_topics_label",
        "description": "$exempt_topics_desc"
      }
    }
  ]
}
