{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nmi/json-schema/nmi-pull-all-fee-schedules-response-schema.json",
  "title": "Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nmi-fee-schedule-api-openapi.yml#/components/schemas/PullAllFeeSchedulesResponse",
  "type": "object",
  "properties": {
    "objectType": {
      "type": "string",
      "description": "The type of object that was returned as a result of the request."
    },
    "offset": {
      "type": "number",
      "description": "The first N skipped results."
    },
    "maxResults": {
      "type": "number",
      "description": "The max number results."
    },
    "totalResults": {
      "type": "number",
      "description": "The total number of results."
    },
    "hasMore": {
      "type": "boolean",
      "description": "If are there more results for the search."
    },
    "results": {
      "type": "array",
      "description": "Results for the search.",
      "items": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "description": "Type of the returned response object"
          },
          "id": {
            "type": "string",
            "description": "The ID for the row. You'll want the id value to assign to a merchant."
          },
          "name": {
            "type": "string",
            "description": "The name of the fee schedule."
          },
          "costPlan": {
            "type": "string",
            "description": "The numeric value associated with the cost plan."
          },
          "currency": {
            "type": "string",
            "description": "Currency"
          },
          "merchants": {
            "type": "array",
            "description": "The merchants associated with the cost plan.",
            "items": {
              "type": "string"
            }
          },
          "affiliates": {
            "type": "array",
            "description": "The affiliates associated with the cost plan.",
            "items": {
              "type": "string"
            }
          },
          "isDefault": {
            "type": "string",
            "description": "Determination of whether or not the cost plan is default."
          },
          "isCustom": {
            "type": "string",
            "description": "Determination of whether or not the cost plan is custom."
          }
        }
      }
    }
  }
}