{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/insuremo-com/json-schema/insuremo-com-branch-entity-schema.json",
  "title": "BranchEntity",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/insuremo-com-appurp-openapi.yml#/components/schemas/BranchEntity",
  "type": "object",
  "properties": {
    "@pk": {
      "type": "integer",
      "format": "int64"
    },
    "AppointedClaimBranchId": {
      "type": "integer",
      "format": "int64"
    },
    "BranchLevel": {
      "type": "integer",
      "format": "int32"
    },
    "BranchLogo": {
      "type": "string"
    },
    "BranchStatus": {
      "type": "integer",
      "format": "int64"
    },
    "BranchTheme": {
      "type": "integer",
      "format": "int32"
    },
    "BranchType": {
      "type": "integer",
      "format": "int32"
    },
    "CountryCode": {
      "type": "string"
    },
    "Email": {
      "type": "string"
    },
    "Fax": {
      "type": "string"
    },
    "FullAddress": {
      "type": "string"
    },
    "FullBranchCode": {
      "type": "string"
    },
    "IsClaimBranch": {
      "type": "string"
    },
    "Manager": {
      "type": "string"
    },
    "OldPrimaryKey": {
      "type": "integer",
      "format": "int64"
    },
    "ParentOrgId": {
      "type": "integer",
      "format": "int64"
    },
    "PartyBranchChildren": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BranchEntity"
      }
    },
    "PartyCode": {
      "type": "string"
    },
    "PartyId": {
      "type": "integer",
      "format": "int64"
    },
    "PartyName": {
      "type": "string"
    },
    "PostCode": {
      "type": "string"
    },
    "RecordUsage": {
      "type": "integer",
      "format": "int32"
    },
    "RegionId": {
      "type": "integer",
      "format": "int64"
    },
    "Remark": {
      "type": "string"
    },
    "Tel": {
      "type": "string"
    },
    "TempData": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    }
  },
  "$defs": {
    "BranchEntity": {
      "type": "object",
      "properties": {
        "@pk": {
          "type": "integer",
          "format": "int64"
        },
        "AppointedClaimBranchId": {
          "type": "integer",
          "format": "int64"
        },
        "BranchLevel": {
          "type": "integer",
          "format": "int32"
        },
        "BranchLogo": {
          "type": "string"
        },
        "BranchStatus": {
          "type": "integer",
          "format": "int64"
        },
        "BranchTheme": {
          "type": "integer",
          "format": "int32"
        },
        "BranchType": {
          "type": "integer",
          "format": "int32"
        },
        "CountryCode": {
          "type": "string"
        },
        "Email": {
          "type": "string"
        },
        "Fax": {
          "type": "string"
        },
        "FullAddress": {
          "type": "string"
        },
        "FullBranchCode": {
          "type": "string"
        },
        "IsClaimBranch": {
          "type": "string"
        },
        "Manager": {
          "type": "string"
        },
        "OldPrimaryKey": {
          "type": "integer",
          "format": "int64"
        },
        "ParentOrgId": {
          "type": "integer",
          "format": "int64"
        },
        "PartyBranchChildren": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BranchEntity"
          }
        },
        "PartyCode": {
          "type": "string"
        },
        "PartyId": {
          "type": "integer",
          "format": "int64"
        },
        "PartyName": {
          "type": "string"
        },
        "PostCode": {
          "type": "string"
        },
        "RecordUsage": {
          "type": "integer",
          "format": "int32"
        },
        "RegionId": {
          "type": "integer",
          "format": "int64"
        },
        "Remark": {
          "type": "string"
        },
        "Tel": {
          "type": "string"
        },
        "TempData": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        }
      }
    }
  }
}