{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blackbaud/main/json-schema/blackbaud-revenue-payment-schema.json",
  "title": "RevenuePayment",
  "description": "GetRevenuePayment",
  "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/RevenuePayment",
  "required": [
    "date",
    "amount",
    "receipt_amount",
    "post_status",
    "payment_method"
  ],
  "type": "object",
  "properties": {
    "constituent_id": {
      "type": "string",
      "description": "The constituent ID. Read-only in the SOAP API."
    },
    "can_have_unapplied_mg": {
      "type": "boolean",
      "description": "Indicates whether can have unapplied mg. Read-only in the SOAP API."
    },
    "constituent_name": {
      "type": "string",
      "description": "The constituent. Read-only in the SOAP API."
    },
    "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"
    },
    "receipt_amount": {
      "type": "number",
      "description": "The receipt amount.",
      "format": "double"
    },
    "revenue_streams": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RevenuePaymentRevenueStreams"
      },
      "description": "Revenue streams."
    },
    "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/RevenuePaymentBenefits"
      },
      "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 marketing effort 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_receipt": {
      "type": "boolean",
      "description": "Indicates whether indicates if the donation portion of this payment should be receipted.."
    },
    "do_not_acknowledge": {
      "type": "boolean",
      "description": "Indicates whether indicates if the donation portion of this payment should be acknowledged.."
    },
    "reference": {
      "maxLength": 255,
      "minLength": 0,
      "type": "string",
      "description": "The reference."
    },
    "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>"
    },
    "finder_number": {
      "type": "string",
      "description": "The finder number. Read-only in the SOAP API."
    },
    "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>"
    },
    "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"
    },
    "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": 255,
      "minLength": 0,
      "type": "string",
      "description": "The name on card."
    },
    "credit_card_number": {
      "maxLength": 4,
      "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_sub_type": {
      "type": "string",
      "description": "The subtype. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/giftinkindsubtypecode/entries"
    },
    "property_sub_type": {
      "type": "string",
      "description": "The subtype. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/propertysubtypecode/entries"
    },
    "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"
    },
    "has_sold_stock": {
      "type": "boolean",
      "description": "Indicates whether has sold stock. Read-only in the SOAP API."
    },
    "has_sold_property": {
      "type": "boolean",
      "description": "Indicates whether has sold property. Read-only in the SOAP API."
    },
    "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"
    },
    "gift_in_kind_gift_appraised": {
      "type": "boolean",
      "description": "Indicates whether gift in kind gift appraised. Read-only in the SOAP API."
    },
    "direct_debit_is_rejected": {
      "type": "boolean",
      "description": "Indicates whether rejected."
    },
    "percentage_benefits": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RevenuePaymentPercentageBenefits"
      },
      "description": "Percentage benefits."
    },
    "display_credit_card_refund_prompt_when_reducing_amount": {
      "type": "boolean",
      "description": "Indicates whether display credit card refund prompt when reducing amount. Read-only in the SOAP API."
    },
    "refund_credit_card_amount_changed": {
      "type": "boolean",
      "description": "Indicates whether refund card on save."
    },
    "base_currency_id": {
      "type": "string",
      "description": "The base currency."
    },
    "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"
    },
    "had_spot_rate": {
      "type": "boolean",
      "description": "Indicates whether had spot rate."
    },
    "base_decimal_digits": {
      "type": "integer",
      "description": "The decimal digits. Read-only in the SOAP API.",
      "format": "int32"
    },
    "base_rounding_type_code": {
      "type": "integer",
      "description": "The rounding type. Read-only in the SOAP API.",
      "format": "int32"
    },
    "transaction_currency_description": {
      "type": "string",
      "description": "The tranaction currency description. Read-only in the SOAP API."
    },
    "has_matching_gift_claim": {
      "type": "boolean",
      "description": "Indicates whether has matching gift claims. Read-only in the SOAP API."
    },
    "adjust_matching_gift_claims": {
      "type": "integer",
      "description": "The adjust matching gift claims.",
      "format": "int32"
    },
    "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. Read-only in the SOAP API."
    },
    "update_gift_fee_option": {
      "type": "integer",
      "description": "The update gift fees.",
      "format": "int32"
    },
    "update_tribute_option": {
      "type": "integer",
      "description": "The tribut update option.",
      "format": "int32"
    },
    "has_tribute": {
      "type": "boolean",
      "description": "Indicates whether has tribute. Read-only in the SOAP API."
    },
    "validate_tributes": {
      "type": "string",
      "description": "The validate tributes."
    },
    "allow_gl_distributions": {
      "type": "boolean",
      "description": "Indicates whether allow gl distributions. Read-only in the SOAP API."
    },
    "has_sold_gift_in_kind": {
      "type": "boolean",
      "description": "Indicates whether has sold gift-in-kind. 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}."
    }
  },
  "additionalProperties": false,
  "x-display-name": "Payment Edit Form 2",
  "x-display-id": "Payment Edit Form 2",
  "$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"
    },
    "RevenuePaymentBenefits": {
      "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": "RevenuePaymentBenefits",
      "x-display-name": "benefits",
      "x-display-id": "benefits"
    },
    "RevenuePaymentPercentageBenefits": {
      "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": "RevenuePaymentPercentageBenefits",
      "x-display-name": "percentage_benefits",
      "x-display-id": "percentage_benefits"
    },
    "RevenuePaymentRevenueStreams": {
      "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>event sponsorship</i>, <i>pending gift</i>, <i>membership add-on</i>, <i>membership installment plan</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/RevenuePaymentRevenuestreamsGiftFields"
          },
          "description": "Gift fields."
        },
        "other_fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RevenuePaymentRevenuestreamsOtherFields"
          },
          "description": "Other fields."
        },
        "membership_fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RevenuePaymentRevenuestreamsMembershipFields"
          },
          "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>"
        },
        "gift_aid_committed": {
          "type": "boolean",
          "description": "gift aid committed"
        },
        "transaction_currency_id": {
          "type": "string",
          "description": "transaction currency"
        },
        "application_currency_id": {
          "type": "string",
          "description": "application currency"
        },
        "exchange_rate": {
          "type": "number",
          "description": "exchange rate"
        },
        "update_recognition_option": {
          "type": "integer",
          "description": "updaterecognitionoption"
        },
        "update_solicitors_option": {
          "type": "integer",
          "description": "updatesolicitorsoption"
        },
        "type": {
          "type": "string",
          "description": "The type. Read-only in the SOAP API. Available values are <i>sponsorship additional donation</i>"
        },
        "recurring_gift_fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RevenuePaymentRevenuestreamsRecurringGiftFields"
          },
          "description": "Recurring gift fields."
        }
      },
      "description": "RevenuePaymentRevenueStreams",
      "x-display-name": "revenue_streams",
      "x-display-id": "revenue_streams"
    },
    "RevenuePaymentRevenuestreamsGiftFields": {
      "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/RevenuePaymentRevenuestreamsGiftfieldsCampaigns"
          },
          "description": "Campaigns."
        },
        "solicitors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RevenuePaymentRevenuestreamsGiftfieldsSolicitors"
          },
          "description": "Solicitors."
        },
        "recognitions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RevenuePaymentRevenuestreamsGiftfieldsRecognitions"
          },
          "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": "RevenuePaymentRevenuestreamsGiftFields",
      "x-display-name": "gift_fields",
      "x-display-id": "gift_fields"
    },
    "RevenuePaymentRevenuestreamsGiftfieldsCampaigns": {
      "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=campaignid,{campaignid}."
        }
      },
      "description": "RevenuePaymentRevenuestreamsGiftfieldsCampaigns",
      "x-display-name": "campaigns",
      "x-display-id": "campaigns"
    },
    "RevenuePaymentRevenuestreamsGiftfieldsRecognitions": {
      "required": [
        "constituent_id"
      ],
      "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"
        },
        "donor": {
          "type": "string",
          "description": "donor"
        },
        "recognition_credit_fk_id": {
          "type": "string",
          "description": "donor"
        },
        "effective_date": {
          "type": "string",
          "description": "effective date",
          "format": "date"
        },
        "amount": {
          "type": "number",
          "description": "amount"
        },
        "base_currency_id": {
          "type": "string",
          "description": "base currency id"
        },
        "designation": {
          "type": "string",
          "description": "designation"
        },
        "designation_id": {
          "type": "string",
          "description": "designation"
        },
        "donor_challenge_recognition_type": {
          "type": "string",
          "description": "The donor challenge recognition type code. Available values are <i>original</i>, <i>external sponsor</i>, <i>internal sponsor</i>"
        }
      },
      "description": "RevenuePaymentRevenuestreamsGiftfieldsRecognitions",
      "x-display-name": "recognitions",
      "x-display-id": "recognitions"
    },
    "RevenuePaymentRevenuestreamsGiftfieldsSolicitors": {
      "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": "RevenuePaymentRevenuestreamsGiftfieldsSolicitors",
      "x-display-name": "solicitors",
      "x-display-id": "solicitors"
    },
    "RevenuePaymentRevenuestreamsMembershipFields": {
      "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": "integer",
          "description": "no. of children"
        },
        "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/RevenuePaymentRevenuestreamsMembershipfieldsMembers"
          },
          "description": "Members."
        },
        "status": {
          "type": "integer",
          "description": "status"
        },
        "expiration_window": {
          "type": "string",
          "description": "expirationwindow",
          "format": "date"
        }
      },
      "description": "RevenuePaymentRevenuestreamsMembershipFields",
      "x-display-name": "membership_fields",
      "x-display-id": "membership_fields"
    },
    "RevenuePaymentRevenuestreamsMembershipfieldsMembers": {
      "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/RevenuePaymentRevenuestreamsMembershipfieldsMembersMembershipCards"
          },
          "description": "Membership cards."
        }
      },
      "description": "RevenuePaymentRevenuestreamsMembershipfieldsMembers",
      "x-display-name": "members",
      "x-display-id": "members"
    },
    "RevenuePaymentRevenuestreamsMembershipfieldsMembersMembershipCards": {
      "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": "RevenuePaymentRevenuestreamsMembershipfieldsMembersMembershipCards",
      "x-display-name": "membership_cards",
      "x-display-id": "membership_cards"
    },
    "RevenuePaymentRevenuestreamsOtherFields": {
      "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/RevenuePaymentRevenuestreamsOtherfieldsCampaigns"
          },
          "description": "Campaigns."
        },
        "solicitors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RevenuePaymentRevenuestreamsOtherfieldsSolicitors"
          },
          "description": "Solicitors."
        },
        "recognitions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RevenuePaymentRevenuestreamsOtherfieldsRecognitions"
          },
          "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": "RevenuePaymentRevenuestreamsOtherFields",
      "x-display-name": "other_fields",
      "x-display-id": "other_fields"
    },
    "RevenuePaymentRevenuestreamsOtherfieldsCampaigns": {
      "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=campaignid,{campaignid}."
        }
      },
      "description": "RevenuePaymentRevenuestreamsOtherfieldsCampaigns",
      "x-display-name": "campaigns",
      "x-display-id": "campaigns"
    },
    "RevenuePaymentRevenuestreamsOtherfieldsRecognitions": {
      "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"
        },
        "donor": {
          "type": "string",
          "description": "donor"
        },
        "recognition_credit_fk_id": {
          "type": "string",
          "description": "donor"
        },
        "effective_date": {
          "type": "string",
          "description": "effective date",
          "format": "date"
        },
        "amount": {
          "type": "number",
          "description": "amount"
        },
        "base_currency_id": {
          "type": "string",
          "description": "base currency id"
        },
        "designation": {
          "type": "string",
          "description": "designation"
        },
        "designation_id": {
          "type": "string",
          "description": "designation"
        },
        "donor_challenge_recognition_type": {
          "type": "string",
          "description": "The donor challenge recognition type code. Available values are <i>original</i>, <i>external sponsor</i>, <i>internal sponsor</i>"
        }
      },
      "description": "RevenuePaymentRevenuestreamsOtherfieldsRecognitions",
      "x-display-name": "recognitions",
      "x-display-id": "recognitions"
    },
    "RevenuePaymentRevenuestreamsOtherfieldsSolicitors": {
      "type": "object",
      "properties": {
        "constituent_id": {
          "type": "string",
          "description": "solicitor"
        },
        "amount": {
          "type": "number",
          "description": "amount"
        },
        "sequence": {
          "type": "integer",
          "description": "sequence"
        }
      },
      "description": "RevenuePaymentRevenuestreamsOtherfieldsSolicitors",
      "x-display-name": "solicitors",
      "x-display-id": "solicitors"
    },
    "RevenuePaymentRevenuestreamsRecurringGiftFields": {
      "type": "object",
      "properties": {
        "splits": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RevenuePaymentRevenuestreamsRecurringgiftfieldsSplits"
          },
          "description": "Splits."
        },
        "designation_id": {
          "type": "string",
          "description": "designationid"
        },
        "action_above_amount": {
          "type": "number",
          "description": "actionaboveamount"
        },
        "over_payment_code": {
          "type": "integer",
          "description": "overpaymentcode"
        },
        "action_below_amounts": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RevenuePaymentRevenuestreamsRecurringgiftfieldsActionBelowAmounts"
          },
          "description": "Action below amounts."
        },
        "under_payment_code": {
          "type": "integer",
          "description": "underpaymentcode"
        }
      },
      "description": "RevenuePaymentRevenuestreamsRecurringGiftFields",
      "x-display-name": "recurring_gift_fields",
      "x-display-id": "recurring_gift_fields"
    },
    "RevenuePaymentRevenuestreamsRecurringgiftfieldsActionBelowAmounts": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "amount"
        }
      },
      "description": "RevenuePaymentRevenuestreamsRecurringgiftfieldsActionBelowAmounts",
      "x-display-name": "action_below_amounts",
      "x-display-id": "action_below_amounts"
    },
    "RevenuePaymentRevenuestreamsRecurringgiftfieldsSplits": {
      "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": "RevenuePaymentRevenuestreamsRecurringgiftfieldsSplits",
      "x-display-name": "splits",
      "x-display-id": "splits"
    }
  }
}