> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.mangopay.com/api-reference/user-data-format/user-data-format-object/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mangopay.com/_mcp/server. # The User Data Format object ### Description The User Data Format object describes a piece of user data and the validation rules applied to its format. The [POST Validate the format of User data](/api-reference/user-data-format/validate-user-data-format) endpoint allows you to check that the format of the `CompanyNumber` is correct and retrieve the validation rules applied to it. The `CompanyNumber` must be in the correct format for Business Legal Users to be KYC/B verified. ### Attributes ### Schema (`ValidateTheFormatOfUserDataResponse`) ```yaml components: schemas: ValidateTheFormatOfUserDataResponseCompanyNumber: type: object properties: CompanyNumber: type: string description: >- The registration number of a legal entity, assigned by the relevant national authority. CountryCode: type: string description: >- Format: Two-letter country code ([ISO 3166-1 alpha-2 format](/api-reference/overview/data-formats)) The country of the registration of the legal entity, against which the company number format is validated. IsValid: type: boolean description: >- Whether the format of the company number is valid for the given country. ValidationRules: type: array items: type: string description: >- The validation rules applied to the company number format for the given country. description: >- Information about the registration number of a legal entity. For details, see the [Company number](/guides/users/verification/company-number) article. title: ValidateTheFormatOfUserDataResponseCompanyNumber ValidateTheFormatOfUserDataResponse: type: object properties: CompanyNumber: $ref: >- #/components/schemas/ValidateTheFormatOfUserDataResponseCompanyNumber description: >- Information about the registration number of a legal entity. For details, see the [Company number](/guides/users/verification/company-number) article. title: ValidateTheFormatOfUserDataResponse ``` ### Related resources #### [Guide](/guides/users/verification/company-number) Company number #### [Guide](/guides/users/verification/requirements) Verification requirements