{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/helloasso/json-schema/helloasso-hello-asso-api-v5-common-models-forms-form-quick-create-request-schema.json",
  "title": "HelloAsso.Api.V5.Common.Models.Forms.FormQuickCreateRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/helloasso-helloasso-openapi.json#/components/schemas/HelloAsso.Api.V5.Common.Models.Forms.FormQuickCreateRequest",
  "required": [
    "title"
  ],
  "type": "object",
  "properties": {
    "tierList": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/HelloAsso.Api.V5.Common.Models.Forms.TierLightModel"
      }
    },
    "banner": {
      "type": [
        "string",
        "null"
      ],
      "description": "The banner of the form"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "The description of form"
    },
    "endDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "The datetime of the activity end",
      "format": "date-time"
    },
    "logo": {
      "type": [
        "string",
        "null"
      ],
      "description": "The logo of the form"
    },
    "privateTitle": {
      "type": [
        "string",
        "null"
      ],
      "description": "Private Title : displayed only in the organization back office"
    },
    "startDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "The datetime of the activity start",
      "format": "date-time"
    },
    "title": {
      "minLength": 1,
      "type": "string",
      "description": "The title of the form. It will be used to generate the url which that can't be changed."
    },
    "activityTypeId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Activity type identifier, matching one of the provided type values <a href=\"index#!/Values/Values_Get\"> provided here</a>",
      "format": "int32"
    },
    "place": {
      "$ref": "#/$defs/HelloAsso.Api.V5.Common.Models.Common.PlaceModel"
    },
    "saleEndDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "The datetime (Inclusive) at which the sales end.\r\nIf null the orders will be available until the end of the campaign.",
      "format": "date-time"
    },
    "saleStartDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "The datetime (Inclusive) at which the users can start placing orders.\r\nIf null the orders will be available as soon as the campaign is published.",
      "format": "date-time"
    },
    "validityType": {
      "$ref": "#/$defs/HelloAsso.Api.V5.Common.Models.Enums.MembershipValidityType"
    },
    "acceptOpenDonation": {
      "type": "boolean",
      "description": "Whether the user will be allowed to make a single open donation with an order. The amount of the donation is open, but 3 presets can be set in OpenDonationPresetAmount"
    },
    "acceptOpenMonthlyDonation": {
      "type": "boolean",
      "description": "Whether the user will be allowed to make a monthly open donation for donation forms"
    },
    "allowComment": {
      "type": "boolean",
      "description": "allowComment"
    },
    "amountVisible": {
      "type": "boolean",
      "description": "amountVisible"
    },
    "color": {
      "type": [
        "string",
        "null"
      ],
      "description": "The color of the form"
    },
    "widgetButtonText": {
      "type": [
        "string",
        "null"
      ],
      "description": "The text displayed in the widget button"
    },
    "contact": {
      "$ref": "#/$defs/HelloAsso.Api.V5.Common.Models.Common.ContactModel"
    },
    "displayContributorName": {
      "type": "boolean",
      "description": "Display contributor name for fundraiser and donation forms."
    },
    "displayParticipantsCount": {
      "type": "boolean",
      "description": "Indicates that the members count must be displayed on the form."
    },
    "displayRemainingEntries": {
      "type": "boolean",
      "description": "Indicates that the remaining entries must be displayed on the form."
    },
    "financialGoal": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Indicates the financial goal (amount of money raised) for the whole form. Null means no goal.",
      "format": "int64"
    },
    "generateMembershipCards": {
      "type": "boolean",
      "description": "Entrust the issuance of membership cards to HelloAsso (automatically sent by email to participants)"
    },
    "generateTickets": {
      "type": "boolean",
      "description": "Entrust the issuance of tickets to HelloAsso (automatically sent by email to participants)"
    },
    "invertDescriptions": {
      "type": "boolean",
      "description": "Allows you to add the long description above the store catalog."
    },
    "labelConditionsAndTermsFile": {
      "type": [
        "string",
        "null"
      ],
      "description": "Label conditions and terms file"
    },
    "longDescription": {
      "type": [
        "string",
        "null"
      ],
      "description": "The long description of the form (rich Html)"
    },
    "openDonationPresetAmounts": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer",
        "format": "int32"
      },
      "description": "The preset amounts to be shown to the user. Maximum 3 amounts."
    },
    "personalizedMessage": {
      "type": [
        "string",
        "null"
      ],
      "description": "Personalized message for participants"
    },
    "projectBeneficiaries": {
      "type": [
        "string",
        "null"
      ],
      "description": "The project beneficiaries of the form (rich Html)"
    },
    "projectExpensesDetails": {
      "type": [
        "string",
        "null"
      ],
      "description": "Details of the project expenses (rich Html)"
    },
    "projectOwners": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description of the project owners (rich Html)"
    },
    "suggestMonthlyDonation": {
      "type": "boolean",
      "description": "Suggest monthly donation for donation forms."
    },
    "displayMonthlyDonationsFirst": {
      "type": "boolean",
      "description": "The monthly donation option should be displayed or selected by default for donation forms."
    },
    "projectTargetCountry": {
      "maxLength": 3,
      "minLength": 3,
      "type": [
        "string",
        "null"
      ],
      "description": "3 letter country code"
    },
    "allowOrganismPayer": {
      "type": "boolean",
      "description": "Whether users are allowed to contribute to this form through an organism (only for donation and crowdfunding)."
    },
    "allowIndividualPayer": {
      "type": "boolean",
      "description": "Whether user are allowed to personally contribute to this form (only for donation and crowdfunding)."
    },
    "remindAbandonedCart": {
      "type": "boolean",
      "description": "Whether a reminder email should be sent for abandoned carts."
    },
    "displayVersion": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The form display version (only for membership).",
      "format": "int32"
    },
    "maxEntries": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Indicates the maximum available entries for the whole form. Null means unlimited entries.",
      "format": "int32"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "HelloAsso.Api.V5.Common.Models.Common.ContactModel": {
      "type": "object",
      "properties": {
        "email": {
          "type": [
            "string",
            "null"
          ],
          "description": "Contact email"
        },
        "phoneNumber": {
          "type": [
            "string",
            "null"
          ],
          "description": "Contact phone number"
        }
      },
      "additionalProperties": false,
      "description": "Contact class"
    },
    "HelloAsso.Api.V5.Common.Models.Common.PlaceModel": {
      "type": "object",
      "properties": {
        "address": {
          "type": [
            "string",
            "null"
          ],
          "description": "Address"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the place"
        },
        "city": {
          "type": [
            "string",
            "null"
          ],
          "description": "City"
        },
        "zipCode": {
          "type": [
            "string",
            "null"
          ],
          "description": "ZipCode"
        },
        "country": {
          "maxLength": 3,
          "minLength": 3,
          "type": [
            "string",
            "null"
          ],
          "description": "3 letter country code"
        },
        "geoLocation": {
          "$ref": "#/$defs/HelloAsso.Models.Shared.GeoLocation"
        }
      },
      "additionalProperties": false,
      "description": "PlaceModel class"
    },
    "HelloAsso.Api.V5.Common.Models.Enums.MembershipValidityType": {
      "enum": [
        "MovingYear",
        "Custom",
        "Illimited"
      ],
      "type": "string",
      "description": "Enum which represents the membership validity type"
    },
    "HelloAsso.Api.V5.Common.Models.Forms.TierLightModel": {
      "type": "object",
      "properties": {
        "label": {
          "type": [
            "string",
            "null"
          ]
        },
        "price": {
          "type": "integer",
          "format": "int32"
        }
      },
      "additionalProperties": false
    },
    "HelloAsso.Models.Shared.GeoLocation": {
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number",
          "format": "double"
        },
        "longitude": {
          "type": "number",
          "format": "double"
        }
      },
      "additionalProperties": false
    }
  }
}