{
  "_comment": "Définitions des propriétés HubSpot (objet 'company'). À créer une fois via l'API CRM Properties (POST /crm/v3/properties/companies) ou le helper create_properties_hubspot.py. groupName 'companyinformation' = groupe standard. Le nom interne (name) est ce que l'action workflow renseigne.",
  "objectType": "companies",
  "groupName": "companyinformation",
  "properties": [
    { "name": "dataroia_denomination",        "label": "Dataroia — Dénomination",            "type": "string",      "fieldType": "text" },
    { "name": "dataroia_statut_sirene",        "label": "Dataroia — Statut SIRENE",           "type": "enumeration", "fieldType": "select",
      "options": [
        { "label": "Actif",  "value": "A" },
        { "label": "Cessé",  "value": "C" },
        { "label": "Fermé",  "value": "F" }
      ] },
    { "name": "dataroia_etablissement_statut", "label": "Dataroia — Statut établissement",    "type": "enumeration", "fieldType": "select",
      "options": [
        { "label": "Actif", "value": "A" },
        { "label": "Fermé", "value": "F" }
      ] },
    { "name": "dataroia_niveau_alerte",        "label": "Dataroia — Niveau d'alerte",         "type": "enumeration", "fieldType": "select",
      "options": [
        { "label": "OK",       "value": "ok" },
        { "label": "Suspect",  "value": "suspect" },
        { "label": "Alerte",   "value": "alerte" },
        { "label": "Invalide", "value": "invalide" }
      ] },
    { "name": "dataroia_libelle",              "label": "Dataroia — Résumé",                  "type": "string",      "fieldType": "text" },
    { "name": "dataroia_raisons",              "label": "Dataroia — Détail des signaux",      "type": "string",      "fieldType": "textarea" },
    { "name": "dataroia_procedure_collective", "label": "Dataroia — Procédure collective",    "type": "bool",        "fieldType": "booleancheckbox" },
    { "name": "dataroia_dernier_compte_annee", "label": "Dataroia — Dernier compte (année)",  "type": "number",      "fieldType": "number" },
    { "name": "dataroia_nb_dirigeants",        "label": "Dataroia — Nb dirigeants",           "type": "number",      "fieldType": "number" },
    { "name": "dataroia_dirigeant_alerte",     "label": "Dataroia — Dirigeant à vérifier",    "type": "bool",        "fieldType": "booleancheckbox" },
    { "name": "dataroia_dirigeants_a_verifier","label": "Dataroia — Dirigeants à vérifier",   "type": "string",      "fieldType": "textarea" },
    { "name": "dataroia_score_confiance",      "label": "Dataroia — Score de confiance",      "type": "number",      "fieldType": "number" },
    { "name": "dataroia_date_verification",    "label": "Dataroia — Date de vérification",    "type": "date",        "fieldType": "date" }
  ]
}
