{
  "version": "0.2.1",
  "execution": "Design/review specification; ERP server controls execute independently. No BPMN engine execution claimed.",
  "validation": "XML, unique IDs, graph references and cross-process calls checked; validated against official OMG BPMN 2.0 XSD. BPMN engine execution not tested.",
  "source_basis": "Controlled supplied references remain private. Public official sources: ../official-sources.json. Applicability/customer approval must be resolved before operational use.",
  "processes": [
    {
      "id": "L2_1_1",
      "level": 2,
      "name": "Applicable authority and controlled data",
      "role": "Configuration Manager",
      "contract": "Records: Reference, Profile. Gate: Current applicable technical data; actual designated US/DoD/Saudi approval. Implementation: controls.validate / before_submit: Reference, Profile.",
      "children": []
    },
    {
      "id": "L2_1_2",
      "level": 2,
      "name": "Appointments and opening history",
      "role": "Configuration Manager / HR",
      "contract": "Records: Authorization, Aircraft, Component. Gate: No self-appointment; no invented life; opening registration closes at controlled work. Implementation: controls.before_submit: Authorization, Aircraft, Component.",
      "children": []
    },
    {
      "id": "L1_1",
      "level": 1,
      "name": "Governance and history",
      "role": "Configuration Manager / Configuration Manager / HR",
      "contract": "Both subprocesses must complete; child control failure propagates to the parent hold.",
      "children": [
        "L2_1_1",
        "L2_1_2"
      ]
    },
    {
      "id": "L2_2_1",
      "level": 2,
      "name": "Obligations and measuring tools",
      "role": "Planner / Configuration Manager",
      "contract": "Records: Obligation, Tool. Gate: No generic limit defaults; due or withdrawn calibration blocks use. Implementation: controls.before_submit: Obligation, Tool.",
      "children": []
    },
    {
      "id": "L2_2_2",
      "level": 2,
      "name": "Work scope and configuration approval",
      "role": "Planner / Engineering",
      "contract": "Records: Work Package, Configuration Revision. Gate: Planned target and full installed component coverage required; preserve opening record. Implementation: controls.before_submit: Work Package, Configuration Revision.",
      "children": []
    },
    {
      "id": "L1_2",
      "level": 1,
      "name": "Plan and control configuration",
      "role": "Planner / Configuration Manager / Planner / Engineering",
      "contract": "Both subprocesses must complete; child control failure propagates to the parent hold.",
      "children": [
        "L2_2_1",
        "L2_2_2"
      ]
    },
    {
      "id": "L2_3_1",
      "level": 2,
      "name": "Approved sourcing and receipt",
      "role": "Supply Chain / Quality",
      "contract": "Records: Purchase Order, Purchase Receipt, Quality Inspection, Handoff. Gate: Native purchasing controls plus appointed review; receipt is not installation approval. Implementation: Native ERP process + controls.native_validate / Handoff.",
      "children": []
    },
    {
      "id": "L2_3_2",
      "level": 2,
      "name": "Stock and component genealogy",
      "role": "Inventory / Technician",
      "contract": "Records: Stock Entry, Material, Component Movement. Gate: Native stock permissions, current unreleased package, effectivity and life eligibility. Implementation: api.draft_stock_issue / controls.before_submit: Material, Component Movement.",
      "children": []
    },
    {
      "id": "L1_3",
      "level": 1,
      "name": "Supply chain and inventory",
      "role": "Supply Chain / Quality / Inventory / Technician",
      "contract": "Both subprocesses must complete; child control failure propagates to the parent hold.",
      "children": [
        "L2_3_1",
        "L2_3_2"
      ]
    },
    {
      "id": "L2_4_1",
      "level": 2,
      "name": "Task execution and measurement",
      "role": "Technician",
      "contract": "Records: Task. Gate: No future results, forged signatures, waived tools or expired/wrong-range instruments. Implementation: controls.before_submit: Task.",
      "children": []
    },
    {
      "id": "L2_4_2",
      "level": 2,
      "name": "Independent inspection and findings",
      "role": "Inspector / Engineering",
      "contract": "Records: Check, Finding, Disposition. Gate: Independent inspection; open findings and unsupported/expired deferrals block review. Implementation: controls.before_submit: Check, Finding, Disposition.",
      "children": []
    },
    {
      "id": "L1_4",
      "level": 1,
      "name": "Perform and assure quality",
      "role": "Technician / Inspector / Engineering",
      "contract": "Both subprocesses must complete; child control failure propagates to the parent hold.",
      "children": [
        "L2_4_1",
        "L2_4_2"
      ]
    },
    {
      "id": "L2_5_1",
      "level": 2,
      "name": "Release readiness review",
      "role": "Release Authority",
      "contract": "Records: Readiness API, Work Package. Gate: Zero blockers only permits authorized review; no certificate or flight authorization. Implementation: controls.readiness / api.release_readiness.",
      "children": []
    },
    {
      "id": "L2_5_2",
      "level": 2,
      "name": "Authorized maintenance release",
      "role": "Release Authority / Records",
      "contract": "Records: Release, Evidence pack. Gate: Performer cannot release own work; native submit reruns all gates. Implementation: controls.before_submit: Release / api.evidence_pack.",
      "children": []
    },
    {
      "id": "L1_5",
      "level": 1,
      "name": "Release and retain evidence",
      "role": "Release Authority / Release Authority / Records",
      "contract": "Both subprocesses must complete; child control failure propagates to the parent hold.",
      "children": [
        "L2_5_1",
        "L2_5_2"
      ]
    },
    {
      "id": "L2_6_1",
      "level": 2,
      "name": "Department and financial reconciliation",
      "role": "Planner / Finance / Quality",
      "contract": "Records: Handoff, Stock Entry, GL Entry, Work Order, Quality Action. Gate: Do not duplicate inventory journals; native permissions and Company isolation remain. Implementation: controls.native_validate / Handoff; native ERP valuation and GL.",
      "children": []
    },
    {
      "id": "L2_6_2",
      "level": 2,
      "name": "Continuing usage and safety action",
      "role": "Operations / Configuration Manager",
      "contract": "Records: Usage, Finding, Withdrawal, Configuration Revision. Gate: No life reset; immutable history; historical release snapshot stays unchanged. Implementation: controls.before_submit: Usage, Finding, Withdrawal, Configuration Revision.",
      "children": []
    },
    {
      "id": "L1_6",
      "level": 1,
      "name": "Reconcile and maintain continuing records",
      "role": "Planner / Finance / Quality / Operations / Configuration Manager",
      "contract": "Both subprocesses must complete; child control failure propagates to the parent hold.",
      "children": [
        "L2_6_1",
        "L2_6_2"
      ]
    },
    {
      "id": "L0_MRO",
      "level": 0,
      "name": "NexCom controlled MRO lifecycle",
      "role": "Cross-functional maintenance governance",
      "contract": "Next utilization, defect or directive triggers a new applicability review and, where needed, new work. Maintenance release is distinct from airworthiness certification and flight authorization.",
      "children": [
        "L1_1",
        "L1_2",
        "L1_3",
        "L1_4",
        "L1_5",
        "L1_6"
      ]
    }
  ]
}