{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blackbaud/main/json-schema/blackbaud-new-fundraising-purpose-schema.json",
  "title": "NewFundraisingPurpose",
  "description": "CreateFundraisingPurpose",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blackbaud-altru-fundraising-api-openapi.yml#/components/schemas/NewFundraisingPurpose",
  "required": [
    "name",
    "designation_level_type",
    "lookup_id"
  ],
  "type": "object",
  "properties": {
    "name": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The name."
    },
    "description": {
      "maxLength": 255,
      "minLength": 0,
      "type": "string",
      "description": "The description."
    },
    "designation_level_type": {
      "type": "string",
      "description": "The type. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/5135618a-3055-4e02-ab1e-a2c091ad05e5."
    },
    "designation_level_category": {
      "type": "string",
      "description": "The category. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/designationlevelcategorycode/entries"
    },
    "stewardship_package_process": {
      "type": "string",
      "description": "The stewardship package. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/0b31b2ce-e673-4feb-8aa7-3d55e2f7dc7e."
    },
    "administrator_id": {
      "type": "string",
      "description": "The administrator."
    },
    "lookup_id": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The lookup ID."
    },
    "designation_report_code_1": {
      "type": "string",
      "description": "The report code 1. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/designationreport1code/entries"
    },
    "designation_report_code_2": {
      "type": "string",
      "description": "The report code 2. This code table can be queried at https://api.sky.blackbaud.com/alt-adnmg/codetables/designationreport2code/entries"
    },
    "site_id": {
      "type": "string",
      "description": "The site."
    },
    "site_required": {
      "type": "boolean",
      "description": "Indicates whether site required. Read-only in the SOAP API."
    },
    "vanity_name": {
      "maxLength": 512,
      "minLength": 0,
      "type": "string",
      "description": "The public name."
    },
    "time_period": {
      "type": "string",
      "description": "The frequency. Available values are <i>annually</i>, <i>quarterly</i>, <i>monthly</i>"
    },
    "endowed": {
      "type": "boolean",
      "description": "Indicates whether endowed."
    },
    "fully_funded": {
      "type": "boolean",
      "description": "Indicates whether fully funded."
    },
    "income_to_principal": {
      "type": "boolean",
      "description": "Indicates whether income to principal."
    },
    "income_to_principal_percent": {
      "type": "number",
      "description": "The income to principal %.",
      "format": "double"
    },
    "statement_wording": {
      "maxLength": 1024,
      "minLength": 0,
      "type": "string",
      "description": "The statement wording."
    },
    "endowment_min_amount": {
      "type": "number",
      "description": "The minimum amount for endowment.",
      "format": "double"
    },
    "endowment_target_date": {
      "type": "string",
      "description": "The target date for endowment. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
      "format": "date-time"
    },
    "endowment_min_amount_date_met": {
      "type": "string",
      "description": "The date minimum amount met. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
      "format": "date-time"
    },
    "base_currency_id": {
      "type": "string",
      "description": "The base currency. Read-only in the SOAP API."
    }
  },
  "additionalProperties": false,
  "x-display-name": "Fundraising Purpose Add Form",
  "x-display-id": "Fundraising Purpose Add Form"
}