{
  "engine": "OTO Project Identity Engine (PIE)",
  "annexe": 12,
  "version_workflow": "V10.1",
  "ssot": "faisabilite",
  "source_spec": "pie_spec.json",
  "master_data_groups": [
    {
      "cle": "architecture",
      "libelle": "Architecture",
      "champs": [
        "style",
        "matériaux",
        "ambiances",
        "palette matériaux"
      ]
    },
    {
      "cle": "bim",
      "libelle": "BIM",
      "champs": [
        "IFC/GLB",
        "plans",
        "coupes",
        "panoramas"
      ]
    },
    {
      "cle": "budget",
      "libelle": "Budget",
      "champs": [
        "CAPEX",
        "coûts construction",
        "marges",
        "break-even",
        "apport promoteur"
      ]
    },
    {
      "cle": "calendrier",
      "libelle": "Calendrier",
      "champs": [
        "phasage travaux",
        "jalons",
        "livraison"
      ]
    },
    {
      "cle": "finances",
      "libelle": "Finances",
      "champs": [
        "plan de financement",
        "fideicomiso",
        "CONFOTUR",
        "exonérations"
      ]
    },
    {
      "cle": "identite",
      "libelle": "Identité",
      "champs": [
        "nom",
        "type",
        "concept",
        "vision",
        "mission",
        "valeurs"
      ]
    },
    {
      "cle": "images",
      "libelle": "Images",
      "champs": [
        "rendus extérieurs",
        "intérieurs",
        "aériens",
        "ambiances"
      ]
    },
    {
      "cle": "juridique",
      "libelle": "Juridique",
      "champs": [
        "titres",
        "permis",
        "licences",
        "contrats types"
      ]
    },
    {
      "cle": "localisation",
      "libelle": "Localisation",
      "champs": [
        "adresse exacte",
        "coordonnées GPS",
        "province",
        "ville",
        "quartier"
      ]
    },
    {
      "cle": "marketing",
      "libelle": "Marketing",
      "champs": [
        "positionnement",
        "clientèle cible",
        "USPs",
        "canaux"
      ]
    },
    {
      "cle": "services",
      "libelle": "Services",
      "champs": [
        "amenities",
        "conciergerie",
        "services inclus"
      ]
    },
    {
      "cle": "unites",
      "libelle": "Unités",
      "champs": [
        "typologies",
        "surfaces",
        "orientations",
        "quantités",
        "prix",
        "disponibilités"
      ]
    }
  ],
  "downstream_registry": [
    {
      "cle": "app",
      "libelle": "Section app mobile (portail Client)",
      "module": "mobile/app_config",
      "statut": "gated"
    },
    {
      "cle": "bim",
      "libelle": "IFC + GLB + Speckle",
      "module": null,
      "statut": "a_construire"
    },
    {
      "cle": "brand_book",
      "libelle": "Brand Book PDF (~30-50 pages)",
      "module": null,
      "statut": "a_construire"
    },
    {
      "cle": "brochures",
      "libelle": "Brochures PDF FR/EN/ES",
      "module": null,
      "statut": "a_construire"
    },
    {
      "cle": "calendrier",
      "libelle": "Calendrier / phasage travaux",
      "module": null,
      "statut": "a_construire"
    },
    {
      "cle": "contrats",
      "libelle": "Contrats types (Promesa · Fideicomiso · HOA)",
      "module": "legal/confotur",
      "statut": "gated"
    },
    {
      "cle": "fiche_unite",
      "libelle": "Fiche unité",
      "module": null,
      "statut": "a_construire"
    },
    {
      "cle": "kit_banquier",
      "libelle": "Kit banquier PDF trilingue",
      "module": "faisabilite/bancable",
      "statut": "gated"
    },
    {
      "cle": "plans",
      "libelle": "Plans (générés depuis BIM)",
      "module": null,
      "statut": "a_construire"
    },
    {
      "cle": "rendus",
      "libelle": "Rendus extérieurs/intérieurs/aériens",
      "module": null,
      "statut": "a_construire"
    },
    {
      "cle": "site",
      "libelle": "Page projet vente.otov7.com/projets/{slug}/",
      "module": "publiciste",
      "statut": "gated"
    },
    {
      "cle": "slogan",
      "libelle": "Slogan / tagline",
      "module": null,
      "statut": "a_construire"
    },
    {
      "cle": "trackers_chantier",
      "libelle": "Trackers chantier",
      "module": null,
      "statut": "a_construire"
    }
  ],
  "sync_rules": [
    {
      "trigger": "amenities",
      "trigger_group": "services",
      "downstream": [
        "brochures",
        "site",
        "slogan",
        "brand_book"
      ]
    },
    {
      "trigger": "livraison",
      "trigger_group": "calendrier",
      "downstream": [
        "calendrier",
        "brochures",
        "trackers_chantier"
      ]
    },
    {
      "trigger": "prix",
      "trigger_group": "unites",
      "downstream": [
        "brochures",
        "kit_banquier",
        "contrats",
        "site",
        "app"
      ]
    },
    {
      "trigger": "typologie",
      "trigger_group": "unites",
      "downstream": [
        "plans",
        "rendus",
        "fiche_unite",
        "bim"
      ]
    }
  ],
  "workflow": [
    {
      "etape": 1,
      "libelle": "Validation Faisabilité (par OTO Auditeur Faisabilité IA)"
    },
    {
      "etape": 2,
      "libelle": "Extraction Project Master Data (master.json)"
    },
    {
      "etape": 3,
      "libelle": "Brand Book génération"
    },
    {
      "etape": 4,
      "libelle": "Logos génération (Flux + variantes SVG)"
    },
    {
      "etape": 5,
      "libelle": "Thème appliqué (CSS variables + design tokens)"
    },
    {
      "etape": 6,
      "libelle": "Documents commerciaux (brochures · kit banquier · Trousse · contrats)"
    },
    {
      "etape": 7,
      "libelle": "Portails web (page projet · viewer 3D · portail client)"
    },
    {
      "etape": 8,
      "libelle": "Applications mobiles (section projet + tab dédié)"
    },
    {
      "etape": 9,
      "libelle": "Synchronisation (ERPNext · CRM · BIM · OTO AI · OFAC/PEP/FinCEN)"
    },
    {
      "etape": 10,
      "libelle": "Publication (site · app · portail admin · ERPNext · Speckle · GSC)"
    }
  ],
  "brands": [
    {
      "code": "P01",
      "marque": "Coralis",
      "localisation": "San Cristóbal"
    },
    {
      "code": "P02",
      "marque": "Coral del Sur",
      "localisation": "San Cristóbal"
    },
    {
      "code": "P03",
      "marque": "Nakua",
      "localisation": "Bávaro"
    },
    {
      "code": "P04",
      "marque": "Xamaná Cantiles",
      "localisation": "Palenque"
    },
    {
      "code": "P05",
      "marque": "Las Colinas",
      "localisation": "Najayo"
    },
    {
      "code": "P06",
      "marque": "Coco Real",
      "localisation": "Punta Cana Bávaro"
    },
    {
      "code": "P07",
      "marque": "Aqua Terra",
      "localisation": "Las Terrenas"
    },
    {
      "code": "P08",
      "marque": "Fasano Espirilla",
      "localisation": "Santo Domingo Espirilla"
    },
    {
      "code": "P09",
      "marque": "Résidence Gazcue",
      "localisation": "Santo Domingo centre historique"
    }
  ],
  "storage_layout": {
    "racine": "/opt/oto/data/pie/{code}/",
    "artefacts": [
      {
        "chemin": "master.json",
        "role": "Project Master Data (SSOT extrait de la faisabilité)"
      },
      {
        "chemin": "brand/",
        "role": "Brand Book assets"
      },
      {
        "chemin": "logos/",
        "role": "Logos SVG/PNG + variantes"
      },
      {
        "chemin": "documents/",
        "role": "PDF générés (brochures · kit banquier · contrats)"
      },
      {
        "chemin": "manifest.json",
        "role": "Manifest de dépendances + checksums (régénération sélective)"
      }
    ]
  }
}
