{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sasco/json-schema/sasco-franchise-application-add-edit-dto-schema.json",
  "title": "FranchiseApplicationAddEditDto",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sasco-openapi.json#/components/schemas/FranchiseApplicationAddEditDto",
  "required": [
    "address",
    "age",
    "city",
    "email",
    "identityNumber",
    "mailbox",
    "name",
    "phoneNumber"
  ],
  "type": "object",
  "properties": {
    "name": {
      "maxLength": 50,
      "type": "string"
    },
    "identityNumber": {
      "maxLength": 10,
      "type": "string"
    },
    "age": {
      "maxLength": 10,
      "type": "string"
    },
    "nationalityId": {
      "type": "integer",
      "format": "int32"
    },
    "isType": {
      "type": "boolean"
    },
    "educationalQualification": {
      "type": [
        "string",
        "null"
      ]
    },
    "phoneNumber": {
      "maxLength": 10,
      "type": "string"
    },
    "fax": {
      "type": [
        "string",
        "null"
      ]
    },
    "email": {
      "maxLength": 100,
      "type": "string"
    },
    "countryId": {
      "type": "integer",
      "format": "int32"
    },
    "city": {
      "maxLength": 50,
      "type": "string"
    },
    "address": {
      "maxLength": 50,
      "type": "string"
    },
    "mailbox": {
      "maxLength": 20,
      "type": "string"
    },
    "totalAnnual": {
      "maxLength": 20,
      "type": [
        "string",
        "null"
      ]
    },
    "isYorOwnbusiness": {
      "type": "boolean"
    },
    "accountType": {
      "maxLength": 30,
      "type": [
        "string",
        "null"
      ]
    },
    "activityStartDate": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedCapital": {
      "maxLength": 50,
      "type": [
        "string",
        "null"
      ]
    },
    "equityPartners": {
      "type": "boolean"
    },
    "commercialRegistryActivity": {
      "maxLength": 30,
      "type": [
        "string",
        "null"
      ]
    },
    "payOffLoan": {
      "type": "boolean"
    },
    "remainingTimeToLoan": {
      "maxLength": 50,
      "type": [
        "string",
        "null"
      ]
    },
    "loanExpiryDate": {
      "type": [
        "string",
        "null"
      ]
    },
    "knowAbout": {
      "type": [
        "string",
        "null"
      ]
    },
    "interestForFranchising": {
      "type": [
        "string",
        "null"
      ]
    },
    "oneCommercialFranchise": {
      "type": "boolean"
    },
    "franchiseExpiryDate": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}