{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-update-company-profile-request-schema.json",
  "title": "UpdateCompanyProfileRequest",
  "description": "Body of `PUT /v1/orgs/:org_id/company-profile`. Every field is optional\n(progressive profile); omitted fields are reset to their DB\ndefault/NULL because the PUT is a full replacement.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-openapi.json#/components/schemas/UpdateCompanyProfileRequest",
  "type": "object",
  "properties": {
    "accent_color": {
      "type": [
        "string",
        "null"
      ],
      "description": "Accent color (`#rrggbb`)."
    },
    "acre_active": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "ACRE-active flag (defaults to `false`)."
    },
    "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",
        "null"
      ],
      "description": "AGA/OGA member flag (defaults to `false`)."
    },
    "ape_naf": {
      "type": [
        "string",
        "null"
      ],
      "description": "APE/NAF activity code."
    },
    "capital_social": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Share capital in cents (`>= 0`)."
    },
    "city": {
      "type": [
        "string",
        "null"
      ],
      "description": "City."
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISO 3166-1 alpha-2 country code (defaults to `FR`)."
    },
    "default_currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "Default ISO 4217 currency (defaults to `EUR`)."
    },
    "default_language": {
      "type": [
        "string",
        "null"
      ],
      "description": "Default language code (defaults to `fr`)."
    },
    "ei_mention": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Mandatory \"EI\" mention flag (defaults to `false`)."
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Company contact email."
    },
    "fiscal_year_end": {
      "type": [
        "string",
        "null"
      ],
      "description": "Closing date of the financial year, `YYYY-MM-DD`; omit for the calendar year."
    },
    "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."
    },
    "legal_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Official legal/registered name."
    },
    "logo_file_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Library file to use as the logo. Send this rather than `logo_url` for\nanything uploaded through `/v1/files`."
    },
    "logo_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Logo URL."
    },
    "micro_enterprise": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Micro-entreprise regime flag (defaults to `false`)."
    },
    "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 (14 digits)."
    },
    "social_declaration_frequency": {
      "type": [
        "string",
        "null"
      ],
      "description": "Turnover-declaration frequency (`monthly` / `quarterly`, defaults to\n`monthly`)."
    },
    "social_rate_override_bps": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "Custom global social-contribution rate in basis points (`0..=10000`)."
    },
    "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`)."
    },
    "versement_liberatoire": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Versement libératoire flag (defaults to `false`)."
    },
    "website": {
      "type": [
        "string",
        "null"
      ],
      "description": "Company website URL."
    }
  }
}