{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blackbaud/main/json-schema/blackbaud-new-revenue-payment-schema.json",
  "title": "NewRevenuePayment",
  "description": "CreateRevenuePayment",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blackbaud-altru-revenue-api-openapi.yml#/components/schemas/NewRevenuePayment",
  "required": [
    "constituent_id",
    "date",
    "amount",
    "payment_method",
    "receipt_amount",
    "post_status",
    "gift_in_kind_disposition"
  ],
  "type": "object",
  "properties": {
    "constituent_id": {
      "type": "string",
      "description": "The constituent."
    },
    "application": {
      "type": "string",
      "description": "The application. Read-only in the SOAP API. Available values are <i>all</i>, <i>donation</i>, <i>event registration</i>, <i>pledge</i>, <i>recurring gift</i>, <i>other</i>, <i>membership</i>, <i>planned gift</i>, <i>matching gift claim</i>, <i>unapplied matching gift payment</i>, <i>grant award</i>, <i>auction purchase</i>, <i>donor challenge claim</i>, <i>pending gift</i>"
    },
    "date": {
      "type": "string",
      "description": "The date. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
      "format": "date-time"
    },
    "amount": {
      "type": "number",
      "description": "The amount.",
      "format": "double"
    },
    "payment_method": {
      "type": "string",
      "description": "The payment method. Available values are <i>cash</i>, <i>check</i>, <i>credit card</i>, <i>direct debit</i>, <i>stock</i>, <i>property</i>, <i>gift-in-kind</i>, <i>standing order</i>, <i>other</i>"
    },
    "constituent_account": {
      "type": "string",
      "description": "The account. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/0dd77a47-21b4-4953-abac-190e313b2d32?parameters=constituent_id,{constituent_id}."
    },
    "check_date": {
      "$ref": "#/$defs/FuzzyDate"
    },
    "check_number": {
      "maxLength": 20,
      "minLength": 0,
      "type": "string",
      "description": "The check number."
    },
    "reference_number": {
      "maxLength": 20,
      "minLength": 0,
      "type": "string",
      "description": "The reference number."
    },
    "reference_date": {
      "$ref": "#/$defs/FuzzyDate"
    },
    "card_holder_name": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The name on card."
    },
    "credit_card_number": {
      "maxLength": 20,
      "minLength": 0,
      "type": "string",
      "description": "The card number."
    },
    "credit_type": {
      "type": "string",
      "description": "The card type. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/credittypecode/entries"
    },
    "authorization_code": {
      "maxLength": 20,
      "minLength": 0,
      "type": "string",
      "description": "The authorization code."
    },
    "expires_on": {
      "$ref": "#/$defs/FuzzyDate"
    },
    "issuer": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The issuer."
    },
    "number_of_units": {
      "type": "number",
      "description": "The number of units.",
      "format": "double"
    },
    "symbol": {
      "maxLength": 25,
      "minLength": 0,
      "type": "string",
      "description": "The symbol."
    },
    "median_price": {
      "type": "number",
      "description": "The median.",
      "format": "double"
    },
    "gift_in_kind_subtype": {
      "type": "string",
      "description": "The subtype. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/giftinkindsubtypecode/entries"
    },
    "property_subtype": {
      "type": "string",
      "description": "The subtype. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/propertysubtypecode/entries"
    },
    "receipt_amount": {
      "type": "number",
      "description": "The receipt amount.",
      "format": "double"
    },
    "post_date": {
      "type": "string",
      "description": "The post date. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
      "format": "date-time"
    },
    "post_status": {
      "type": "string",
      "description": "The post status. Available values are <i>not posted</i>, <i>do not post</i>"
    },
    "revenue_streams": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NewRevenuePaymentRevenueStreams"
      },
      "description": "Revenue streams."
    },
    "finder_number": {
      "type": "string",
      "description": "The finder number."
    },
    "source_code": {
      "maxLength": 50,
      "minLength": 0,
      "type": "string",
      "description": "The source code."
    },
    "appeal_id": {
      "type": "string",
      "description": "The appeal."
    },
    "tribute_id": {
      "type": "string",
      "description": "The tribute."
    },
    "benefits": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NewRevenuePaymentBenefits"
      },
      "description": "Benefits."
    },
    "benefits_waived": {
      "type": "boolean",
      "description": "Indicates whether indicates if the benefits for the donation portion of this payment were waived by the user.."
    },
    "given_anonymously": {
      "type": "boolean",
      "description": "Indicates whether indicates if the donation portion of this payment was given anonymously.."
    },
    "mailing_id": {
      "type": "string",
      "description": "The the mailing for the donation portion of this payment.."
    },
    "channel": {
      "type": "string",
      "description": "The the channel for the donation portion of this payment.. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/channelcode/entries"
    },
    "do_not_acknowledge": {
      "type": "boolean",
      "description": "Indicates whether indicates if the donation portion of this payment should be acknowledged.."
    },
    "do_not_receipt": {
      "type": "boolean",
      "description": "Indicates whether indicates if the donation portion of this payment should be receipted.."
    },
    "households_can_be_donors": {
      "type": "boolean",
      "description": "Indicates whether households can be donors. Read-only in the SOAP API."
    },
    "other_payment_method": {
      "type": "string",
      "description": "The other method. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/otherpaymentmethodcode/entries"
    },
    "reference": {
      "maxLength": 255,
      "minLength": 0,
      "type": "string",
      "description": "The reference."
    },
    "letter_code": {
      "type": "string",
      "description": "The letter. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/2ee83e88-66d2-4e79-af42-c2e37219dc78."
    },
    "direct_debit_result_code": {
      "maxLength": 10,
      "minLength": 0,
      "type": "string",
      "description": "The result code."
    },
    "low_price": {
      "type": "number",
      "description": "The low.",
      "format": "double"
    },
    "high_price": {
      "type": "number",
      "description": "The high.",
      "format": "double"
    },
    "csc": {
      "maxLength": 4,
      "minLength": 0,
      "type": "string",
      "description": "The csc."
    },
    "authorize_credit_card": {
      "type": "boolean",
      "description": "Indicates whether authorize card on save."
    },
    "gift_in_kind_item_name": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The item name."
    },
    "gift_in_kind_disposition": {
      "type": "string",
      "description": "The disposition. Available values are <i>to use</i>, <i>to sell</i>"
    },
    "gift_in_kind_number_of_units": {
      "type": "integer",
      "description": "The number of units.",
      "format": "int32"
    },
    "gift_in_kind_fair_market_value": {
      "type": "number",
      "description": "The fair market value per unit.",
      "format": "double"
    },
    "gift_in_kind_use_appraisal_threshold": {
      "type": "boolean",
      "description": "Indicates whether gift in kind use appraisal threshold. Read-only in the SOAP API."
    },
    "gift_in_kind_appraisal_threshold": {
      "type": "number",
      "description": "The gift in kind appraisal threshold. Read-only in the SOAP API.",
      "format": "double"
    },
    "percentage_benefits": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NewRevenuePaymentPercentageBenefits"
      },
      "description": "Percentage benefits."
    },
    "pd_account_system": {
      "type": "string",
      "description": "The account system. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/9eca5ee4-3b6b-4069-a4f3-9d7a832b3aff."
    },
    "show_account_system": {
      "type": "boolean",
      "description": "Indicates whether show account system. Read-only in the SOAP API."
    },
    "transaction_currency_id": {
      "type": "string",
      "description": "The transaction currency."
    },
    "base_exchange_rate_id": {
      "type": "string",
      "description": "The exchange rate ID."
    },
    "exchange_rate": {
      "type": "number",
      "description": "The exchange rate.",
      "format": "double"
    },
    "merchant_account": {
      "type": "string",
      "description": "The merchant account. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/e6e510e4-4d74-4195-b1a3-ddc92422a01b?parameters=currencyid,{transaction_currency_id}&parameters=loadrequest,{authorize_credit_card}&parameters=sitesecurityfeatureid,{3e5b7b99-fb01-49d4-9020-c953006b7d0f}&parameters=sitesecurityfeaturetype,{1}."
    },
    "default_merchant_account_id": {
      "type": "string",
      "description": "The default merchant account. Read-only in the SOAP API."
    },
    "sepa_mandate": {
      "type": "string",
      "description": "The mandate. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/3444cee8-1aa9-4bde-babf-ff53eb4edf9a?parameters=constituentaccountid,{constituentaccountid}&parameters=sepamandateid,{sepamandateid}."
    },
    "transaction_id": {
      "type": "string",
      "description": "The bbps transaction ID."
    },
    "vendor_id": {
      "type": "string",
      "description": "The bbps vendor ID."
    }
  },
  "additionalProperties": false,
  "x-display-name": "Payment Add Form",
  "x-display-id": "Payment Add Form",
  "$defs": {
    "FuzzyDate": {
      "type": "object",
      "properties": {
        "year": {
          "type": "integer",
          "description": "The year.",
          "format": "int32"
        },
        "month": {
          "type": "integer",
          "description": "The month.",
          "format": "int32"
        },
        "day": {
          "type": "integer",
          "description": "The day.",
          "format": "int32"
        }
      },
      "description": "FuzzyDate",
      "x-display-name": "Month Day",
      "x-display-id": "Month Day"
    },
    "NewRevenuePaymentBenefits": {
      "required": [
        "benefit_id",
        "quantity",
        "unit_value"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id"
        },
        "benefit_id": {
          "type": "string",
          "description": "benefit"
        },
        "quantity": {
          "type": "integer",
          "description": "quantity"
        },
        "unit_value": {
          "type": "number",
          "description": "unit value"
        },
        "total_value": {
          "type": "number",
          "description": "total value"
        },
        "details": {
          "type": "string",
          "description": "details"
        },
        "sequence": {
          "type": "integer",
          "description": "sequence"
        },
        "transaction_total_value": {
          "type": "number",
          "description": "transaction total value"
        }
      },
      "description": "NewRevenuePaymentBenefits",
      "x-display-name": "benefits",
      "x-display-id": "benefits"
    },
    "NewRevenuePaymentPercentageBenefits": {
      "required": [
        "benefit_id",
        "percent_applicable_amount",
        "value_percent"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id"
        },
        "benefit_id": {
          "type": "string",
          "description": "benefit"
        },
        "percent_applicable_amount": {
          "type": "number",
          "description": "amount"
        },
        "value_percent": {
          "type": "number",
          "description": "percent value"
        },
        "total_value": {
          "type": "number",
          "description": "total value"
        },
        "details": {
          "type": "string",
          "description": "details"
        },
        "sequence": {
          "type": "integer",
          "description": "sequence"
        },
        "transaction_total_value": {
          "type": "number",
          "description": "transaction total value"
        }
      },
      "description": "NewRevenuePaymentPercentageBenefits",
      "x-display-name": "percentage_benefits",
      "x-display-id": "percentage_benefits"
    },
    "NewRevenuePaymentRevenueStreams": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id"
        },
        "application_id": {
          "type": "string",
          "description": "applicationid"
        },
        "application": {
          "type": "string",
          "description": "The application. Available values are <i>donation</i>, <i>event registration</i>, <i>pledge</i>, <i>recurring gift</i>, <i>other</i>, <i>membership</i>, <i>planned gift</i>, <i>matching gift claim</i>, <i>grant award</i>, <i>opportunity</i>, <i>unapplied matching gift payment</i>, <i>auction purchase</i>, <i>donor challenge claim</i>, <i>pending gift</i>"
        },
        "description": {
          "type": "string",
          "description": "description"
        },
        "applied": {
          "type": "number",
          "description": "applied"
        },
        "percent_applied": {
          "type": "number",
          "description": "applied (%)"
        },
        "amount_due": {
          "type": "string",
          "description": "amount due"
        },
        "date_due": {
          "type": "string",
          "description": "date due",
          "format": "date"
        },
        "balance": {
          "type": "string",
          "description": "balance"
        },
        "gift_fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsGiftFields"
          },
          "description": "Gift fields."
        },
        "other_fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsOtherFields"
          },
          "description": "Other fields."
        },
        "membership_fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsMembershipFields"
          },
          "description": "Membership fields."
        },
        "remove_button": {
          "type": "string",
          "description": "removebutton"
        },
        "declines_gift_aid": {
          "type": "boolean",
          "description": "constituent declines gift aid for this application"
        },
        "gift_aid_sponsorship": {
          "type": "boolean",
          "description": "gift aid sponsorship"
        },
        "over_payment_application_type": {
          "type": "string",
          "description": "The overpayment to. Available values are <i>pledge balance</i>, <i>next installment</i>"
        },
        "transaction_currency_id": {
          "type": "string",
          "description": "transaction currency"
        },
        "application_currency_id": {
          "type": "string",
          "description": "application currency"
        },
        "exchange_rate": {
          "type": "number",
          "description": "exchange rate"
        },
        "category_code": {
          "type": "string",
          "description": "The event registration revenue category. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/d9dd46ce-6651-4fcc-b9fe-e59162662224."
        },
        "recurring_gift_fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsRecurringGiftFields"
          },
          "description": "Recurring gift fields."
        }
      },
      "description": "NewRevenuePaymentRevenueStreams",
      "x-display-name": "revenue_streams",
      "x-display-id": "revenue_streams"
    },
    "NewRevenuePaymentRevenuestreamsGiftFields": {
      "required": [
        "designation_id"
      ],
      "type": "object",
      "properties": {
        "applied": {
          "type": "number",
          "description": "applied"
        },
        "opportunity_id": {
          "type": "string",
          "description": "opportunity"
        },
        "appeal_id": {
          "type": "string",
          "description": "appeal"
        },
        "designation_id": {
          "type": "string",
          "description": "designation"
        },
        "campaigns": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsGiftfieldsCampaigns"
          },
          "description": "Campaigns."
        },
        "solicitors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsGiftfieldsSolicitors"
          },
          "description": "Solicitors."
        },
        "recognitions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsGiftfieldsRecognitions"
          },
          "description": "Recognitions."
        },
        "category_code": {
          "type": "string",
          "description": "The category. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/d9dd46ce-6651-4fcc-b9fe-e59162662224."
        },
        "declines_gift_aid": {
          "type": "boolean",
          "description": "constituent declines gift aid for this application"
        },
        "gift_aid_sponsorship": {
          "type": "boolean",
          "description": "gift aid sponsorship"
        },
        "revenue_type_code": {
          "type": "string",
          "description": "revenue type"
        },
        "transaction_currency_id": {
          "type": "string",
          "description": "transaction currency"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsGiftFields",
      "x-display-name": "gift_fields",
      "x-display-id": "gift_fields"
    },
    "NewRevenuePaymentRevenuestreamsGiftfieldsCampaigns": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "revenue split campaign id"
        },
        "campaign_id": {
          "type": "string",
          "description": "campaign"
        },
        "campaign_subpriority": {
          "type": "string",
          "description": "The campaign subpriority. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/e3e9e22a-85f2-4a77-ba74-25b391252dab?parameters=campaign_id,{campaign_id}."
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsGiftfieldsCampaigns",
      "x-display-name": "campaigns",
      "x-display-id": "campaigns"
    },
    "NewRevenuePaymentRevenuestreamsGiftfieldsRecognitions": {
      "required": [
        "constituent_id",
        "effective_date",
        "amount"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id"
        },
        "constituent_id": {
          "type": "string",
          "description": "constituent"
        },
        "revenue_recognition_type": {
          "type": "string",
          "description": "The recognition credit type. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/revenuerecognitiontypecode/entries"
        },
        "effective_date": {
          "type": "string",
          "description": "effective date",
          "format": "date"
        },
        "amount": {
          "type": "number",
          "description": "amount"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsGiftfieldsRecognitions",
      "x-display-name": "recognitions",
      "x-display-id": "recognitions"
    },
    "NewRevenuePaymentRevenuestreamsGiftfieldsSolicitors": {
      "required": [
        "constituent_id"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "revenue split solicitor id"
        },
        "constituent_id": {
          "type": "string",
          "description": "solicitor"
        },
        "amount": {
          "type": "number",
          "description": "amount"
        },
        "sequence": {
          "type": "integer",
          "description": "sequence"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsGiftfieldsSolicitors",
      "x-display-name": "solicitors",
      "x-display-id": "solicitors"
    },
    "NewRevenuePaymentRevenuestreamsMembershipFields": {
      "required": [
        "membership_program",
        "membership_level",
        "membership_level_term"
      ],
      "type": "object",
      "properties": {
        "membership_program": {
          "type": "string",
          "description": "The program. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/eb44b0ac-c3b3-4f3f-986e-e5ac8887509a."
        },
        "membership_level": {
          "type": "string",
          "description": "The level. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/6ef82fa0-f3d8-4f2b-b47d-872c57dd61d9?parameters=membershipprogramid,{membershipprogramid}."
        },
        "membership_level_term": {
          "type": "string",
          "description": "The term. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/0e2e7741-0069-4558-b14c-d2f81aaa41bc?parameters=membershiplevelid,{membershiplevelid}."
        },
        "membership_type_code": {
          "type": "string",
          "description": "The type. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/135ac6e3-fd74-4cbe-9529-a2ce43e921f3?parameters=membershiplevelid,{membershiplevelid}."
        },
        "number_of_children": {
          "type": "string",
          "description": "no. of children",
          "format": "smallint"
        },
        "comments": {
          "type": "string",
          "description": "comments"
        },
        "gift": {
          "type": "boolean",
          "description": "this membership is a gift"
        },
        "send_renewal": {
          "type": "string",
          "description": "The send renewal notice to. Available values are <i>giver</i>, <i>primary member</i>, <i>giver and primary member</i>"
        },
        "expiration_date": {
          "type": "string",
          "description": "expiration date",
          "format": "date"
        },
        "given_by_id": {
          "type": "string",
          "description": "given by"
        },
        "amount": {
          "type": "number",
          "description": "amount"
        },
        "members": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsMembershipfieldsMembers"
          },
          "description": "Members."
        },
        "status": {
          "type": "integer",
          "description": "status"
        },
        "expiration_window": {
          "type": "string",
          "description": "expirationwindow",
          "format": "date"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsMembershipFields",
      "x-display-name": "membership_fields",
      "x-display-id": "membership_fields"
    },
    "NewRevenuePaymentRevenuestreamsMembershipfieldsMembers": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id"
        },
        "constituent_id": {
          "type": "string",
          "description": "name"
        },
        "primary": {
          "type": "boolean",
          "description": "primary"
        },
        "membership_cards": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsMembershipfieldsMembersMembershipCards"
          },
          "description": "Membership cards."
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsMembershipfieldsMembers",
      "x-display-name": "members",
      "x-display-id": "members"
    },
    "NewRevenuePaymentRevenuestreamsMembershipfieldsMembersMembershipCards": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id"
        },
        "name_on_card": {
          "type": "string",
          "description": "name on card"
        },
        "expiration_date": {
          "type": "string",
          "description": "expires on",
          "format": "date"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsMembershipfieldsMembersMembershipCards",
      "x-display-name": "membership_cards",
      "x-display-id": "membership_cards"
    },
    "NewRevenuePaymentRevenuestreamsOtherFields": {
      "required": [
        "designation_id"
      ],
      "type": "object",
      "properties": {
        "applied": {
          "type": "number",
          "description": "applied"
        },
        "other_type": {
          "type": "string",
          "description": "The other type. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/revenueothertypecode/entries"
        },
        "appeal_id": {
          "type": "string",
          "description": "appeal"
        },
        "designation_id": {
          "type": "string",
          "description": "designation"
        },
        "campaigns": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsOtherfieldsCampaigns"
          },
          "description": "Campaigns."
        },
        "solicitors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsOtherfieldsSolicitors"
          },
          "description": "Solicitors."
        },
        "recognitions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsOtherfieldsRecognitions"
          },
          "description": "Recognitions."
        },
        "category_code": {
          "type": "string",
          "description": "The category. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/d9dd46ce-6651-4fcc-b9fe-e59162662224."
        },
        "transaction_currency_id": {
          "type": "string",
          "description": "transaction currency"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsOtherFields",
      "x-display-name": "other_fields",
      "x-display-id": "other_fields"
    },
    "NewRevenuePaymentRevenuestreamsOtherfieldsCampaigns": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "revenue split campaign id"
        },
        "campaign_id": {
          "type": "string",
          "description": "campaign"
        },
        "campaign_subpriority": {
          "type": "string",
          "description": "The campaign subpriority. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/e3e9e22a-85f2-4a77-ba74-25b391252dab?parameters=campaign_id,{campaign_id}."
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsOtherfieldsCampaigns",
      "x-display-name": "campaigns",
      "x-display-id": "campaigns"
    },
    "NewRevenuePaymentRevenuestreamsOtherfieldsRecognitions": {
      "required": [
        "constituent_id",
        "effective_date",
        "amount"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id"
        },
        "constituent_id": {
          "type": "string",
          "description": "constituent"
        },
        "revenue_recognition_type": {
          "type": "string",
          "description": "The recognition credit type. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/revenuerecognitiontypecode/entries"
        },
        "effective_date": {
          "type": "string",
          "description": "effective date",
          "format": "date"
        },
        "amount": {
          "type": "number",
          "description": "amount"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsOtherfieldsRecognitions",
      "x-display-name": "recognitions",
      "x-display-id": "recognitions"
    },
    "NewRevenuePaymentRevenuestreamsOtherfieldsSolicitors": {
      "type": "object",
      "properties": {
        "constituent_id": {
          "type": "string",
          "description": "solicitor"
        },
        "amount": {
          "type": "number",
          "description": "amount"
        },
        "sequence": {
          "type": "integer",
          "description": "sequence"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsOtherfieldsSolicitors",
      "x-display-name": "solicitors",
      "x-display-id": "solicitors"
    },
    "NewRevenuePaymentRevenuestreamsRecurringGiftFields": {
      "type": "object",
      "properties": {
        "splits": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsRecurringgiftfieldsSplits"
          },
          "description": "Splits."
        },
        "action_above_amount": {
          "type": "number",
          "description": "actionaboveamount"
        },
        "over_payment_code": {
          "type": "integer",
          "description": "overpaymentcode"
        },
        "action_below_amounts": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NewRevenuePaymentRevenuestreamsRecurringgiftfieldsActionBelowAmounts"
          },
          "description": "Action below amounts."
        },
        "under_payment_code": {
          "type": "integer",
          "description": "underpaymentcode"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsRecurringGiftFields",
      "x-display-name": "recurring_gift_fields",
      "x-display-id": "recurring_gift_fields"
    },
    "NewRevenuePaymentRevenuestreamsRecurringgiftfieldsActionBelowAmounts": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "amount"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsRecurringgiftfieldsActionBelowAmounts",
      "x-display-name": "action_below_amounts",
      "x-display-id": "action_below_amounts"
    },
    "NewRevenuePaymentRevenuestreamsRecurringgiftfieldsSplits": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "id"
        },
        "amount": {
          "type": "number",
          "description": "amount"
        },
        "designation_id": {
          "type": "string",
          "description": "designationid"
        },
        "designation_description": {
          "type": "string",
          "description": "designationdescription"
        },
        "transaction_currency_id": {
          "type": "string",
          "description": "transactioncurrencyid"
        }
      },
      "description": "NewRevenuePaymentRevenuestreamsRecurringgiftfieldsSplits",
      "x-display-name": "splits",
      "x-display-id": "splits"
    }
  }
}