{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-company-profile-view-schema.json",
  "title": "CompanyProfileView",
  "description": "Public projection of a [`CompanyProfile`]. `capital_social` is exposed\nin **cents** (`i64`), like every platform amount.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-openapi.json#/components/schemas/CompanyProfileView",
  "type": "object",
  "required": [
    "org_id",
    "ei_mention",
    "country",
    "aga_oga_member",
    "default_currency",
    "default_language",
    "micro_enterprise",
    "versement_liberatoire",
    "acre_active",
    "social_declaration_frequency",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "accent_color": {
      "type": [
        "string",
        "null"
      ],
      "description": "Accent color (`#rrggbb`)."
    },
    "acre_active": {
      "type": "boolean",
      "description": "ACRE-active flag."
    },
    "acre_start_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "ACRE start date (`YYYY-MM-DD`)."
    },
    "activity_category": {
      "type": [
        "string",
        "null"
      ],
      "description": "Activity category (`bic_sales` / `bic_services` / `bnc_liberal` /\n`bnc_cipav`)."
    },
    "address": {
      "type": [
        "string",
        "null"
      ],
      "description": "Street address."
    },
    "aga_oga_member": {
      "type": "boolean",
      "description": "AGA/OGA member flag."
    },
    "ape_naf": {
      "type": [
        "string",
        "null"
      ],
      "description": "APE/NAF activity code."
    },
    "capital_social": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Share capital in cents."
    },
    "city": {
      "type": [
        "string",
        "null"
      ],
      "description": "City."
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code."
    },
    "created_at": {
      "type": "string",
      "description": "RFC3339 creation timestamp."
    },
    "default_currency": {
      "type": "string",
      "description": "Default ISO 4217 currency."
    },
    "default_language": {
      "type": "string",
      "description": "Default language code."
    },
    "ei_mention": {
      "type": "boolean",
      "description": "Mandatory \"EI\" mention flag."
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Company contact email."
    },
    "fiscal_year_end": {
      "type": [
        "string",
        "null"
      ],
      "description": "Closing date of the financial year (`YYYY-MM-DD`; only month and day matter);\n`null` is the calendar year. Sets the annual VAT return deadline of an exercise\nthat does not close on 31 December."
    },
    "insurance_coverage": {
      "type": [
        "string",
        "null"
      ],
      "description": "Insurance coverage scope."
    },
    "insurance_insurer": {
      "type": [
        "string",
        "null"
      ],
      "description": "Professional insurer."
    },
    "insurance_policy": {
      "type": [
        "string",
        "null"
      ],
      "description": "Insurance policy number."
    },
    "legal_form": {
      "type": [
        "string",
        "null"
      ],
      "description": "Legal form (SARL / SAS / EI…)."
    },
    "legal_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Official legal/registered name."
    },
    "logo_file_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Library file holding the logo. Preferred over `logo_url`, which is the\nlegacy inline `data:` URI kept for profiles not yet migrated."
    },
    "logo_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Logo URL."
    },
    "micro_enterprise": {
      "type": "boolean",
      "description": "Micro-entreprise regime flag."
    },
    "org_id": {
      "type": "string",
      "format": "uuid",
      "description": "Owning org id."
    },
    "phone": {
      "type": [
        "string",
        "null"
      ],
      "description": "Company phone number."
    },
    "postal_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "Postal code."
    },
    "rcs": {
      "type": [
        "string",
        "null"
      ],
      "description": "RCS registration number."
    },
    "rcs_city": {
      "type": [
        "string",
        "null"
      ],
      "description": "RCS registry city."
    },
    "rm": {
      "type": [
        "string",
        "null"
      ],
      "description": "Répertoire des Métiers number."
    },
    "rm_dept": {
      "type": [
        "string",
        "null"
      ],
      "description": "RM registration département."
    },
    "siren": {
      "type": [
        "string",
        "null"
      ],
      "description": "SIREN (9 digits)."
    },
    "siret": {
      "type": [
        "string",
        "null"
      ],
      "description": "SIRET of the issuing establishment (14 digits)."
    },
    "social_declaration_frequency": {
      "type": "string",
      "description": "Turnover-declaration frequency (`monthly` / `quarterly`)."
    },
    "social_rate_override_bps": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "Custom global social-contribution rate in basis points (`0..=10000`)."
    },
    "updated_at": {
      "type": "string",
      "description": "RFC3339 last-update timestamp."
    },
    "vat_intra": {
      "type": [
        "string",
        "null"
      ],
      "description": "Intra-community VAT number."
    },
    "vat_regime": {
      "type": [
        "string",
        "null"
      ],
      "description": "VAT regime (`subject` / `franchise_base` / `real`)."
    },
    "vat_return_frequency": {
      "type": [
        "string",
        "null"
      ],
      "description": "How often the VAT return is filed (`monthly` / `quarterly` / `annual`); `null`\nuntil the owner says, and then no VAT alert is sent."
    },
    "versement_liberatoire": {
      "type": "boolean",
      "description": "Versement libératoire flag."
    },
    "website": {
      "type": [
        "string",
        "null"
      ],
      "description": "Company website URL."
    }
  }
}