{
  "mode": "odata-view",
  "name": "ERP product family snapshot",
  "source": {"system": "Business Central", "company": "YOUR_COMPANY_CODE", "reference": "YOUR_APPROVED_REVISION"},
  "currency": "DKK",
  "one_product_family": true,
  "quantity_basis": "finished",
  "afmp": {"base_url": "https://afmp.bepa-se.com/api/v1/", "key_env": "AFMP_API_KEY"},
  "erp": {
    "base_url": "https://api.businesscentral.dynamics.com/",
    "path": "v2.0/YOUR_TENANT/YOUR_ENVIRONMENT/api/YOUR_PUBLISHER/YOUR_GROUP/v1.0/companies(YOUR_COMPANY_GUID)/YOUR_FLAT_BOM_VIEW",
    "authentication": {"type": "entra", "tenant": "YOUR_TENANT_GUID", "client_id": "YOUR_CLIENT_ID", "client_secret_env": "ERP_CLIENT_SECRET", "scope": "https://api.businesscentral.dynamics.com/.default"}
  },
  "fields": {"product_id": "rootItemNumber", "product_name": "rootItemName", "component_id": "componentNumber", "component_name": "componentName", "quantity": "finishedQuantity", "unit": "unitCode", "company": "companyCode"}
}
