{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nmi/json-schema/nmi-get-processor-config-response-schema.json",
  "title": "Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nmi-processors-and-services-api-openapi.yml#/components/schemas/GetProcessorConfigResponse",
  "type": "object",
  "properties": {
    "objectType": {
      "type": "string",
      "enum": [
        "serviceConfig"
      ],
      "description": "The type of object that was returned as a result of the request."
    },
    "processorFields": {
      "type": "array",
      "description": "The processor-specific fields along with validation rules.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of the processor field."
          },
          "name": {
            "type": "string",
            "description": "The name of the processor field."
          },
          "optional": {
            "type": "boolean",
            "description": "Whether the processor field is required or not."
          },
          "validationRegex": {
            "type": "string",
            "description": "The validation regex for the processor field."
          },
          "helpText": {
            "type": "string",
            "description": "The help text for this field."
          },
          "type": {
            "type": "string",
            "description": "The type of the processor field."
          },
          "disabled": {
            "type": "boolean",
            "description": "Whether the processor field is disabled or not."
          },
          "readonly": {
            "type": "boolean",
            "description": "Whether the processor field is read-only or not."
          },
          "highlight": {
            "type": "boolean",
            "description": "Whether the processor field is highlighted or not."
          },
          "defaultValue": {
            "type": "string",
            "description": "The default value for the processor field."
          },
          "selectOptions": {
            "type": "string",
            "description": "The select options for this processor field."
          }
        }
      }
    },
    "paymentTypes": {
      "type": "array",
      "description": "The allowed payment types for the processor.",
      "items": {
        "type": "string",
        "enum": [
          "visa",
          "mastercard",
          "amex",
          "discover",
          "diners",
          "jcb",
          "maestro"
        ]
      }
    },
    "descriptor": {
      "type": "object",
      "description": "Descriptor information for the processor.",
      "properties": {
        "descriptor": {
          "type": "object",
          "description": "The descriptor properties.",
          "properties": {
            "isAllowed": {
              "type": "boolean",
              "description": "Whether a descriptor is allowed or not."
            },
            "maxLength": {
              "type": "integer",
              "description": "The maximum length of the descriptor."
            },
            "validationRegex": {
              "type": "string",
              "description": "The validation regex for the descriptor."
            },
            "helpText": {
              "type": "string",
              "description": "The help text for the descriptor."
            }
          }
        },
        "phone": {
          "type": "object",
          "description": "The descriptor phone number properties.",
          "properties": {
            "isAllowed": {
              "type": "boolean",
              "description": "Whether a descriptor phone number is allowed or not."
            },
            "maxLength": {
              "type": "integer",
              "description": "The maximum length of the descriptor phone number."
            },
            "validationRegex": {
              "type": "string",
              "description": "The validation regex for the descriptor phone number."
            },
            "helpText": {
              "type": "string",
              "description": "The help text for the descriptor phone number."
            }
          }
        },
        "city": {
          "type": "object",
          "description": "The descriptor city properties.",
          "properties": {
            "isAllowed": {
              "type": "boolean",
              "description": "Whether a descriptor city is allowed or not."
            },
            "maxLength": {
              "type": "integer",
              "description": "The maximum length of the descriptor city."
            },
            "validationRegex": {
              "type": "string",
              "description": "The validation regex for the descriptor city."
            },
            "helpText": {
              "type": "string",
              "description": "The help text for the descriptor city."
            }
          }
        },
        "state": {
          "type": "object",
          "description": "The descriptor state properties.",
          "properties": {
            "isAllowed": {
              "type": "boolean",
              "description": "Whether a descriptor state is allowed or not."
            },
            "maxLength": {
              "type": "integer",
              "description": "The maximum length of the descriptor state."
            },
            "validationRegex": {
              "type": "string",
              "description": "The validation regex for the descriptor state."
            },
            "helpText": {
              "type": "string",
              "description": "The help text for the descriptor state."
            }
          }
        },
        "url": {
          "type": "object",
          "description": "The descriptor URL properties.",
          "properties": {
            "isAllowed": {
              "type": "boolean",
              "description": "Whether a descriptor URL is allowed or not."
            },
            "maxLength": {
              "type": "integer",
              "description": "The maximum length of the descriptor URL."
            },
            "validationRegex": {
              "type": "string",
              "description": "The validation regex for the descriptor URL."
            },
            "helpText": {
              "type": "string",
              "description": "The help text for the descriptor URL."
            }
          }
        }
      }
    },
    "allowedCurrencies": {
      "type": "array",
      "description": "The allowed currencies for the processor.",
      "items": {
        "type": "string"
      }
    },
    "allowedClassifications": {
      "type": "array",
      "description": "The allowed classifications for the processor.",
      "items": {
        "type": "string"
      }
    },
    "defaultCurrency": {
      "type": "string",
      "description": "The default currency for the processor."
    },
    "singleCurrencyMode": {
      "type": "boolean",
      "description": "Whether this processor supports single currency mode or not."
    },
    "shouldShowMccField": {
      "type": "boolean",
      "description": "Whether this processor should show the MCC field or not."
    },
    "level3Support": {
      "type": "boolean",
      "description": "Whether this processor supports Level III processing or not."
    },
    "checkVerification": {
      "type": "boolean",
      "description": "Whether this processor supports check verification or not."
    },
    "avsCvvPreCheckSupport": {
      "type": "boolean",
      "description": "Whether this processor supports AVS/CVV precheck or not."
    },
    "skipAvsCvvSupport": {
      "type": "boolean",
      "description": "Whether this processor supports skipping AVS/CVV or not."
    },
    "canBeOffered": {
      "type": "boolean",
      "description": "Whether this processor can be offered or not."
    },
    "faceConfiguration": {
      "type": "object",
      "description": "The FACe configuration for this processor."
    }
  }
}