{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CompanyAccount", "title": "Company", "required": [ "ChainId", "Classifications", "CreatedUtc", "Name", "Options", "UpdatedUtc", "UpdaterProfileId" ], "type": "object", "properties": { "ChainId": { "type": "string", "description": "Unique identifier of the chain.", "format": "uuid" }, "CreatedUtc": { "minLength": 1, "type": "string", "description": "Creation date and time of the `Company` in UTC timezone in ISO 8601 format.", "format": "date-time" }, "UpdatedUtc": { "minLength": 1, "type": "string", "description": "Last update date and time of the `Company` in UTC timezone in ISO 8601 format.", "format": "date-time" }, "UpdaterProfileId": { "type": "string", "description": "Unique identifier of the user who updated the company.", "format": "uuid" }, "Email": { "type": "string", "description": "Email address of the company.", "format": "email", "nullable": true }, "TaxIdentifier": { "type": "string", "description": "Tax identification number of the company.", "nullable": true }, "BillingCode": { "type": "string", "description": "Billing code of the company.", "nullable": true }, "AccountingCode": { "type": "string", "description": "Accounting code of the company.", "nullable": true }, "Notes": { "type": "string", "description": "Additional notes.", "nullable": true }, "Name": { "minLength": 1, "type": "string", "description": "Name of the company." }, "MotherCompanyId": { "type": "string", "description": "Unique identifier of mother company.", "format": "uuid", "nullable": true }, "WebsiteUrl": { "type": "string", "description": "The website url of the company.", "format": "uri", "nullable": true }, "InvoiceDueInterval": { "type": "string", "description": "The maximum time (in ISO 8601 duration format), when the invoice has to be be paid.", "nullable": true }, "CreditRatingBasic": { "allOf": [ { "$ref": "#/components/schemas/CreditRatingBasicEnum" } ], "description": "Credit rating to define credit worthiness of the company.\n\nCreditOk (Company can book services.)\n\nPaymentRequiredUpfront (Company must pay upfront.)\n\nLocalDecisionRequired (Requires local approval.)", "nullable": true }, "Department": { "type": "string", "description": "The internal segmentation of a company, e.g. sales department.", "nullable": true }, "DunsNumber": { "type": "string", "description": "The Dun & Bradstreet unique 9-digit DUNS number.", "nullable": true }, "ReferenceId": { "type": "string", "description": "External system identifier - custom identifier used by an external system such as an external database.", "nullable": true }, "ExternalIdentifier": { "type": "string", "description": "Identifier of company from external system.", "nullable": true }, "AdditionalTaxIdentifier": { "type": "string", "description": "Additional tax identifier of the company.", "nullable": true }, "Contact": { "type": "string", "description": "Other contact details, such as telephone, email or similar.", "nullable": true }, "ContactPerson": { "type": "string", "description": "Contact person of the company.", "nullable": true }, "FiscalIdentifier": { "type": "string", "description": "Fiscal identifier of the company.", "nullable": true }, "Iata": { "type": "string", "description": "Iata of the company.", "nullable": true }, "Telephone": { "type": "string", "description": "Contact telephone number.", "nullable": true }, "SourceId": { "type": "string", "description": "Unique identifier of the `Source`.", "format": "uuid", "nullable": true }, "Classifications": { "title": "Company classifications", "allOf": [ { "$ref": "#/components/schemas/CompanyAccountClassifications" } ], "description": "Classifications of the company." }, "Options": { "title": "Company options", "allOf": [ { "$ref": "#/components/schemas/CompanyAccountOptions" } ], "description": "Options of the company." } }, "additionalProperties": false, "description": "", "x-schema-id": "CompanyAccount" }