Use this endpoint to update an existing custom material in your PIC material library. You can modify the material name, base materials, and life cycle processes.
Request body params
Name
Type
Description
name
string
Updated material name.
code
string
Updated material code.
category
string
Updated material category.
supplier
string
Updated supplier name.
country
string
Updated country of origin.
cycleProcess
Array<CycleProcess>
Updated life cycle processes (stages P002–P006).
baseMaterials
Array<BaseMaterial>
Updated base materials with composition percentages.
Implementation Details
Partial updates: All fields are optional. Only the fields you provide will be updated.
Backfill behavior: If you update cycleProcess without providing baseMaterials, the existing base materials are preserved.
Same validation as create: When provided, base material compositions must sum to 100%, life cycle stages must be unique, and each process needs a country or facilityWorldlyId.
Authorizations
x-api-key
string
header
required
x-developer-request-token
string
header
required
Path Parameters
materialId
string
required
Body
application/json
name
string | null
code
string | null
category
string | null
supplier
string | null
country
string | null
cycleProcess
object[] | null
Show child attributes
baseMaterials
object[] | null
Show child attributes
Response
200 - application/json
Ok
This interface was referenced by Exports's JSON-Schema via the definition "picMaterialLibraryEntity".
_id
string
required
type
string
required
name
string
required
t2GlobalWarmingImpact
number<double>
required
t3GlobalWarmingImpact
number<double>
required
t4GlobalWarmingImpact
number<double>
required
createdOn
number<double>
required
user
object
required
This interface was referenced by Exports's JSON-Schema via the definition "userRef".
Show child attributes
account
object
required
This interface was referenced by Exports's JSON-Schema via the definition "accountRef".
Show child attributes
totalMaterialGlobalWarmingImpact
number<double>
required
_rev
string | null
code
string | null
category
string | null
supplierCountry
string | null
nameId
string | null
supplier
string | null
country
string | null
tier2
object
Show child attributes
tier3
object
Show child attributes
baseMaterials
object[] | null
Show child attributes
modifiedOn
number<double> | null
deleted
boolean | null
deletedBy
object
This interface was referenced by Exports's JSON-Schema via the definition "userRef".
Show child attributes
modifiedBy
object
This interface was referenced by Exports's JSON-Schema via the definition "userRef".
Show child attributes
createdBy
object
This interface was referenced by Exports's JSON-Schema via the definition "userRef".
Show child attributes
v2Calculations
object
Calculation results produced by the matlibV2 calculator (POST /api/calculate). Carried at the material level on PicMaterialLibraryEntity and per-base-material on PicBaseMaterialRef so each scope's totals can be persisted alongside the v1 fields without disturbing them.
Show child attributes
msiVersion
string | null
tags
string[] | null
msiMaterialId
string | null
Source MSI Material _id when channelCreate is MsiImport
channelCreate
enum<string>
Available options:
MsiImport,
BulkCreateMaterials,
UiMaterials
channelUpdate
enum<string>
Available options:
MsiImport,
BulkCreateMaterials,
UiMaterials
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Worldly Developer Docs","colors":{"primary":"#ea2626","light":"#ef4444","dark":"#a00505"},"logo":{"light":"https://mintcdn.com/worldly/Wcd4Nqo5_YkhDaNw/logo/light.png?fit=max\u0026auto=format\u0026n=Wcd4Nqo5_YkhDaNw\u0026q=85\u0026s=ffa1705586bcd214da4d9adc4ccf5cc0","dark":"https://mintcdn.com/worldly/Wcd4Nqo5_YkhDaNw/logo/dark.png?fit=max\u0026auto=format\u0026n=Wcd4Nqo5_YkhDaNw\u0026q=85\u0026s=43992278efbbb9a59b5a316666d07c4f","href":"/"},"favicon":"https://mintcdn.com/worldly/Wcd4Nqo5_YkhDaNw/favicon.png?fit=max\u0026auto=format\u0026n=Wcd4Nqo5_YkhDaNw\u0026q=85\u0026s=87340357578bbb18751e6b60c6cdce70","api":{"openapi":["api-reference/openapi/module-data.json","api-reference/openapi/assessment-api.json","api-reference/openapi/performance-csv.json","api-reference/openapi/file-data.json","api-reference/openapi/module-last-updated.json","api-reference/openapi/get-module-shares.json","api-reference/openapi/french-eco.json","api-reference/openapi/msi-api.json","api-reference/openapi/product-module-api.json"],"playground":{"display":"interactive"}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://support.worldly.io/hc/en-us","label":"Support"}],"primary":{"type":"button","label":"Worldly Platform","href":"https://developer.worldly.io/login?redirect_uri=/docs/getting-started"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/worldly","x":"https://x.com/worldlyio","github":"https://github.com/higgco"},"links":[{"header":"Legal","items":[{"label":"Cookie Notice","href":"https://worldly.io/cookie-notice"}]}]},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"API Status","icon":"signal-bars","href":"https://status.worldly.io"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"worldly","hasAudioNarration":false,"actualSubdomain":"worldly","customDomains":["developer.worldly.io"],"gitSource":{"type":"github","owner":"higgco","repo":"developer.worldly.io","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af465510b89564432bd1f62","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":183},{"language":"default","tag":"Product Tools","count":67},{"language":"default","tag":"Assessments","count":55},{"language":"default","tag":"PIC API","count":41},{"language":"default","tag":"Recipes","count":37},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"MSI API (Full)","count":24},{"language":"default","tag":"MSI API (Limited)","count":24},{"language":"default","tag":"Assessment Recipes","count":23},{"language":"default","tag":"Data Dictionaries","count":21}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/pic/material-library/update","slug":"/api-reference/pic/material-library/update","pageMetadata":{"title":"Update Material","openapi":"api-reference/openapi/french-eco.json POST /material-library/update/{materialId}","description":null,"href":"/api-reference/pic/material-library/update"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use this endpoint to update an existing custom material in your PIC material library. You can modify the material name, base materials, and life cycle processes.`}),`\n`,_jsx(Heading,{level:`3`,id:`request-body-params`,children:`Request body params`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Name`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Type`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Updated material name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Updated material code.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`category`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Updated material category.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`supplier`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Updated supplier name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`country`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Updated country of origin.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`cycleProcess`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`Array\u003cCycleProcess>`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Updated life cycle processes (stages P002–P006).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`baseMaterials`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`Array\u003cBaseMaterial>`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Updated base materials with composition percentages.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`implementation-details`,children:`Implementation Details`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Partial updates`}),`: All fields are optional. Only the fields you provide will be updated.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Backfill behavior`}),`: If you update `,_jsx(_components.code,{children:`cycleProcess`}),` without providing `,_jsx(_components.code,{children:`baseMaterials`}),`, the existing base materials are preserved.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Same validation as create`}),`: When provided, base material compositions must sum to 100%, life cycle stages must be unique, and each process needs a `,_jsx(_components.code,{children:`country`}),` or `,_jsx(_components.code,{children:`facilityWorldlyId`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Material","openapi":"api-reference/openapi/french-eco.json POST /material-library/update/{materialId}","description":null,"href":"/api-reference/pic/material-library/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request body params","slug":"request-body-params","depth":3,"children":[]},{"title":"Implementation Details","slug":"implementation-details","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"UpdateMaterialLibrary","responses":{"200":"6170b0ba-19c5-478c-af36-0971411f6171"},"summary":"Update Material Library","parameters":["fccea39a-3eea-4f5a-90a4-68a60aa319b6"],"requestBody":"74b94e59-763b-401d-99fc-2b635ea74cf0","method":"post","type":"path","servers":["aa8f9f14-9b6f-4dd2-8108-d97c1d54402a","4f0f91c3-950d-4e86-bc00-d1d5501b960e"],"security":["11efd333-9619-45b5-80a2-441106d63cac"],"path":"/material-library/update/{materialId}","baseUrlOptions":["https://api-v2.production.higg.org/pic-api/v1","https://api-v2.demo.higg.org/pic-api/v1"],"title":"Update Material Library","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fccea39a-3eea-4f5a-90a4-68a60aa319b6":{"in":"path","name":"materialId","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"oneOf":[{"type":"string","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"category":{"oneOf":[{"type":"string","uniqueKey":"category.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"category.oneOf.1","typeLabel":"null"}],"uniqueKey":"category","typeLabel":"string | null"},"supplier":{"oneOf":[{"type":"string","uniqueKey":"supplier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"supplier.oneOf.1","typeLabel":"null"}],"uniqueKey":"supplier","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","uniqueKey":"country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"country.oneOf.1","typeLabel":"null"}],"uniqueKey":"country","typeLabel":"string | null"},"cycleProcess":{"oneOf":[{"items":{"properties":{"lifeCycle":{"type":"string","isRequired":true,"uniqueKey":"cycleProcess.oneOf.0.items.[INDEX].lifeCycle","typeLabel":"string"},"country":{"oneOf":[{"type":"string","uniqueKey":"cycleProcess.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"cycleProcess.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"cycleProcess.oneOf.0.items.[INDEX].country","typeLabel":"string | null"},"facilityWorldlyId":{"oneOf":[{"type":"string","uniqueKey":"cycleProcess.oneOf.0.items.[INDEX].facilityWorldlyId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"cycleProcess.oneOf.0.items.[INDEX].facilityWorldlyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"cycleProcess.oneOf.0.items.[INDEX].facilityWorldlyId","typeLabel":"string | null"}},"required":["lifeCycle"],"type":"object","additionalProperties":false,"uniqueKey":"cycleProcess.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"cycleProcess.oneOf.0","typeLabel":"object[]"},{"items":{"properties":{"lifeCycle":{"type":"string"},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"facilityWorldlyId":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["lifeCycle"],"type":"object","additionalProperties":false},"type":"null","uniqueKey":"cycleProcess.oneOf.1","typeLabel":"null"}],"uniqueKey":"cycleProcess","typeLabel":"object[] | null"},"baseMaterials":{"oneOf":[{"items":{"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].id","typeLabel":"string"},"composition":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].composition","typeLabel":"number\u003cdouble>"},"sustainability":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainability.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainability.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainability","typeLabel":"string | null"},"shortPath":{"description":"this field is responsible for using the default process","properties":{"coatingLamination":{"description":"Coating/Lamination","enum":["Coating","Lamination","YesUnknown","None"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.coatingLamination","typeLabel":"enum\u003cstring>"},"yarnSize":{"oneOf":[{"type":"string","description":"Yarn Size","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.yarnSize.oneOf.0","typeLabel":"string"},{"type":"null","description":"Yarn Size","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.yarnSize.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.yarnSize","typeLabel":"string | null"},"textileFormation":{"enum":["Knitting","Weaving","Non-Woven"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.textileFormation","typeLabel":"enum\u003cstring>"},"autoFromShortPath":{"oneOf":[{"type":"boolean","description":"True when this base material ref was appended by the short-path coating logic; identifies the auto BR row for subsequent swap/remove operations.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.autoFromShortPath.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True when this base material ref was appended by the short-path coating logic; identifies the auto BR row for subsequent swap/remove operations.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.autoFromShortPath.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.autoFromShortPath","typeLabel":"boolean | null"}},"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath","typeLabel":"object"},"manufacturer":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].manufacturer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].manufacturer.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].manufacturer","typeLabel":"string | null"},"tradeName":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].tradeName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].tradeName.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].tradeName","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].country","typeLabel":"string | null"},"typeCode":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].typeCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].typeCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].typeCode","typeLabel":"string | null"},"materialSubtype":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].materialSubtype.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].materialSubtype.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].materialSubtype","typeLabel":"string | null"},"sustainabilityAttribute":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainabilityAttribute.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainabilityAttribute.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainabilityAttribute","typeLabel":"string | null"},"activityUniqueId":{"oneOf":[{"type":"string","description":"The P001 activity chosen for this row. Set only by the MatLib V2 worksheet, where the user picks an activity rather than a base material — two rows can therefore share a base material code and still be distinct constituents. Participates in the refKey so they are not merged.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].activityUniqueId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The P001 activity chosen for this row. Set only by the MatLib V2 worksheet, where the user picks an activity rather than a base material — two rows can therefore share a base material code and still be distinct constituents. Participates in the refKey so they are not merged.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].activityUniqueId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].activityUniqueId","typeLabel":"string | null"}},"required":["composition","id"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"baseMaterials.oneOf.0","typeLabel":"object[]"},{"items":{"properties":{"id":{"type":"string"},"composition":{"type":"number","format":"double"},"sustainability":{"oneOf":[{"type":"string"},{"type":"null"}]},"shortPath":{"description":"this field is responsible for using the default process","properties":{"coatingLamination":{"description":"Coating/Lamination","enum":["Coating","Lamination","YesUnknown","None"],"type":"string"},"yarnSize":{"oneOf":[{"type":"string","description":"Yarn Size"},{"type":"null","description":"Yarn Size"}]},"textileFormation":{"enum":["Knitting","Weaving","Non-Woven"],"type":"string"},"autoFromShortPath":{"oneOf":[{"type":"boolean","description":"True when this base material ref was appended by the short-path coating logic; identifies the auto BR row for subsequent swap/remove operations."},{"type":"null","description":"True when this base material ref was appended by the short-path coating logic; identifies the auto BR row for subsequent swap/remove operations."}]}},"type":"object","additionalProperties":false},"manufacturer":{"oneOf":[{"type":"string"},{"type":"null"}]},"tradeName":{"oneOf":[{"type":"string"},{"type":"null"}]},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"typeCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"materialSubtype":{"oneOf":[{"type":"string"},{"type":"null"}]},"sustainabilityAttribute":{"oneOf":[{"type":"string"},{"type":"null"}]},"activityUniqueId":{"oneOf":[{"type":"string","description":"The P001 activity chosen for this row. Set only by the MatLib V2 worksheet, where the user picks an activity rather than a base material — two rows can therefore share a base material code and still be distinct constituents. Participates in the refKey so they are not merged."},{"type":"null","description":"The P001 activity chosen for this row. Set only by the MatLib V2 worksheet, where the user picks an activity rather than a base material — two rows can therefore share a base material code and still be distinct constituents. Participates in the refKey so they are not merged."}]}},"required":["composition","id"],"type":"object","additionalProperties":false},"type":"null","uniqueKey":"baseMaterials.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials","typeLabel":"object[] | null"}},"type":"object","additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","code":"\u003cstring>","category":"\u003cstring>","supplier":"\u003cstring>","country":"\u003cstring>","cycleProcess":[{"lifeCycle":"\u003cstring>","country":"\u003cstring>","facilityWorldlyId":"\u003cstring>"}],"baseMaterials":[{"id":"\u003cstring>","composition":123,"sustainability":"\u003cstring>","shortPath":{"yarnSize":"\u003cstring>","autoFromShortPath":true},"manufacturer":"\u003cstring>","tradeName":"\u003cstring>","country":"\u003cstring>","typeCode":"\u003cstring>","materialSubtype":"\u003cstring>","sustainabilityAttribute":"\u003cstring>","activityUniqueId":"\u003cstring>"}]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"6170b0ba-19c5-478c-af36-0971411f6171":{"description":"Ok","content":{"application/json":{"schema":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"picMaterialLibraryEntity\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"_id","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"t2GlobalWarmingImpact":{"type":"number","format":"double","isRequired":true,"uniqueKey":"t2GlobalWarmingImpact","typeLabel":"number\u003cdouble>"},"t3GlobalWarmingImpact":{"type":"number","format":"double","isRequired":true,"uniqueKey":"t3GlobalWarmingImpact","typeLabel":"number\u003cdouble>"},"t4GlobalWarmingImpact":{"type":"number","format":"double","isRequired":true,"uniqueKey":"t4GlobalWarmingImpact","typeLabel":"number\u003cdouble>"},"createdOn":{"type":"number","format":"double","isRequired":true,"uniqueKey":"createdOn","typeLabel":"number\u003cdouble>"},"user":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"userRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"user._id","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"user.email","typeLabel":"string"},"firstname":{"oneOf":[{"type":"string","uniqueKey":"user.firstname.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"user.firstname.oneOf.1","typeLabel":"null"}],"uniqueKey":"user.firstname","typeLabel":"string | null"},"lastname":{"oneOf":[{"type":"string","uniqueKey":"user.lastname.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"user.lastname.oneOf.1","typeLabel":"null"}],"uniqueKey":"user.lastname","typeLabel":"string | null"}},"required":["_id","email"],"type":"object","additionalProperties":false,"isRequired":true,"uniqueKey":"user","typeLabel":"object"},"account":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"account._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"account.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"account.country","typeLabel":"string"},"sacId":{"type":"number","format":"double","isRequired":true,"uniqueKey":"account.sacId","typeLabel":"number\u003cdouble>"},"oar_id":{"oneOf":[{"type":"string","uniqueKey":"account.oar_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"account.oar_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"account.oar_id","typeLabel":"string | null"},"demoaccount":{"oneOf":[{"type":"boolean","uniqueKey":"account.demoaccount.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"account.demoaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"account.demoaccount","typeLabel":"boolean | null"},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string","uniqueKey":"account.vbType","typeLabel":"enum\u003cstring>"},"socialCreditId":{"oneOf":[{"type":"string","uniqueKey":"account.socialCreditId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"account.socialCreditId.oneOf.1","typeLabel":"null"}],"uniqueKey":"account.socialCreditId","typeLabel":"string | null"},"taxId":{"oneOf":[{"type":"string","uniqueKey":"account.taxId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"account.taxId.oneOf.1","typeLabel":"null"}],"uniqueKey":"account.taxId","typeLabel":"string | null"},"bluesignId":{"oneOf":[{"type":"string","uniqueKey":"account.bluesignId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"account.bluesignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"account.bluesignId","typeLabel":"string | null"},"zdhcId":{"oneOf":[{"type":"string","uniqueKey":"account.zdhcId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"account.zdhcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"account.zdhcId","typeLabel":"string | null"},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double","isRequired":true,"uniqueKey":"account.ipeViolation.totalViolations","typeLabel":"number\u003cdouble>"}},"required":["totalViolations"],"type":"object","additionalProperties":false,"uniqueKey":"account.ipeViolation","typeLabel":"object"},"ffcId":{"oneOf":[{"type":"number","format":"double","uniqueKey":"account.ffcId.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"account.ffcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"account.ffcId","typeLabel":"number\u003cdouble> | null"},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string","uniqueKey":"account.approvalStatus","typeLabel":"enum\u003cstring>"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false,"isRequired":true,"uniqueKey":"account","typeLabel":"object"},"totalMaterialGlobalWarmingImpact":{"type":"number","format":"double","isRequired":true,"uniqueKey":"totalMaterialGlobalWarmingImpact","typeLabel":"number\u003cdouble>"},"_rev":{"oneOf":[{"type":"string","uniqueKey":"_rev.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"_rev.oneOf.1","typeLabel":"null"}],"uniqueKey":"_rev","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"category":{"oneOf":[{"type":"string","uniqueKey":"category.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"category.oneOf.1","typeLabel":"null"}],"uniqueKey":"category","typeLabel":"string | null"},"supplierCountry":{"oneOf":[{"type":"string","uniqueKey":"supplierCountry.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"supplierCountry.oneOf.1","typeLabel":"null"}],"uniqueKey":"supplierCountry","typeLabel":"string | null"},"nameId":{"oneOf":[{"type":"string","uniqueKey":"nameId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"nameId.oneOf.1","typeLabel":"null"}],"uniqueKey":"nameId","typeLabel":"string | null"},"supplier":{"oneOf":[{"type":"string","uniqueKey":"supplier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"supplier.oneOf.1","typeLabel":"null"}],"uniqueKey":"supplier","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","uniqueKey":"country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"country.oneOf.1","typeLabel":"null"}],"uniqueKey":"country","typeLabel":"string | null"},"tier2":{"properties":{"isDefault":{"type":"boolean","isRequired":true,"uniqueKey":"tier2.isDefault","typeLabel":"boolean"},"assessment":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"tier2.assessment._id","typeLabel":"string"},"rfi_pid":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentRfiPid\".","enum":["fem2017","fem2018","fem2019","fem2020","fem2021","fem2022","fem2023","fem2024","fem2025","fem2026","fem2027","fslm","brm2019","brm2020","brm2021","brm2022","brm2023","brm2024","brm2025","dct","one2022","ffc"],"type":"string","isRequired":true,"uniqueKey":"tier2.assessment.rfi_pid","typeLabel":"enum\u003cstring>"},"surveyVersion":{"type":"string","isRequired":true,"uniqueKey":"tier2.assessment.surveyVersion","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"tier2.assessment.country","typeLabel":"string"},"processName":{"type":"string","description":"some examples: yarnspinning, FacilityMaterialProcessTextiles","isRequired":true,"uniqueKey":"tier2.assessment.processName","typeLabel":"string"}},"required":["_id","country","processName","rfi_pid","surveyVersion"],"type":"object","additionalProperties":false,"uniqueKey":"tier2.assessment","typeLabel":"object"},"facility":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"tier2.facility._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"tier2.facility.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"tier2.facility.country","typeLabel":"string"},"sacId":{"type":"number","format":"double","isRequired":true,"uniqueKey":"tier2.facility.sacId","typeLabel":"number\u003cdouble>"},"oar_id":{"oneOf":[{"type":"string","uniqueKey":"tier2.facility.oar_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.facility.oar_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.facility.oar_id","typeLabel":"string | null"},"demoaccount":{"oneOf":[{"type":"boolean","uniqueKey":"tier2.facility.demoaccount.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"tier2.facility.demoaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.facility.demoaccount","typeLabel":"boolean | null"},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string","uniqueKey":"tier2.facility.vbType","typeLabel":"enum\u003cstring>"},"socialCreditId":{"oneOf":[{"type":"string","uniqueKey":"tier2.facility.socialCreditId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.facility.socialCreditId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.facility.socialCreditId","typeLabel":"string | null"},"taxId":{"oneOf":[{"type":"string","uniqueKey":"tier2.facility.taxId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.facility.taxId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.facility.taxId","typeLabel":"string | null"},"bluesignId":{"oneOf":[{"type":"string","uniqueKey":"tier2.facility.bluesignId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.facility.bluesignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.facility.bluesignId","typeLabel":"string | null"},"zdhcId":{"oneOf":[{"type":"string","uniqueKey":"tier2.facility.zdhcId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.facility.zdhcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.facility.zdhcId","typeLabel":"string | null"},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double","isRequired":true,"uniqueKey":"tier2.facility.ipeViolation.totalViolations","typeLabel":"number\u003cdouble>"}},"required":["totalViolations"],"type":"object","additionalProperties":false,"uniqueKey":"tier2.facility.ipeViolation","typeLabel":"object"},"ffcId":{"oneOf":[{"type":"number","format":"double","uniqueKey":"tier2.facility.ffcId.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"tier2.facility.ffcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.facility.ffcId","typeLabel":"number\u003cdouble> | null"},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string","uniqueKey":"tier2.facility.approvalStatus","typeLabel":"enum\u003cstring>"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false,"uniqueKey":"tier2.facility","typeLabel":"object"},"country":{"oneOf":[{"type":"string","uniqueKey":"tier2.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.country","typeLabel":"string | null"},"facilityRawText":{"oneOf":[{"type":"string","description":"The facility cell's raw value, kept when it named a facility that could not be resolved to an organization. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the tier persisting with no facility at all and no record of why. Mirrors `organizationRawText` on a stage entry; the impacts exports fall back to it for the facility name.","uniqueKey":"tier2.facilityRawText.oneOf.0","typeLabel":"string"},{"type":"null","description":"The facility cell's raw value, kept when it named a facility that could not be resolved to an organization. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the tier persisting with no facility at all and no record of why. Mirrors `organizationRawText` on a stage entry; the impacts exports fall back to it for the facility name.","uniqueKey":"tier2.facilityRawText.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.facilityRawText","typeLabel":"string | null"},"organization":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"tier2.organization._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"tier2.organization.name","typeLabel":"string"},"hasWorldlyAccount":{"type":"boolean","isRequired":true,"uniqueKey":"tier2.organization.hasWorldlyAccount","typeLabel":"boolean"},"country":{"oneOf":[{"type":"string","uniqueKey":"tier2.organization.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.organization.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.organization.country","typeLabel":"string | null"},"account":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"tier2.organization.account._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"tier2.organization.account.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"tier2.organization.account.country","typeLabel":"string"},"sacId":{"type":"number","format":"double","isRequired":true,"uniqueKey":"tier2.organization.account.sacId","typeLabel":"number\u003cdouble>"},"oar_id":{"oneOf":[{"type":"string","uniqueKey":"tier2.organization.account.oar_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.organization.account.oar_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.organization.account.oar_id","typeLabel":"string | null"},"demoaccount":{"oneOf":[{"type":"boolean","uniqueKey":"tier2.organization.account.demoaccount.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"tier2.organization.account.demoaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.organization.account.demoaccount","typeLabel":"boolean | null"},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string","uniqueKey":"tier2.organization.account.vbType","typeLabel":"enum\u003cstring>"},"socialCreditId":{"oneOf":[{"type":"string","uniqueKey":"tier2.organization.account.socialCreditId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.organization.account.socialCreditId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.organization.account.socialCreditId","typeLabel":"string | null"},"taxId":{"oneOf":[{"type":"string","uniqueKey":"tier2.organization.account.taxId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.organization.account.taxId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.organization.account.taxId","typeLabel":"string | null"},"bluesignId":{"oneOf":[{"type":"string","uniqueKey":"tier2.organization.account.bluesignId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.organization.account.bluesignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.organization.account.bluesignId","typeLabel":"string | null"},"zdhcId":{"oneOf":[{"type":"string","uniqueKey":"tier2.organization.account.zdhcId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier2.organization.account.zdhcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.organization.account.zdhcId","typeLabel":"string | null"},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double","isRequired":true,"uniqueKey":"tier2.organization.account.ipeViolation.totalViolations","typeLabel":"number\u003cdouble>"}},"required":["totalViolations"],"type":"object","additionalProperties":false,"uniqueKey":"tier2.organization.account.ipeViolation","typeLabel":"object"},"ffcId":{"oneOf":[{"type":"number","format":"double","uniqueKey":"tier2.organization.account.ffcId.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"tier2.organization.account.ffcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier2.organization.account.ffcId","typeLabel":"number\u003cdouble> | null"},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string","uniqueKey":"tier2.organization.account.approvalStatus","typeLabel":"enum\u003cstring>"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false,"uniqueKey":"tier2.organization.account","typeLabel":"object"}},"required":["_id","hasWorldlyAccount","name"],"type":"object","additionalProperties":false,"uniqueKey":"tier2.organization","typeLabel":"object"}},"required":["isDefault"],"type":"object","additionalProperties":false,"uniqueKey":"tier2","typeLabel":"object"},"tier3":{"properties":{"isDefault":{"type":"boolean","isRequired":true,"uniqueKey":"tier3.isDefault","typeLabel":"boolean"},"assessment":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"tier3.assessment._id","typeLabel":"string"},"rfi_pid":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentRfiPid\".","enum":["fem2017","fem2018","fem2019","fem2020","fem2021","fem2022","fem2023","fem2024","fem2025","fem2026","fem2027","fslm","brm2019","brm2020","brm2021","brm2022","brm2023","brm2024","brm2025","dct","one2022","ffc"],"type":"string","isRequired":true,"uniqueKey":"tier3.assessment.rfi_pid","typeLabel":"enum\u003cstring>"},"surveyVersion":{"type":"string","isRequired":true,"uniqueKey":"tier3.assessment.surveyVersion","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"tier3.assessment.country","typeLabel":"string"},"processName":{"type":"string","description":"some examples: yarnspinning, FacilityMaterialProcessTextiles","isRequired":true,"uniqueKey":"tier3.assessment.processName","typeLabel":"string"}},"required":["_id","country","processName","rfi_pid","surveyVersion"],"type":"object","additionalProperties":false,"uniqueKey":"tier3.assessment","typeLabel":"object"},"facility":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"tier3.facility._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"tier3.facility.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"tier3.facility.country","typeLabel":"string"},"sacId":{"type":"number","format":"double","isRequired":true,"uniqueKey":"tier3.facility.sacId","typeLabel":"number\u003cdouble>"},"oar_id":{"oneOf":[{"type":"string","uniqueKey":"tier3.facility.oar_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.facility.oar_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.facility.oar_id","typeLabel":"string | null"},"demoaccount":{"oneOf":[{"type":"boolean","uniqueKey":"tier3.facility.demoaccount.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"tier3.facility.demoaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.facility.demoaccount","typeLabel":"boolean | null"},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string","uniqueKey":"tier3.facility.vbType","typeLabel":"enum\u003cstring>"},"socialCreditId":{"oneOf":[{"type":"string","uniqueKey":"tier3.facility.socialCreditId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.facility.socialCreditId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.facility.socialCreditId","typeLabel":"string | null"},"taxId":{"oneOf":[{"type":"string","uniqueKey":"tier3.facility.taxId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.facility.taxId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.facility.taxId","typeLabel":"string | null"},"bluesignId":{"oneOf":[{"type":"string","uniqueKey":"tier3.facility.bluesignId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.facility.bluesignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.facility.bluesignId","typeLabel":"string | null"},"zdhcId":{"oneOf":[{"type":"string","uniqueKey":"tier3.facility.zdhcId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.facility.zdhcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.facility.zdhcId","typeLabel":"string | null"},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double","isRequired":true,"uniqueKey":"tier3.facility.ipeViolation.totalViolations","typeLabel":"number\u003cdouble>"}},"required":["totalViolations"],"type":"object","additionalProperties":false,"uniqueKey":"tier3.facility.ipeViolation","typeLabel":"object"},"ffcId":{"oneOf":[{"type":"number","format":"double","uniqueKey":"tier3.facility.ffcId.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"tier3.facility.ffcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.facility.ffcId","typeLabel":"number\u003cdouble> | null"},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string","uniqueKey":"tier3.facility.approvalStatus","typeLabel":"enum\u003cstring>"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false,"uniqueKey":"tier3.facility","typeLabel":"object"},"country":{"oneOf":[{"type":"string","uniqueKey":"tier3.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.country","typeLabel":"string | null"},"facilityRawText":{"oneOf":[{"type":"string","description":"The facility cell's raw value, kept when it named a facility that could not be resolved to an organization. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the tier persisting with no facility at all and no record of why. Mirrors `organizationRawText` on a stage entry; the impacts exports fall back to it for the facility name.","uniqueKey":"tier3.facilityRawText.oneOf.0","typeLabel":"string"},{"type":"null","description":"The facility cell's raw value, kept when it named a facility that could not be resolved to an organization. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the tier persisting with no facility at all and no record of why. Mirrors `organizationRawText` on a stage entry; the impacts exports fall back to it for the facility name.","uniqueKey":"tier3.facilityRawText.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.facilityRawText","typeLabel":"string | null"},"organization":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"tier3.organization._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"tier3.organization.name","typeLabel":"string"},"hasWorldlyAccount":{"type":"boolean","isRequired":true,"uniqueKey":"tier3.organization.hasWorldlyAccount","typeLabel":"boolean"},"country":{"oneOf":[{"type":"string","uniqueKey":"tier3.organization.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.organization.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.organization.country","typeLabel":"string | null"},"account":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"tier3.organization.account._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"tier3.organization.account.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"tier3.organization.account.country","typeLabel":"string"},"sacId":{"type":"number","format":"double","isRequired":true,"uniqueKey":"tier3.organization.account.sacId","typeLabel":"number\u003cdouble>"},"oar_id":{"oneOf":[{"type":"string","uniqueKey":"tier3.organization.account.oar_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.organization.account.oar_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.organization.account.oar_id","typeLabel":"string | null"},"demoaccount":{"oneOf":[{"type":"boolean","uniqueKey":"tier3.organization.account.demoaccount.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"tier3.organization.account.demoaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.organization.account.demoaccount","typeLabel":"boolean | null"},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string","uniqueKey":"tier3.organization.account.vbType","typeLabel":"enum\u003cstring>"},"socialCreditId":{"oneOf":[{"type":"string","uniqueKey":"tier3.organization.account.socialCreditId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.organization.account.socialCreditId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.organization.account.socialCreditId","typeLabel":"string | null"},"taxId":{"oneOf":[{"type":"string","uniqueKey":"tier3.organization.account.taxId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.organization.account.taxId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.organization.account.taxId","typeLabel":"string | null"},"bluesignId":{"oneOf":[{"type":"string","uniqueKey":"tier3.organization.account.bluesignId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.organization.account.bluesignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.organization.account.bluesignId","typeLabel":"string | null"},"zdhcId":{"oneOf":[{"type":"string","uniqueKey":"tier3.organization.account.zdhcId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tier3.organization.account.zdhcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.organization.account.zdhcId","typeLabel":"string | null"},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double","isRequired":true,"uniqueKey":"tier3.organization.account.ipeViolation.totalViolations","typeLabel":"number\u003cdouble>"}},"required":["totalViolations"],"type":"object","additionalProperties":false,"uniqueKey":"tier3.organization.account.ipeViolation","typeLabel":"object"},"ffcId":{"oneOf":[{"type":"number","format":"double","uniqueKey":"tier3.organization.account.ffcId.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"tier3.organization.account.ffcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier3.organization.account.ffcId","typeLabel":"number\u003cdouble> | null"},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string","uniqueKey":"tier3.organization.account.approvalStatus","typeLabel":"enum\u003cstring>"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false,"uniqueKey":"tier3.organization.account","typeLabel":"object"}},"required":["_id","hasWorldlyAccount","name"],"type":"object","additionalProperties":false,"uniqueKey":"tier3.organization","typeLabel":"object"}},"required":["isDefault"],"type":"object","additionalProperties":false,"uniqueKey":"tier3","typeLabel":"object"},"baseMaterials":{"oneOf":[{"items":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX]._id","typeLabel":"string"},"composition":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].composition","typeLabel":"number\u003cdouble>"},"name":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].name","typeLabel":"string"},"baseMaterialProcesses":{"items":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX]._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].name","typeLabel":"string"},"stageName":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].stageName","typeLabel":"string"},"lifeCycle":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].lifeCycle","typeLabel":"string"},"isEligible":{"type":"boolean","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].isEligible","typeLabel":"boolean"},"totalMaterialGlobalWarmingImpact":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].totalMaterialGlobalWarmingImpact","typeLabel":"number\u003cdouble>"},"totalLossRate":{"oneOf":[{"type":"number","format":"double","description":"total loss rate per cycle if process is eligible","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].totalLossRate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"total loss rate per cycle if process is eligible","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].totalLossRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].totalLossRate","typeLabel":"number\u003cdouble> | null"},"residualElectricityTotal":{"oneOf":[{"type":"number","format":"double","description":"total residual electricity per cycle if process is eligible","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].residualElectricityTotal.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"total residual electricity per cycle if process is eligible","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].residualElectricityTotal.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].residualElectricityTotal","typeLabel":"number\u003cdouble> | null"},"lossRate":{"oneOf":[{"type":"number","format":"double","description":"process loss rate","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].lossRate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"process loss rate","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].lossRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].lossRate","typeLabel":"number\u003cdouble> | null"},"assessment":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].assessment._id","typeLabel":"string"},"rfi_pid":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentRfiPid\".","enum":["fem2017","fem2018","fem2019","fem2020","fem2021","fem2022","fem2023","fem2024","fem2025","fem2026","fem2027","fslm","brm2019","brm2020","brm2021","brm2022","brm2023","brm2024","brm2025","dct","one2022","ffc"],"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].assessment.rfi_pid","typeLabel":"enum\u003cstring>"},"surveyVersion":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].assessment.surveyVersion","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].assessment.country","typeLabel":"string"},"processName":{"type":"string","description":"some examples: yarnspinning, FacilityMaterialProcessTextiles","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].assessment.processName","typeLabel":"string"}},"required":["_id","country","processName","rfi_pid","surveyVersion"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].assessment","typeLabel":"object"},"facility":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.country","typeLabel":"string"},"sacId":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.sacId","typeLabel":"number\u003cdouble>"},"oar_id":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.oar_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.oar_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.oar_id","typeLabel":"string | null"},"demoaccount":{"oneOf":[{"type":"boolean","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.demoaccount.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.demoaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.demoaccount","typeLabel":"boolean | null"},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.vbType","typeLabel":"enum\u003cstring>"},"socialCreditId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.socialCreditId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.socialCreditId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.socialCreditId","typeLabel":"string | null"},"taxId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.taxId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.taxId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.taxId","typeLabel":"string | null"},"bluesignId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.bluesignId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.bluesignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.bluesignId","typeLabel":"string | null"},"zdhcId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.zdhcId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.zdhcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.zdhcId","typeLabel":"string | null"},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.ipeViolation.totalViolations","typeLabel":"number\u003cdouble>"}},"required":["totalViolations"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.ipeViolation","typeLabel":"object"},"ffcId":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.ffcId.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.ffcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.ffcId","typeLabel":"number\u003cdouble> | null"},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility.approvalStatus","typeLabel":"enum\u003cstring>"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facility","typeLabel":"object"},"country":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].country","typeLabel":"string | null"},"facilityType":{"oneOf":[{"items":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facilityType.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facilityType.oneOf.0","typeLabel":"string[]"},{"items":{"type":"string"},"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facilityType.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facilityType","typeLabel":"string[] | null"},"sipfacilitymaterialprocesstextiles":{"oneOf":[{"items":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].sipfacilitymaterialprocesstextiles.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].sipfacilitymaterialprocesstextiles.oneOf.0","typeLabel":"string[]"},{"items":{"type":"string"},"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].sipfacilitymaterialprocesstextiles.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].sipfacilitymaterialprocesstextiles","typeLabel":"string[] | null"},"materialproduction_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].materialproduction_normalized_kgco2e.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].materialproduction_normalized_kgco2e.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].materialproduction_normalized_kgco2e","typeLabel":"number\u003cdouble> | null"},"rawmaterialprocessing_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].rawmaterialprocessing_normalized_kgco2e.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].rawmaterialprocessing_normalized_kgco2e.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].rawmaterialprocessing_normalized_kgco2e","typeLabel":"number\u003cdouble> | null"},"globalWarmingImpact":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].globalWarmingImpact.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].globalWarmingImpact.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].globalWarmingImpact","typeLabel":"number\u003cdouble> | null"},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].ineligibleReason","typeLabel":"enum\u003cstring>"},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].femStatus","typeLabel":"enum\u003cstring>"},"facilityRawText":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facilityRawText.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facilityRawText.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX].facilityRawText","typeLabel":"string | null"}},"required":["_id","isEligible","lifeCycle","name","stageName","totalMaterialGlobalWarmingImpact"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses.items.[INDEX]","typeLabel":"object"},"type":"array","description":"this field is responsible for using the default process","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcesses","typeLabel":"object[]"},"totalMaterialGlobalWarmingImpactT2":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].totalMaterialGlobalWarmingImpactT2","typeLabel":"number\u003cdouble>"},"totalMaterialGlobalWarmingImpactT3":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].totalMaterialGlobalWarmingImpactT3","typeLabel":"number\u003cdouble>"},"totalMaterialGlobalWarmingImpactT4":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].totalMaterialGlobalWarmingImpactT4","typeLabel":"number\u003cdouble>"},"totalMaterialGlobalWarmingImpact":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].totalMaterialGlobalWarmingImpact","typeLabel":"number\u003cdouble>"},"refKey":{"oneOf":[{"type":"string","description":"Composite identity of this ref within the parent material's baseMaterials array. Format: '\u003c_id>:\u003csustainabilityType|default>', with an optional third segment ':\u003cactivityUniqueId>' identifying the P001 activity for this constituent — set by the MatLib V2 worksheet (where the user selects an activity rather than a base material) and by any create request whose P001 stage resolves to an activity. A fourth segment ':\u003cstageId>=\u003cprocessId>|...' is appended only when two refs of one material would otherwise collide but carry different stages, which happens when a blend lists the same base material twice sharing its P001 activity and differing later (the MSI-sync shape); refs that are identical still collide on purpose and are merged by summing composition. Two refs may therefore share an _id. Optional for backward compatibility with legacy docs written before refKey existed (no migration planned).","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].refKey.oneOf.0","typeLabel":"string"},{"type":"null","description":"Composite identity of this ref within the parent material's baseMaterials array. Format: '\u003c_id>:\u003csustainabilityType|default>', with an optional third segment ':\u003cactivityUniqueId>' identifying the P001 activity for this constituent — set by the MatLib V2 worksheet (where the user selects an activity rather than a base material) and by any create request whose P001 stage resolves to an activity. A fourth segment ':\u003cstageId>=\u003cprocessId>|...' is appended only when two refs of one material would otherwise collide but carry different stages, which happens when a blend lists the same base material twice sharing its P001 activity and differing later (the MSI-sync shape); refs that are identical still collide on purpose and are merged by summing composition. Two refs may therefore share an _id. Optional for backward compatibility with legacy docs written before refKey existed (no migration planned).","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].refKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].refKey","typeLabel":"string | null"},"activityUniqueId":{"oneOf":[{"type":"string","description":"In the flatfile matlib v2 the user is choosing the exactly activityId: the P001 activity uniqueId selected in the Base Material column.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].activityUniqueId.oneOf.0","typeLabel":"string"},{"type":"null","description":"In the flatfile matlib v2 the user is choosing the exactly activityId: the P001 activity uniqueId selected in the Base Material column.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].activityUniqueId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].activityUniqueId","typeLabel":"string | null"},"sustainability":{"description":"this field is responsible for using the default process","properties":{"isEligible":{"type":"boolean","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainability.isEligible","typeLabel":"boolean"},"type":{"enum":["Recycled","Organic"],"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainability.type","typeLabel":"enum\u003cstring>"},"processId":{"oneOf":[{"type":"string","description":"Eligible recycled processId from P001","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainability.processId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Eligible recycled processId from P001","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainability.processId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainability.processId","typeLabel":"string | null"}},"required":["isEligible","type"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainability","typeLabel":"object"},"manufacturer":{"oneOf":[{"type":"string","description":"Material-level filter: contributor / manufacturer selected for this base material. Constrains the matlibV2 activities resolution (contributor=).","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].manufacturer.oneOf.0","typeLabel":"string"},{"type":"null","description":"Material-level filter: contributor / manufacturer selected for this base material. Constrains the matlibV2 activities resolution (contributor=).","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].manufacturer.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].manufacturer","typeLabel":"string | null"},"tradeName":{"oneOf":[{"type":"string","description":"Material-level filter: contributor trade name paired with the selected manufacturer.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].tradeName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Material-level filter: contributor trade name paired with the selected manufacturer.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].tradeName.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].tradeName","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"Material-level filter: country selected for this base material constituent.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Material-level filter: country selected for this base material constituent.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].country","typeLabel":"string | null"},"typeCode":{"oneOf":[{"type":"string","description":"Material-level filter: material type code (e.g. TX, BR) of this base material constituent.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].typeCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Material-level filter: material type code (e.g. TX, BR) of this base material constituent.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].typeCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].typeCode","typeLabel":"string | null"},"materialSubtype":{"oneOf":[{"type":"string","description":"Material-level filter: material subtype selected at P001 (the raw-material stage embedded in the material card). Constrains the matlibV2 P001 activity resolution.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].materialSubtype.oneOf.0","typeLabel":"string"},{"type":"null","description":"Material-level filter: material subtype selected at P001 (the raw-material stage embedded in the material card). Constrains the matlibV2 P001 activity resolution.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].materialSubtype.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].materialSubtype","typeLabel":"string | null"},"sustainabilityAttribute":{"oneOf":[{"type":"string","description":"Material-level filter: sustainability attribute selected at P001 (per-material select). Sent at the component level in the matlibV2 calculation request.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainabilityAttribute.oneOf.0","typeLabel":"string"},{"type":"null","description":"Material-level filter: sustainability attribute selected at P001 (per-material select). Sent at the component level in the matlibV2 calculation request.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainabilityAttribute.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].sustainabilityAttribute","typeLabel":"string | null"},"baseMaterialProcessesList":{"oneOf":[{"items":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX]._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].name","typeLabel":"string"},"stageName":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].stageName","typeLabel":"string"},"lifeCycle":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].lifeCycle","typeLabel":"string"},"isEligible":{"type":"boolean","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].isEligible","typeLabel":"boolean"},"totalMaterialGlobalWarmingImpact":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].totalMaterialGlobalWarmingImpact","typeLabel":"number\u003cdouble>"},"totalLossRate":{"oneOf":[{"type":"number","format":"double","description":"total loss rate per cycle if process is eligible","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].totalLossRate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"total loss rate per cycle if process is eligible","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].totalLossRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].totalLossRate","typeLabel":"number\u003cdouble> | null"},"residualElectricityTotal":{"oneOf":[{"type":"number","format":"double","description":"total residual electricity per cycle if process is eligible","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].residualElectricityTotal.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"total residual electricity per cycle if process is eligible","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].residualElectricityTotal.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].residualElectricityTotal","typeLabel":"number\u003cdouble> | null"},"lossRate":{"oneOf":[{"type":"number","format":"double","description":"process loss rate","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].lossRate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"process loss rate","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].lossRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].lossRate","typeLabel":"number\u003cdouble> | null"},"assessment":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].assessment._id","typeLabel":"string"},"rfi_pid":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentRfiPid\".","enum":["fem2017","fem2018","fem2019","fem2020","fem2021","fem2022","fem2023","fem2024","fem2025","fem2026","fem2027","fslm","brm2019","brm2020","brm2021","brm2022","brm2023","brm2024","brm2025","dct","one2022","ffc"],"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].assessment.rfi_pid","typeLabel":"enum\u003cstring>"},"surveyVersion":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].assessment.surveyVersion","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].assessment.country","typeLabel":"string"},"processName":{"type":"string","description":"some examples: yarnspinning, FacilityMaterialProcessTextiles","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].assessment.processName","typeLabel":"string"}},"required":["_id","country","processName","rfi_pid","surveyVersion"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].assessment","typeLabel":"object"},"facility":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.country","typeLabel":"string"},"sacId":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.sacId","typeLabel":"number\u003cdouble>"},"oar_id":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.oar_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.oar_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.oar_id","typeLabel":"string | null"},"demoaccount":{"oneOf":[{"type":"boolean","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.demoaccount.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.demoaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.demoaccount","typeLabel":"boolean | null"},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.vbType","typeLabel":"enum\u003cstring>"},"socialCreditId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.socialCreditId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.socialCreditId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.socialCreditId","typeLabel":"string | null"},"taxId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.taxId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.taxId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.taxId","typeLabel":"string | null"},"bluesignId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.bluesignId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.bluesignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.bluesignId","typeLabel":"string | null"},"zdhcId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.zdhcId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.zdhcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.zdhcId","typeLabel":"string | null"},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.ipeViolation.totalViolations","typeLabel":"number\u003cdouble>"}},"required":["totalViolations"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.ipeViolation","typeLabel":"object"},"ffcId":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.ffcId.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.ffcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.ffcId","typeLabel":"number\u003cdouble> | null"},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility.approvalStatus","typeLabel":"enum\u003cstring>"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facility","typeLabel":"object"},"country":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].country","typeLabel":"string | null"},"facilityType":{"oneOf":[{"items":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facilityType.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facilityType.oneOf.0","typeLabel":"string[]"},{"items":{"type":"string"},"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facilityType.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facilityType","typeLabel":"string[] | null"},"sipfacilitymaterialprocesstextiles":{"oneOf":[{"items":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].sipfacilitymaterialprocesstextiles.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].sipfacilitymaterialprocesstextiles.oneOf.0","typeLabel":"string[]"},{"items":{"type":"string"},"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].sipfacilitymaterialprocesstextiles.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].sipfacilitymaterialprocesstextiles","typeLabel":"string[] | null"},"materialproduction_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].materialproduction_normalized_kgco2e.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].materialproduction_normalized_kgco2e.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].materialproduction_normalized_kgco2e","typeLabel":"number\u003cdouble> | null"},"rawmaterialprocessing_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].rawmaterialprocessing_normalized_kgco2e.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].rawmaterialprocessing_normalized_kgco2e.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].rawmaterialprocessing_normalized_kgco2e","typeLabel":"number\u003cdouble> | null"},"globalWarmingImpact":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].globalWarmingImpact.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].globalWarmingImpact.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].globalWarmingImpact","typeLabel":"number\u003cdouble> | null"},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].ineligibleReason","typeLabel":"enum\u003cstring>"},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].femStatus","typeLabel":"enum\u003cstring>"},"facilityRawText":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facilityRawText.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facilityRawText.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX].facilityRawText","typeLabel":"string | null"}},"required":["_id","isEligible","lifeCycle","name","stageName","totalMaterialGlobalWarmingImpact"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","description":"this field is responsible for using all processes","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.0","typeLabel":"object[]"},{"items":{"properties":{"_id":{"type":"string"},"name":{"type":"string"},"stageName":{"type":"string"},"lifeCycle":{"type":"string"},"totalLossRate":{"oneOf":[{"type":"number","format":"double","description":"total loss rate per cycle if process is eligible"},{"type":"null","format":"double","description":"total loss rate per cycle if process is eligible"}]},"residualElectricityTotal":{"oneOf":[{"type":"number","format":"double","description":"total residual electricity per cycle if process is eligible"},{"type":"null","format":"double","description":"total residual electricity per cycle if process is eligible"}]},"lossRate":{"oneOf":[{"type":"number","format":"double","description":"process loss rate"},{"type":"null","format":"double","description":"process loss rate"}]},"assessment":{"properties":{"_id":{"type":"string"},"rfi_pid":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentRfiPid\".","enum":["fem2017","fem2018","fem2019","fem2020","fem2021","fem2022","fem2023","fem2024","fem2025","fem2026","fem2027","fslm","brm2019","brm2020","brm2021","brm2022","brm2023","brm2024","brm2025","dct","one2022","ffc"],"type":"string"},"surveyVersion":{"type":"string"},"country":{"type":"string"},"processName":{"type":"string","description":"some examples: yarnspinning, FacilityMaterialProcessTextiles"}},"required":["_id","country","processName","rfi_pid","surveyVersion"],"type":"object","additionalProperties":false},"facility":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"sacId":{"type":"number","format":"double"},"oar_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"demoaccount":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string"},"socialCreditId":{"oneOf":[{"type":"string"},{"type":"null"}]},"taxId":{"oneOf":[{"type":"string"},{"type":"null"}]},"bluesignId":{"oneOf":[{"type":"string"},{"type":"null"}]},"zdhcId":{"oneOf":[{"type":"string"},{"type":"null"}]},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double"}},"required":["totalViolations"],"type":"object","additionalProperties":false},"ffcId":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"facilityType":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]},"sipfacilitymaterialprocesstextiles":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]},"materialproduction_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"rawmaterialprocessing_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"isEligible":{"type":"boolean"},"totalMaterialGlobalWarmingImpact":{"type":"number","format":"double"},"globalWarmingImpact":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string"},"facilityRawText":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","isEligible","lifeCycle","name","stageName","totalMaterialGlobalWarmingImpact"],"type":"object","additionalProperties":false},"type":"null","description":"this field is responsible for using all processes","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].baseMaterialProcessesList","typeLabel":"object[] | null"},"uniqueCyclesAssessments":{"oneOf":[{"items":{"properties":{"assessmentId":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments.oneOf.0.items.[INDEX].assessmentId","typeLabel":"string"},"processId":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments.oneOf.0.items.[INDEX].processId","typeLabel":"string"},"lifeCycle":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments.oneOf.0.items.[INDEX].lifeCycle","typeLabel":"string"},"isEligible":{"type":"boolean","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments.oneOf.0.items.[INDEX].isEligible","typeLabel":"boolean"},"sipfacilitymaterialprocesstextiles":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments.oneOf.0.items.[INDEX].sipfacilitymaterialprocesstextiles","typeLabel":"string"},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments.oneOf.0.items.[INDEX].ineligibleReason","typeLabel":"enum\u003cstring>"}},"required":["assessmentId","isEligible","lifeCycle","processId","sipfacilitymaterialprocesstextiles"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","description":"Total unique eligible cycles per assessment. P001 is not considered.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments.oneOf.0","typeLabel":"object[]"},{"items":{"properties":{"assessmentId":{"type":"string"},"processId":{"type":"string"},"lifeCycle":{"type":"string"},"isEligible":{"type":"boolean"},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"sipfacilitymaterialprocesstextiles":{"type":"string"}},"required":["assessmentId","isEligible","lifeCycle","processId","sipfacilitymaterialprocesstextiles"],"type":"object","additionalProperties":false},"type":"null","description":"Total unique eligible cycles per assessment. P001 is not considered.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].uniqueCyclesAssessments","typeLabel":"object[] | null"},"shortPath":{"description":"this field is responsible for using the default process","properties":{"coatingLamination":{"description":"Coating/Lamination","enum":["Coating","Lamination","YesUnknown","None"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.coatingLamination","typeLabel":"enum\u003cstring>"},"yarnSize":{"oneOf":[{"type":"string","description":"Yarn Size","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.yarnSize.oneOf.0","typeLabel":"string"},{"type":"null","description":"Yarn Size","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.yarnSize.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.yarnSize","typeLabel":"string | null"},"textileFormation":{"enum":["Knitting","Weaving","Non-Woven"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.textileFormation","typeLabel":"enum\u003cstring>"},"autoFromShortPath":{"oneOf":[{"type":"boolean","description":"True when this base material ref was appended by the short-path coating logic; identifies the auto BR row for subsequent swap/remove operations.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.autoFromShortPath.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True when this base material ref was appended by the short-path coating logic; identifies the auto BR row for subsequent swap/remove operations.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.autoFromShortPath.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath.autoFromShortPath","typeLabel":"boolean | null"}},"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].shortPath","typeLabel":"object"},"v2Calculations":{"description":"Calculation results produced by the matlibV2 calculator (POST /api/calculate). Carried at the material level on PicMaterialLibraryEntity and per-base-material on PicBaseMaterialRef so each scope's totals can be persisted alongside the v1 fields without disturbing them.","properties":{"totalMaterialGlobalWarmingImpactT2":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpactT2.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpactT2.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpactT2","typeLabel":"number\u003cdouble> | null"},"totalMaterialGlobalWarmingImpactT3":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpactT3.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpactT3.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpactT3","typeLabel":"number\u003cdouble> | null"},"totalMaterialGlobalWarmingImpactT4":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpactT4.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpactT4.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpactT4","typeLabel":"number\u003cdouble> | null"},"totalMaterialGlobalWarmingImpact":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpact.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpact.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.totalMaterialGlobalWarmingImpact","typeLabel":"number\u003cdouble> | null"},"impactByStage":{"oneOf":[{"items":{"description":"One material-level stage in the matlibV2 impactByStage rollup: component per-stage phaseGW/transport summed across all components plus the shared blend chain.","properties":{"stageNumber":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage.oneOf.0.items.[INDEX].stageNumber","typeLabel":"string"},"stageName":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage.oneOf.0.items.[INDEX].stageName","typeLabel":"string"},"tier":{"type":"string","enum":["Tier2","Tier3","Tier4"],"isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage.oneOf.0.items.[INDEX].tier","typeLabel":"enum\u003cstring>"},"phaseGW":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage.oneOf.0.items.[INDEX].phaseGW","typeLabel":"number\u003cdouble>"},"transport":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage.oneOf.0.items.[INDEX].transport","typeLabel":"number\u003cdouble>"},"phaseGwPercentage":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage.oneOf.0.items.[INDEX].phaseGwPercentage","typeLabel":"number\u003cdouble>"}},"required":["phaseGW","phaseGwPercentage","stageName","stageNumber","tier","transport"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","description":"Material-level per-stage impact rollup from the matlibV2 calculator, ordered by stageNumber.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage.oneOf.0","typeLabel":"object[]"},{"items":{"description":"One material-level stage in the matlibV2 impactByStage rollup: component per-stage phaseGW/transport summed across all components plus the shared blend chain.","properties":{"stageNumber":{"type":"string"},"stageName":{"type":"string"},"tier":{"type":"string","enum":["Tier2","Tier3","Tier4"]},"phaseGW":{"type":"number","format":"double"},"transport":{"type":"number","format":"double"},"phaseGwPercentage":{"type":"number","format":"double"}},"required":["phaseGW","phaseGwPercentage","stageName","stageNumber","tier","transport"],"type":"object","additionalProperties":false},"type":"null","description":"Material-level per-stage impact rollup from the matlibV2 calculator, ordered by stageNumber.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations.impactByStage","typeLabel":"object[] | null"}},"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].v2Calculations","typeLabel":"object"},"organization":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.name","typeLabel":"string"},"hasWorldlyAccount":{"type":"boolean","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.hasWorldlyAccount","typeLabel":"boolean"},"country":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.country","typeLabel":"string | null"},"account":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.country","typeLabel":"string"},"sacId":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.sacId","typeLabel":"number\u003cdouble>"},"oar_id":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.oar_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.oar_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.oar_id","typeLabel":"string | null"},"demoaccount":{"oneOf":[{"type":"boolean","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.demoaccount.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.demoaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.demoaccount","typeLabel":"boolean | null"},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.vbType","typeLabel":"enum\u003cstring>"},"socialCreditId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.socialCreditId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.socialCreditId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.socialCreditId","typeLabel":"string | null"},"taxId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.taxId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.taxId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.taxId","typeLabel":"string | null"},"bluesignId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.bluesignId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.bluesignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.bluesignId","typeLabel":"string | null"},"zdhcId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.zdhcId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.zdhcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.zdhcId","typeLabel":"string | null"},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.ipeViolation.totalViolations","typeLabel":"number\u003cdouble>"}},"required":["totalViolations"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.ipeViolation","typeLabel":"object"},"ffcId":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.ffcId.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.ffcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.ffcId","typeLabel":"number\u003cdouble> | null"},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account.approvalStatus","typeLabel":"enum\u003cstring>"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization.account","typeLabel":"object"}},"required":["_id","hasWorldlyAccount","name"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].organization","typeLabel":"object"},"femIneligibleReasons":{"oneOf":[{"type":"string","description":"FEM eligibility outcome backfilled after calculation: comma-joined reason codes for the single ineligible facility mapped to this stage, if any.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].femIneligibleReasons.oneOf.0","typeLabel":"string"},{"type":"null","description":"FEM eligibility outcome backfilled after calculation: comma-joined reason codes for the single ineligible facility mapped to this stage, if any.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].femIneligibleReasons.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].femIneligibleReasons","typeLabel":"string | null"},"stages":{"oneOf":[{"items":{"description":"Per-stage entry persisted on a PicBaseMaterialRef. Carries the minimal per-stage selection needed to rebuild the matlibV2 calculate request (stageId/processId/source/countryCode/organization), the activities-call filter constraints that resolved the stage (activitiesFilter), and the selected FEM assessment plus its eligibility outcome backfilled after calculation (selectedFem).","properties":{"stageId":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].stageId","typeLabel":"string"},"countryCode":{"type":"string","description":"Country code from the matLib_countries reference table — ISO-2, or the pseudo-codes Default/Europe. Empty when the source value matched no table row; that is a supported state, and buildCountries() then omits the stage so the calculator applies its own default grid rather than a key no country-grids.json entry carries.","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].countryCode","typeLabel":"string"},"source":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].source","typeLabel":"string"},"disaggregated":{"type":"boolean","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].disaggregated","typeLabel":"boolean"},"processId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processId","typeLabel":"string | null"},"processOriginal":{"oneOf":[{"type":"string","description":"Process name when there is no Process match for a lifecycle stage","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processOriginal.oneOf.0","typeLabel":"string"},{"type":"null","description":"Process name when there is no Process match for a lifecycle stage","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processOriginal.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processOriginal","typeLabel":"string | null"},"originalProcessId":{"oneOf":[{"type":"string","description":"The processId this stage resolved to before it was replaced. Set alongside stageStatus when a stage is collapsed onto the AA process, so the selection the row actually made stays recoverable for display and support.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].originalProcessId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The processId this stage resolved to before it was replaced. Set alongside stageStatus when a stage is collapsed onto the AA process, so the selection the row actually made stays recoverable for display and support.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].originalProcessId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].originalProcessId","typeLabel":"string | null"},"absorbedByProcessId":{"oneOf":[{"type":"string","description":"The processId that reports this stage's impact instead — the conflation group's primary-stage process. Names the counterpart to originalProcessId: what replaced the stage's own contribution, and where its impact actually landed.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].absorbedByProcessId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The processId that reports this stage's impact instead — the conflation group's primary-stage process. Names the counterpart to originalProcessId: what replaced the stage's own contribution, and where its impact actually landed.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].absorbedByProcessId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].absorbedByProcessId","typeLabel":"string | null"},"stageStatus":{"description":"Set only when the stage carries no process of its own. Absent on a normally resolved stage.","enum":["Absorbed"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].stageStatus","typeLabel":"enum\u003cstring>"},"countryName":{"oneOf":[{"type":"string","description":"Display name for the stage's country. The table's canonical name when countryCode resolved (IN -> \"India\"), otherwise the raw source text that could not be resolved — a MatLib activity's countryOfOrigin of \"Global\", or an ambiguous name such as \"Generic\" which three table rows share — so the geography the source stated survives even when no code could be persisted. Optional only because documents written before the code/name split carry neither; every write path sets it.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].countryName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name for the stage's country. The table's canonical name when countryCode resolved (IN -> \"India\"), otherwise the raw source text that could not be resolved — a MatLib activity's countryOfOrigin of \"Global\", or an ambiguous name such as \"Generic\" which three table rows share — so the geography the source stated survives even when no code could be persisted. Optional only because documents written before the code/name split carry neither; every write path sets it.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].countryName.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].countryName","typeLabel":"string | null"},"organizationRawText":{"oneOf":[{"type":"string","description":"The facility cell's raw value, kept when it named an organization that could not be resolved. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the stage persisting with no facility at all and no record of why. Mutually exclusive with `organization` in practice: a resolved facility sets the ref, an unresolved one sets this.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organizationRawText.oneOf.0","typeLabel":"string"},{"type":"null","description":"The facility cell's raw value, kept when it named an organization that could not be resolved. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the stage persisting with no facility at all and no record of why. Mutually exclusive with `organization` in practice: a resolved facility sets the ref, an unresolved one sets this.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organizationRawText.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organizationRawText","typeLabel":"string | null"},"organization":{"properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.name","typeLabel":"string"},"hasWorldlyAccount":{"type":"boolean","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.hasWorldlyAccount","typeLabel":"boolean"},"country":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.country","typeLabel":"string | null"},"account":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.country","typeLabel":"string"},"sacId":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.sacId","typeLabel":"number\u003cdouble>"},"oar_id":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.oar_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.oar_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.oar_id","typeLabel":"string | null"},"demoaccount":{"oneOf":[{"type":"boolean","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.demoaccount.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.demoaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.demoaccount","typeLabel":"boolean | null"},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.vbType","typeLabel":"enum\u003cstring>"},"socialCreditId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.socialCreditId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.socialCreditId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.socialCreditId","typeLabel":"string | null"},"taxId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.taxId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.taxId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.taxId","typeLabel":"string | null"},"bluesignId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.bluesignId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.bluesignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.bluesignId","typeLabel":"string | null"},"zdhcId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.zdhcId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.zdhcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.zdhcId","typeLabel":"string | null"},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.ipeViolation.totalViolations","typeLabel":"number\u003cdouble>"}},"required":["totalViolations"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.ipeViolation","typeLabel":"object"},"ffcId":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.ffcId.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.ffcId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.ffcId","typeLabel":"number\u003cdouble> | null"},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account.approvalStatus","typeLabel":"enum\u003cstring>"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization.account","typeLabel":"object"}},"required":["_id","hasWorldlyAccount","name"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].organization","typeLabel":"object"},"materialSubtype":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].materialSubtype.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].materialSubtype.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].materialSubtype","typeLabel":"string | null"},"activityUniqueId":{"oneOf":[{"type":"string","description":"uniqueId of the MatLib activity resolved for this stage. Read off the P001 stage to identify the constituent, so a blend listing the same base material more than once with different P001 activities keeps them as distinct refs instead of merging them into one.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activityUniqueId.oneOf.0","typeLabel":"string"},{"type":"null","description":"uniqueId of the MatLib activity resolved for this stage. Read off the P001 stage to identify the constituent, so a blend listing the same base material more than once with different P001 activities keeps them as distinct refs instead of merging them into one.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activityUniqueId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activityUniqueId","typeLabel":"string | null"},"activitiesFilter":{"description":"The matlibV2 activities-call filter constraints used to resolve this stage's process.","properties":{"activityType":{"oneOf":[{"type":"string","description":"e.g. the textile-formation value passed as activityType when re-resolving TX-P003.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.activityType.oneOf.0","typeLabel":"string"},{"type":"null","description":"e.g. the textile-formation value passed as activityType when re-resolving TX-P003.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.activityType.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.activityType","typeLabel":"string | null"},"yarnSize":{"oneOf":[{"type":"string","description":"Short-path input: yarn size that resolved the TX-P002 activity.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.yarnSize.oneOf.0","typeLabel":"string"},{"type":"null","description":"Short-path input: yarn size that resolved the TX-P002 activity.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.yarnSize.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.yarnSize","typeLabel":"string | null"},"manufacturer":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.manufacturer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.manufacturer.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.manufacturer","typeLabel":"string | null"},"textileFormation":{"oneOf":[{"type":"string","description":"Short-path input: textile formation (Knitting/Weaving/Non-Woven) that resolved the TX-P003 activity.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.textileFormation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Short-path input: textile formation (Knitting/Weaving/Non-Woven) that resolved the TX-P003 activity.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.textileFormation.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.textileFormation","typeLabel":"string | null"},"dyeType":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.dyeType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.dyeType.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.dyeType","typeLabel":"string | null"},"sustainabilityAttribute":{"oneOf":[{"type":"string","description":"Short-path input: sustainability attribute that resolved the P001 activity.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.sustainabilityAttribute.oneOf.0","typeLabel":"string"},{"type":"null","description":"Short-path input: sustainability attribute that resolved the P001 activity.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.sustainabilityAttribute.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.sustainabilityAttribute","typeLabel":"string | null"},"materialSubtype":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.materialSubtype.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.materialSubtype.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.materialSubtype","typeLabel":"string | null"},"inputFor":{"oneOf":[{"type":"string","description":"Downstream formation that constrains the TX-P002 yarn activity.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.inputFor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Downstream formation that constrains the TX-P002 yarn activity.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.inputFor.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.inputFor","typeLabel":"string | null"},"contributor":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.contributor.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.contributor.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.contributor","typeLabel":"string | null"},"upstreamProcessId":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.upstreamProcessId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.upstreamProcessId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.upstreamProcessId","typeLabel":"string | null"},"extraData":{"oneOf":[{"properties":{"processType":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData.oneOf.0.processType","typeLabel":"string"},"activityAttribute":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData.oneOf.0.activityAttribute","typeLabel":"string"},"enabledBy":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData.oneOf.0.enabledBy","typeLabel":"string"},"intrinsicCharacteristic":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData.oneOf.0.intrinsicCharacteristic","typeLabel":"string"},"layersCount":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData.oneOf.0.layersCount","typeLabel":"string"},"substratePURatio":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData.oneOf.0.substratePURatio","typeLabel":"string"},"programCertification":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData.oneOf.0.programCertification","typeLabel":"string"}},"type":"object","description":"Activities-call filter constraints not driven directly by the short-path flow. Carried through from the FE calculate payload and replayed when re-resolving a stage.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData.oneOf.0","typeLabel":"object"},{"properties":{"processType":{"type":"string"},"activityAttribute":{"type":"string"},"enabledBy":{"type":"string"},"intrinsicCharacteristic":{"type":"string"},"layersCount":{"type":"string"},"substratePURatio":{"type":"string"},"programCertification":{"type":"string"}},"type":"null","description":"Activities-call filter constraints not driven directly by the short-path flow. Carried through from the FE calculate payload and replayed when re-resolving a stage.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter.extraData","typeLabel":"object | null"}},"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activitiesFilter","typeLabel":"object"},"inventoryData":{"description":"Energy/loss inventory of the resolved activity, captured from the matlibV2 activities call so the calculate request can be rebuilt without re-querying the graph.","properties":{"lossRate":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.lossRate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.lossRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.lossRate","typeLabel":"number\u003cdouble> | null"},"residualGWP":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.residualGWP.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.residualGWP.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.residualGWP","typeLabel":"number\u003cdouble> | null"},"residualScope3GWP":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.residualScope3GWP.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.residualScope3GWP.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.residualScope3GWP","typeLabel":"number\u003cdouble> | null"},"totalElectricity":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.totalElectricity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.totalElectricity.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.totalElectricity","typeLabel":"number\u003cdouble> | null"},"naturalGas":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.naturalGas.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.naturalGas.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.naturalGas","typeLabel":"number\u003cdouble> | null"},"diesel":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.diesel.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.diesel.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.diesel","typeLabel":"number\u003cdouble> | null"},"coal":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.coal.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.coal.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData.coal","typeLabel":"number\u003cdouble> | null"}},"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].inventoryData","typeLabel":"object"},"processData":{"description":"Process boundary metadata of the resolved activity (disaggregation flag and any multi-stage system boundary).","properties":{"disaggregated":{"oneOf":[{"type":"boolean","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processData.disaggregated.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processData.disaggregated.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processData.disaggregated","typeLabel":"boolean | null"},"systemBoundaryStages":{"oneOf":[{"items":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processData.systemBoundaryStages.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processData.systemBoundaryStages.oneOf.0","typeLabel":"string[]"},{"items":{"type":"string"},"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processData.systemBoundaryStages.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processData.systemBoundaryStages","typeLabel":"string[] | null"}},"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].processData","typeLabel":"object"},"impactAssessment":{"description":"Static impact values of the resolved activity used by the calculator's Approach 2b path.","properties":{"globalWarming":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactAssessment.globalWarming.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactAssessment.globalWarming.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactAssessment.globalWarming","typeLabel":"number\u003cdouble> | null"},"totalPoints":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactAssessment.totalPoints.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactAssessment.totalPoints.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactAssessment.totalPoints","typeLabel":"number\u003cdouble> | null"}},"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactAssessment","typeLabel":"object"},"selectedFem":{"description":"The FEM assessment selected for a stage's mapped organization, plus the FEM eligibility outcome backfilled after calculation.","properties":{"_id":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem._id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem._id.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem._id","typeLabel":"string | null"},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femStatus","typeLabel":"enum\u003cstring>"},"femYear":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femYear.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femYear.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femYear","typeLabel":"string | null"},"eligible":{"oneOf":[{"type":"boolean","description":"FEM eligibility outcome backfilled after calculation: true when the FEM passed eligibility and was applied to this stage, false when it was surfaced from an ineligible facility.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.eligible.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"FEM eligibility outcome backfilled after calculation: true when the FEM passed eligibility and was applied to this stage, false when it was surfaced from an ineligible facility.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.eligible.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.eligible","typeLabel":"boolean | null"},"countryCode":{"oneOf":[{"type":"string","description":"Country of the facility this FEM belongs to, as a MatLib country reference code. Persisted so the calculate request can resolve a per-stage grid emission factor for a stage that has no country of its own — the facility's geography is the next best proxy for where the stage's electricity was drawn.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.countryCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Country of the facility this FEM belongs to, as a MatLib country reference code. Persisted so the calculate request can resolve a per-stage grid emission factor for a stage that has no country of its own — the facility's geography is the next best proxy for where the stage's electricity was drawn.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.countryCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.countryCode","typeLabel":"string | null"},"femIneligibleReasons":{"oneOf":[{"items":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleReasons.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","description":"FEM eligibility outcome backfilled after calculation: reason codes for the single ineligible facility mapped to this stage, if any.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleReasons.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"items":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"type":"null","description":"FEM eligibility outcome backfilled after calculation: reason codes for the single ineligible facility mapped to this stage, if any.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleReasons.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleReasons","typeLabel":"enum\u003cstring>[] | null"},"femIneligibleInformation":{"oneOf":[{"items":{"description":"One FEM eligibility gate the selected FEM failed, as reported by the matlib-calculator /fem/eligibility endpoint.","properties":{"gate":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX].gate","typeLabel":"number\u003cdouble>"},"reason":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"name":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"reasonCode":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX].reasonCode","typeLabel":"enum\u003cstring>"},"detail":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX].detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX].detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX].detail","typeLabel":"string | null"}},"required":["gate","reason"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","description":"Gate-level failure text from the FEM eligibility check (reason and diagnostic detail), saved so the UI and exports can explain why the FEM was not applied. Empty when the FEM is eligible; absent when the stage was resolved by the calculator.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.0","typeLabel":"object[]"},{"items":{"description":"One FEM eligibility gate the selected FEM failed, as reported by the matlib-calculator /fem/eligibility endpoint.","properties":{"gate":{"type":"number","format":"double"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]},"reasonCode":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"reason":{"type":"string"},"detail":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["gate","reason"],"type":"object","additionalProperties":false},"type":"null","description":"Gate-level failure text from the FEM eligibility check (reason and diagnostic detail), saved so the UI and exports can explain why the FEM was not applied. Empty when the FEM is eligible; absent when the stage was resolved by the calculator.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem.femIneligibleInformation","typeLabel":"object[] | null"}},"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].selectedFem","typeLabel":"object"},"impactByStage":{"description":"This constituent's impact for the stage, backfilled from the calculator after every calculation. Absent when the calculator returned no result for the stage.","properties":{"stageNumber":{"type":"string","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.stageNumber","typeLabel":"string"},"phaseGW":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.phaseGW","typeLabel":"number\u003cdouble>"},"transport":{"type":"number","format":"double","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.transport","typeLabel":"number\u003cdouble>"},"totalGW_kgCO2e":{"type":"number","format":"double","description":"phaseGW + transport: what this stage costs for this constituent.","isRequired":true,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.totalGW_kgCO2e","typeLabel":"number\u003cdouble>"},"stageCode":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.stageCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.stageCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.stageCode","typeLabel":"string | null"},"stageName":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.stageName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.stageName.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.stageName","typeLabel":"string | null"},"tier":{"oneOf":[{"type":"string","enum":["Tier2","Tier3","Tier4"],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Tier2","Tier3","Tier4"],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.tier","typeLabel":"enum\u003cstring> | null"},"processId":{"oneOf":[{"type":"string","description":"The process the calculator actually ran. On a fromBlendChain stage it can differ from the stage's own processId.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.processId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The process the calculator actually ran. On a fromBlendChain stage it can differ from the stage's own processId.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.processId.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.processId","typeLabel":"string | null"},"approach":{"oneOf":[{"type":"string","enum":["1","2a","2b","boundary_zero"],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.approach.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["1","2a","2b","boundary_zero"],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.approach.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.approach","typeLabel":"enum\u003cstring> | null"},"gwPerKg":{"oneOf":[{"type":"number","format":"double","description":"Process emission factor (kgCO2e/kg) — a calculation input, not this stage's contribution.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.gwPerKg.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Process emission factor (kgCO2e/kg) — a calculation input, not this stage's contribution.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.gwPerKg.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.gwPerKg","typeLabel":"number\u003cdouble> | null"},"outputMass":{"oneOf":[{"type":"number","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.outputMass.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.outputMass.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.outputMass","typeLabel":"number\u003cdouble> | null"},"fromBlendChain":{"oneOf":[{"type":"boolean","description":"True when the stage was computed once on the blend's shared chain and apportioned to this constituent by composition.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.fromBlendChain.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True when the stage was computed once on the blend's shared chain and apportioned to this constituent by composition.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.fromBlendChain.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage.fromBlendChain","typeLabel":"boolean | null"}},"required":["phaseGW","stageNumber","totalGW_kgCO2e","transport"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].impactByStage","typeLabel":"object"},"stageName":{"oneOf":[{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].stageName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].stageName.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].stageName","typeLabel":"string | null"},"activityName":{"oneOf":[{"type":"string","description":"Name of the MatLib activity resolved for this stage. Persisted so exports can label a stage by the activity the user actually resolved, without a per-stage catalog lookup. Absent on documents written before this field existed, and on stages built from a hardcoded process (which has no catalog activity).","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activityName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the MatLib activity resolved for this stage. Persisted so exports can label a stage by the activity the user actually resolved, without a per-stage catalog lookup. Absent on documents written before this field existed, and on stages built from a hardcoded process (which has no catalog activity).","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activityName.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].activityName","typeLabel":"string | null"},"femProcessSlugs":{"oneOf":[{"items":{"type":"string","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].femProcessSlugs.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","description":"FEM process slugs extracted from facility processes for this stage. Used to filter activities by FEM-reported processes.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].femProcessSlugs.oneOf.0","typeLabel":"string[]"},{"items":{"type":"string"},"type":"null","description":"FEM process slugs extracted from facility processes for this stage. Used to filter activities by FEM-reported processes.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].femProcessSlugs.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX].femProcessSlugs","typeLabel":"string[] | null"}},"required":["countryCode","disaggregated","source","stageId"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","description":"Per-stage payload from matlibV2 the resolved process map for this base material.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.0","typeLabel":"object[]"},{"items":{"description":"Per-stage entry persisted on a PicBaseMaterialRef. Carries the minimal per-stage selection needed to rebuild the matlibV2 calculate request (stageId/processId/source/countryCode/organization), the activities-call filter constraints that resolved the stage (activitiesFilter), and the selected FEM assessment plus its eligibility outcome backfilled after calculation (selectedFem).","properties":{"stageId":{"type":"string"},"processId":{"oneOf":[{"type":"string"},{"type":"null"}]},"processOriginal":{"oneOf":[{"type":"string","description":"Process name when there is no Process match for a lifecycle stage"},{"type":"null","description":"Process name when there is no Process match for a lifecycle stage"}]},"originalProcessId":{"oneOf":[{"type":"string","description":"The processId this stage resolved to before it was replaced. Set alongside stageStatus when a stage is collapsed onto the AA process, so the selection the row actually made stays recoverable for display and support."},{"type":"null","description":"The processId this stage resolved to before it was replaced. Set alongside stageStatus when a stage is collapsed onto the AA process, so the selection the row actually made stays recoverable for display and support."}]},"absorbedByProcessId":{"oneOf":[{"type":"string","description":"The processId that reports this stage's impact instead — the conflation group's primary-stage process. Names the counterpart to originalProcessId: what replaced the stage's own contribution, and where its impact actually landed."},{"type":"null","description":"The processId that reports this stage's impact instead — the conflation group's primary-stage process. Names the counterpart to originalProcessId: what replaced the stage's own contribution, and where its impact actually landed."}]},"stageStatus":{"description":"Set only when the stage carries no process of its own. Absent on a normally resolved stage.","enum":["Absorbed"],"type":"string"},"countryCode":{"type":"string","description":"Country code from the matLib_countries reference table — ISO-2, or the pseudo-codes Default/Europe. Empty when the source value matched no table row; that is a supported state, and buildCountries() then omits the stage so the calculator applies its own default grid rather than a key no country-grids.json entry carries."},"countryName":{"oneOf":[{"type":"string","description":"Display name for the stage's country. The table's canonical name when countryCode resolved (IN -> \"India\"), otherwise the raw source text that could not be resolved — a MatLib activity's countryOfOrigin of \"Global\", or an ambiguous name such as \"Generic\" which three table rows share — so the geography the source stated survives even when no code could be persisted. Optional only because documents written before the code/name split carry neither; every write path sets it."},{"type":"null","description":"Display name for the stage's country. The table's canonical name when countryCode resolved (IN -> \"India\"), otherwise the raw source text that could not be resolved — a MatLib activity's countryOfOrigin of \"Global\", or an ambiguous name such as \"Generic\" which three table rows share — so the geography the source stated survives even when no code could be persisted. Optional only because documents written before the code/name split carry neither; every write path sets it."}]},"source":{"type":"string"},"disaggregated":{"type":"boolean"},"organizationRawText":{"oneOf":[{"type":"string","description":"The facility cell's raw value, kept when it named an organization that could not be resolved. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the stage persisting with no facility at all and no record of why. Mutually exclusive with `organization` in practice: a resolved facility sets the ref, an unresolved one sets this."},{"type":"null","description":"The facility cell's raw value, kept when it named an organization that could not be resolved. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the stage persisting with no facility at all and no record of why. Mutually exclusive with `organization` in practice: a resolved facility sets the ref, an unresolved one sets this."}]},"organization":{"properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"hasWorldlyAccount":{"type":"boolean"},"account":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"sacId":{"type":"number","format":"double"},"oar_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"demoaccount":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string"},"socialCreditId":{"oneOf":[{"type":"string"},{"type":"null"}]},"taxId":{"oneOf":[{"type":"string"},{"type":"null"}]},"bluesignId":{"oneOf":[{"type":"string"},{"type":"null"}]},"zdhcId":{"oneOf":[{"type":"string"},{"type":"null"}]},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double"}},"required":["totalViolations"],"type":"object","additionalProperties":false},"ffcId":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false}},"required":["_id","hasWorldlyAccount","name"],"type":"object","additionalProperties":false},"materialSubtype":{"oneOf":[{"type":"string"},{"type":"null"}]},"activityUniqueId":{"oneOf":[{"type":"string","description":"uniqueId of the MatLib activity resolved for this stage. Read off the P001 stage to identify the constituent, so a blend listing the same base material more than once with different P001 activities keeps them as distinct refs instead of merging them into one."},{"type":"null","description":"uniqueId of the MatLib activity resolved for this stage. Read off the P001 stage to identify the constituent, so a blend listing the same base material more than once with different P001 activities keeps them as distinct refs instead of merging them into one."}]},"activitiesFilter":{"description":"The matlibV2 activities-call filter constraints used to resolve this stage's process.","properties":{"activityType":{"oneOf":[{"type":"string","description":"e.g. the textile-formation value passed as activityType when re-resolving TX-P003."},{"type":"null","description":"e.g. the textile-formation value passed as activityType when re-resolving TX-P003."}]},"yarnSize":{"oneOf":[{"type":"string","description":"Short-path input: yarn size that resolved the TX-P002 activity."},{"type":"null","description":"Short-path input: yarn size that resolved the TX-P002 activity."}]},"manufacturer":{"oneOf":[{"type":"string"},{"type":"null"}]},"textileFormation":{"oneOf":[{"type":"string","description":"Short-path input: textile formation (Knitting/Weaving/Non-Woven) that resolved the TX-P003 activity."},{"type":"null","description":"Short-path input: textile formation (Knitting/Weaving/Non-Woven) that resolved the TX-P003 activity."}]},"dyeType":{"oneOf":[{"type":"string"},{"type":"null"}]},"sustainabilityAttribute":{"oneOf":[{"type":"string","description":"Short-path input: sustainability attribute that resolved the P001 activity."},{"type":"null","description":"Short-path input: sustainability attribute that resolved the P001 activity."}]},"materialSubtype":{"oneOf":[{"type":"string"},{"type":"null"}]},"inputFor":{"oneOf":[{"type":"string","description":"Downstream formation that constrains the TX-P002 yarn activity."},{"type":"null","description":"Downstream formation that constrains the TX-P002 yarn activity."}]},"contributor":{"oneOf":[{"type":"string"},{"type":"null"}]},"upstreamProcessId":{"oneOf":[{"type":"string"},{"type":"null"}]},"extraData":{"oneOf":[{"properties":{"processType":{"type":"string"},"activityAttribute":{"type":"string"},"enabledBy":{"type":"string"},"intrinsicCharacteristic":{"type":"string"},"layersCount":{"type":"string"},"substratePURatio":{"type":"string"},"programCertification":{"type":"string"}},"type":"object","description":"Activities-call filter constraints not driven directly by the short-path flow. Carried through from the FE calculate payload and replayed when re-resolving a stage."},{"properties":{"processType":{"type":"string"},"activityAttribute":{"type":"string"},"enabledBy":{"type":"string"},"intrinsicCharacteristic":{"type":"string"},"layersCount":{"type":"string"},"substratePURatio":{"type":"string"},"programCertification":{"type":"string"}},"type":"null","description":"Activities-call filter constraints not driven directly by the short-path flow. Carried through from the FE calculate payload and replayed when re-resolving a stage."}]}},"type":"object","additionalProperties":false},"inventoryData":{"description":"Energy/loss inventory of the resolved activity, captured from the matlibV2 activities call so the calculate request can be rebuilt without re-querying the graph.","properties":{"lossRate":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"residualGWP":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"residualScope3GWP":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"totalElectricity":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"naturalGas":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"diesel":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"coal":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]}},"type":"object","additionalProperties":false},"processData":{"description":"Process boundary metadata of the resolved activity (disaggregation flag and any multi-stage system boundary).","properties":{"disaggregated":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"systemBoundaryStages":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]}},"type":"object","additionalProperties":false},"impactAssessment":{"description":"Static impact values of the resolved activity used by the calculator's Approach 2b path.","properties":{"globalWarming":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"totalPoints":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]}},"type":"object","additionalProperties":false},"selectedFem":{"description":"The FEM assessment selected for a stage's mapped organization, plus the FEM eligibility outcome backfilled after calculation.","properties":{"_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string"},"femYear":{"oneOf":[{"type":"string"},{"type":"null"}]},"eligible":{"oneOf":[{"type":"boolean","description":"FEM eligibility outcome backfilled after calculation: true when the FEM passed eligibility and was applied to this stage, false when it was surfaced from an ineligible facility."},{"type":"null","description":"FEM eligibility outcome backfilled after calculation: true when the FEM passed eligibility and was applied to this stage, false when it was surfaced from an ineligible facility."}]},"countryCode":{"oneOf":[{"type":"string","description":"Country of the facility this FEM belongs to, as a MatLib country reference code. Persisted so the calculate request can resolve a per-stage grid emission factor for a stage that has no country of its own — the facility's geography is the next best proxy for where the stage's electricity was drawn."},{"type":"null","description":"Country of the facility this FEM belongs to, as a MatLib country reference code. Persisted so the calculate request can resolve a per-stage grid emission factor for a stage that has no country of its own — the facility's geography is the next best proxy for where the stage's electricity was drawn."}]},"femIneligibleReasons":{"oneOf":[{"items":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"type":"array","description":"FEM eligibility outcome backfilled after calculation: reason codes for the single ineligible facility mapped to this stage, if any."},{"items":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"type":"null","description":"FEM eligibility outcome backfilled after calculation: reason codes for the single ineligible facility mapped to this stage, if any."}]},"femIneligibleInformation":{"oneOf":[{"items":{"description":"One FEM eligibility gate the selected FEM failed, as reported by the matlib-calculator /fem/eligibility endpoint.","properties":{"gate":{"type":"number","format":"double"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]},"reasonCode":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"reason":{"type":"string"},"detail":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["gate","reason"],"type":"object","additionalProperties":false},"type":"array","description":"Gate-level failure text from the FEM eligibility check (reason and diagnostic detail), saved so the UI and exports can explain why the FEM was not applied. Empty when the FEM is eligible; absent when the stage was resolved by the calculator."},{"items":{"description":"One FEM eligibility gate the selected FEM failed, as reported by the matlib-calculator /fem/eligibility endpoint.","properties":{"gate":{"type":"number","format":"double"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]},"reasonCode":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"reason":{"type":"string"},"detail":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["gate","reason"],"type":"object","additionalProperties":false},"type":"null","description":"Gate-level failure text from the FEM eligibility check (reason and diagnostic detail), saved so the UI and exports can explain why the FEM was not applied. Empty when the FEM is eligible; absent when the stage was resolved by the calculator."}]}},"type":"object","additionalProperties":false},"impactByStage":{"description":"This constituent's impact for the stage, backfilled from the calculator after every calculation. Absent when the calculator returned no result for the stage.","properties":{"stageCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"stageNumber":{"type":"string"},"stageName":{"oneOf":[{"type":"string"},{"type":"null"}]},"tier":{"oneOf":[{"type":"string","enum":["Tier2","Tier3","Tier4"]},{"type":"null","enum":["Tier2","Tier3","Tier4"]}]},"processId":{"oneOf":[{"type":"string","description":"The process the calculator actually ran. On a fromBlendChain stage it can differ from the stage's own processId."},{"type":"null","description":"The process the calculator actually ran. On a fromBlendChain stage it can differ from the stage's own processId."}]},"approach":{"oneOf":[{"type":"string","enum":["1","2a","2b","boundary_zero"]},{"type":"null","enum":["1","2a","2b","boundary_zero"]}]},"gwPerKg":{"oneOf":[{"type":"number","format":"double","description":"Process emission factor (kgCO2e/kg) — a calculation input, not this stage's contribution."},{"type":"null","format":"double","description":"Process emission factor (kgCO2e/kg) — a calculation input, not this stage's contribution."}]},"outputMass":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"phaseGW":{"type":"number","format":"double"},"transport":{"type":"number","format":"double"},"totalGW_kgCO2e":{"type":"number","format":"double","description":"phaseGW + transport: what this stage costs for this constituent."},"fromBlendChain":{"oneOf":[{"type":"boolean","description":"True when the stage was computed once on the blend's shared chain and apportioned to this constituent by composition."},{"type":"null","description":"True when the stage was computed once on the blend's shared chain and apportioned to this constituent by composition."}]}},"required":["phaseGW","stageNumber","totalGW_kgCO2e","transport"],"type":"object","additionalProperties":false},"stageName":{"oneOf":[{"type":"string"},{"type":"null"}]},"activityName":{"oneOf":[{"type":"string","description":"Name of the MatLib activity resolved for this stage. Persisted so exports can label a stage by the activity the user actually resolved, without a per-stage catalog lookup. Absent on documents written before this field existed, and on stages built from a hardcoded process (which has no catalog activity)."},{"type":"null","description":"Name of the MatLib activity resolved for this stage. Persisted so exports can label a stage by the activity the user actually resolved, without a per-stage catalog lookup. Absent on documents written before this field existed, and on stages built from a hardcoded process (which has no catalog activity)."}]},"femProcessSlugs":{"oneOf":[{"items":{"type":"string"},"type":"array","description":"FEM process slugs extracted from facility processes for this stage. Used to filter activities by FEM-reported processes."},{"items":{"type":"string"},"type":"null","description":"FEM process slugs extracted from facility processes for this stage. Used to filter activities by FEM-reported processes."}]}},"required":["countryCode","disaggregated","source","stageId"],"type":"object","additionalProperties":false},"type":"null","description":"Per-stage payload from matlibV2 the resolved process map for this base material.","uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX].stages","typeLabel":"object[] | null"}},"required":["_id","baseMaterialProcesses","composition","name","totalMaterialGlobalWarmingImpact","totalMaterialGlobalWarmingImpactT2","totalMaterialGlobalWarmingImpactT3","totalMaterialGlobalWarmingImpactT4"],"type":"object","additionalProperties":false,"uniqueKey":"baseMaterials.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"baseMaterials.oneOf.0","typeLabel":"object[]"},{"items":{"properties":{"_id":{"type":"string"},"refKey":{"oneOf":[{"type":"string","description":"Composite identity of this ref within the parent material's baseMaterials array. Format: '\u003c_id>:\u003csustainabilityType|default>', with an optional third segment ':\u003cactivityUniqueId>' identifying the P001 activity for this constituent — set by the MatLib V2 worksheet (where the user selects an activity rather than a base material) and by any create request whose P001 stage resolves to an activity. A fourth segment ':\u003cstageId>=\u003cprocessId>|...' is appended only when two refs of one material would otherwise collide but carry different stages, which happens when a blend lists the same base material twice sharing its P001 activity and differing later (the MSI-sync shape); refs that are identical still collide on purpose and are merged by summing composition. Two refs may therefore share an _id. Optional for backward compatibility with legacy docs written before refKey existed (no migration planned)."},{"type":"null","description":"Composite identity of this ref within the parent material's baseMaterials array. Format: '\u003c_id>:\u003csustainabilityType|default>', with an optional third segment ':\u003cactivityUniqueId>' identifying the P001 activity for this constituent — set by the MatLib V2 worksheet (where the user selects an activity rather than a base material) and by any create request whose P001 stage resolves to an activity. A fourth segment ':\u003cstageId>=\u003cprocessId>|...' is appended only when two refs of one material would otherwise collide but carry different stages, which happens when a blend lists the same base material twice sharing its P001 activity and differing later (the MSI-sync shape); refs that are identical still collide on purpose and are merged by summing composition. Two refs may therefore share an _id. Optional for backward compatibility with legacy docs written before refKey existed (no migration planned)."}]},"activityUniqueId":{"oneOf":[{"type":"string","description":"In the flatfile matlib v2 the user is choosing the exactly activityId: the P001 activity uniqueId selected in the Base Material column."},{"type":"null","description":"In the flatfile matlib v2 the user is choosing the exactly activityId: the P001 activity uniqueId selected in the Base Material column."}]},"composition":{"type":"number","format":"double"},"name":{"type":"string"},"sustainability":{"description":"this field is responsible for using the default process","properties":{"isEligible":{"type":"boolean"},"type":{"enum":["Recycled","Organic"],"type":"string"},"processId":{"oneOf":[{"type":"string","description":"Eligible recycled processId from P001"},{"type":"null","description":"Eligible recycled processId from P001"}]}},"required":["isEligible","type"],"type":"object","additionalProperties":false},"manufacturer":{"oneOf":[{"type":"string","description":"Material-level filter: contributor / manufacturer selected for this base material. Constrains the matlibV2 activities resolution (contributor=)."},{"type":"null","description":"Material-level filter: contributor / manufacturer selected for this base material. Constrains the matlibV2 activities resolution (contributor=)."}]},"tradeName":{"oneOf":[{"type":"string","description":"Material-level filter: contributor trade name paired with the selected manufacturer."},{"type":"null","description":"Material-level filter: contributor trade name paired with the selected manufacturer."}]},"country":{"oneOf":[{"type":"string","description":"Material-level filter: country selected for this base material constituent."},{"type":"null","description":"Material-level filter: country selected for this base material constituent."}]},"typeCode":{"oneOf":[{"type":"string","description":"Material-level filter: material type code (e.g. TX, BR) of this base material constituent."},{"type":"null","description":"Material-level filter: material type code (e.g. TX, BR) of this base material constituent."}]},"materialSubtype":{"oneOf":[{"type":"string","description":"Material-level filter: material subtype selected at P001 (the raw-material stage embedded in the material card). Constrains the matlibV2 P001 activity resolution."},{"type":"null","description":"Material-level filter: material subtype selected at P001 (the raw-material stage embedded in the material card). Constrains the matlibV2 P001 activity resolution."}]},"sustainabilityAttribute":{"oneOf":[{"type":"string","description":"Material-level filter: sustainability attribute selected at P001 (per-material select). Sent at the component level in the matlibV2 calculation request."},{"type":"null","description":"Material-level filter: sustainability attribute selected at P001 (per-material select). Sent at the component level in the matlibV2 calculation request."}]},"baseMaterialProcesses":{"items":{"properties":{"_id":{"type":"string"},"name":{"type":"string"},"stageName":{"type":"string"},"lifeCycle":{"type":"string"},"totalLossRate":{"oneOf":[{"type":"number","format":"double","description":"total loss rate per cycle if process is eligible"},{"type":"null","format":"double","description":"total loss rate per cycle if process is eligible"}]},"residualElectricityTotal":{"oneOf":[{"type":"number","format":"double","description":"total residual electricity per cycle if process is eligible"},{"type":"null","format":"double","description":"total residual electricity per cycle if process is eligible"}]},"lossRate":{"oneOf":[{"type":"number","format":"double","description":"process loss rate"},{"type":"null","format":"double","description":"process loss rate"}]},"assessment":{"properties":{"_id":{"type":"string"},"rfi_pid":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentRfiPid\".","enum":["fem2017","fem2018","fem2019","fem2020","fem2021","fem2022","fem2023","fem2024","fem2025","fem2026","fem2027","fslm","brm2019","brm2020","brm2021","brm2022","brm2023","brm2024","brm2025","dct","one2022","ffc"],"type":"string"},"surveyVersion":{"type":"string"},"country":{"type":"string"},"processName":{"type":"string","description":"some examples: yarnspinning, FacilityMaterialProcessTextiles"}},"required":["_id","country","processName","rfi_pid","surveyVersion"],"type":"object","additionalProperties":false},"facility":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"sacId":{"type":"number","format":"double"},"oar_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"demoaccount":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string"},"socialCreditId":{"oneOf":[{"type":"string"},{"type":"null"}]},"taxId":{"oneOf":[{"type":"string"},{"type":"null"}]},"bluesignId":{"oneOf":[{"type":"string"},{"type":"null"}]},"zdhcId":{"oneOf":[{"type":"string"},{"type":"null"}]},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double"}},"required":["totalViolations"],"type":"object","additionalProperties":false},"ffcId":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"facilityType":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]},"sipfacilitymaterialprocesstextiles":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]},"materialproduction_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"rawmaterialprocessing_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"isEligible":{"type":"boolean"},"totalMaterialGlobalWarmingImpact":{"type":"number","format":"double"},"globalWarmingImpact":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string"},"facilityRawText":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","isEligible","lifeCycle","name","stageName","totalMaterialGlobalWarmingImpact"],"type":"object","additionalProperties":false},"type":"array","description":"this field is responsible for using the default process"},"baseMaterialProcessesList":{"oneOf":[{"items":{"properties":{"_id":{"type":"string"},"name":{"type":"string"},"stageName":{"type":"string"},"lifeCycle":{"type":"string"},"totalLossRate":{"oneOf":[{"type":"number","format":"double","description":"total loss rate per cycle if process is eligible"},{"type":"null","format":"double","description":"total loss rate per cycle if process is eligible"}]},"residualElectricityTotal":{"oneOf":[{"type":"number","format":"double","description":"total residual electricity per cycle if process is eligible"},{"type":"null","format":"double","description":"total residual electricity per cycle if process is eligible"}]},"lossRate":{"oneOf":[{"type":"number","format":"double","description":"process loss rate"},{"type":"null","format":"double","description":"process loss rate"}]},"assessment":{"properties":{"_id":{"type":"string"},"rfi_pid":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentRfiPid\".","enum":["fem2017","fem2018","fem2019","fem2020","fem2021","fem2022","fem2023","fem2024","fem2025","fem2026","fem2027","fslm","brm2019","brm2020","brm2021","brm2022","brm2023","brm2024","brm2025","dct","one2022","ffc"],"type":"string"},"surveyVersion":{"type":"string"},"country":{"type":"string"},"processName":{"type":"string","description":"some examples: yarnspinning, FacilityMaterialProcessTextiles"}},"required":["_id","country","processName","rfi_pid","surveyVersion"],"type":"object","additionalProperties":false},"facility":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"sacId":{"type":"number","format":"double"},"oar_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"demoaccount":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string"},"socialCreditId":{"oneOf":[{"type":"string"},{"type":"null"}]},"taxId":{"oneOf":[{"type":"string"},{"type":"null"}]},"bluesignId":{"oneOf":[{"type":"string"},{"type":"null"}]},"zdhcId":{"oneOf":[{"type":"string"},{"type":"null"}]},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double"}},"required":["totalViolations"],"type":"object","additionalProperties":false},"ffcId":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"facilityType":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]},"sipfacilitymaterialprocesstextiles":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]},"materialproduction_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"rawmaterialprocessing_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"isEligible":{"type":"boolean"},"totalMaterialGlobalWarmingImpact":{"type":"number","format":"double"},"globalWarmingImpact":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string"},"facilityRawText":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","isEligible","lifeCycle","name","stageName","totalMaterialGlobalWarmingImpact"],"type":"object","additionalProperties":false},"type":"array","description":"this field is responsible for using all processes"},{"items":{"properties":{"_id":{"type":"string"},"name":{"type":"string"},"stageName":{"type":"string"},"lifeCycle":{"type":"string"},"totalLossRate":{"oneOf":[{"type":"number","format":"double","description":"total loss rate per cycle if process is eligible"},{"type":"null","format":"double","description":"total loss rate per cycle if process is eligible"}]},"residualElectricityTotal":{"oneOf":[{"type":"number","format":"double","description":"total residual electricity per cycle if process is eligible"},{"type":"null","format":"double","description":"total residual electricity per cycle if process is eligible"}]},"lossRate":{"oneOf":[{"type":"number","format":"double","description":"process loss rate"},{"type":"null","format":"double","description":"process loss rate"}]},"assessment":{"properties":{"_id":{"type":"string"},"rfi_pid":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentRfiPid\".","enum":["fem2017","fem2018","fem2019","fem2020","fem2021","fem2022","fem2023","fem2024","fem2025","fem2026","fem2027","fslm","brm2019","brm2020","brm2021","brm2022","brm2023","brm2024","brm2025","dct","one2022","ffc"],"type":"string"},"surveyVersion":{"type":"string"},"country":{"type":"string"},"processName":{"type":"string","description":"some examples: yarnspinning, FacilityMaterialProcessTextiles"}},"required":["_id","country","processName","rfi_pid","surveyVersion"],"type":"object","additionalProperties":false},"facility":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"sacId":{"type":"number","format":"double"},"oar_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"demoaccount":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string"},"socialCreditId":{"oneOf":[{"type":"string"},{"type":"null"}]},"taxId":{"oneOf":[{"type":"string"},{"type":"null"}]},"bluesignId":{"oneOf":[{"type":"string"},{"type":"null"}]},"zdhcId":{"oneOf":[{"type":"string"},{"type":"null"}]},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double"}},"required":["totalViolations"],"type":"object","additionalProperties":false},"ffcId":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"facilityType":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]},"sipfacilitymaterialprocesstextiles":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]},"materialproduction_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"rawmaterialprocessing_normalized_kgco2e":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"isEligible":{"type":"boolean"},"totalMaterialGlobalWarmingImpact":{"type":"number","format":"double"},"globalWarmingImpact":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string"},"facilityRawText":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["_id","isEligible","lifeCycle","name","stageName","totalMaterialGlobalWarmingImpact"],"type":"object","additionalProperties":false},"type":"null","description":"this field is responsible for using all processes"}]},"uniqueCyclesAssessments":{"oneOf":[{"items":{"properties":{"assessmentId":{"type":"string"},"processId":{"type":"string"},"lifeCycle":{"type":"string"},"isEligible":{"type":"boolean"},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"sipfacilitymaterialprocesstextiles":{"type":"string"}},"required":["assessmentId","isEligible","lifeCycle","processId","sipfacilitymaterialprocesstextiles"],"type":"object","additionalProperties":false},"type":"array","description":"Total unique eligible cycles per assessment. P001 is not considered."},{"items":{"properties":{"assessmentId":{"type":"string"},"processId":{"type":"string"},"lifeCycle":{"type":"string"},"isEligible":{"type":"boolean"},"ineligibleReason":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"sipfacilitymaterialprocesstextiles":{"type":"string"}},"required":["assessmentId","isEligible","lifeCycle","processId","sipfacilitymaterialprocesstextiles"],"type":"object","additionalProperties":false},"type":"null","description":"Total unique eligible cycles per assessment. P001 is not considered."}]},"totalMaterialGlobalWarmingImpactT2":{"type":"number","format":"double"},"totalMaterialGlobalWarmingImpactT3":{"type":"number","format":"double"},"totalMaterialGlobalWarmingImpactT4":{"type":"number","format":"double"},"totalMaterialGlobalWarmingImpact":{"type":"number","format":"double"},"shortPath":{"description":"this field is responsible for using the default process","properties":{"coatingLamination":{"description":"Coating/Lamination","enum":["Coating","Lamination","YesUnknown","None"],"type":"string"},"yarnSize":{"oneOf":[{"type":"string","description":"Yarn Size"},{"type":"null","description":"Yarn Size"}]},"textileFormation":{"enum":["Knitting","Weaving","Non-Woven"],"type":"string"},"autoFromShortPath":{"oneOf":[{"type":"boolean","description":"True when this base material ref was appended by the short-path coating logic; identifies the auto BR row for subsequent swap/remove operations."},{"type":"null","description":"True when this base material ref was appended by the short-path coating logic; identifies the auto BR row for subsequent swap/remove operations."}]}},"type":"object","additionalProperties":false},"v2Calculations":{"description":"Calculation results produced by the matlibV2 calculator (POST /api/calculate). Carried at the material level on PicMaterialLibraryEntity and per-base-material on PicBaseMaterialRef so each scope's totals can be persisted alongside the v1 fields without disturbing them.","properties":{"totalMaterialGlobalWarmingImpactT2":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"totalMaterialGlobalWarmingImpactT3":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"totalMaterialGlobalWarmingImpactT4":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"totalMaterialGlobalWarmingImpact":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"impactByStage":{"oneOf":[{"items":{"description":"One material-level stage in the matlibV2 impactByStage rollup: component per-stage phaseGW/transport summed across all components plus the shared blend chain.","properties":{"stageNumber":{"type":"string"},"stageName":{"type":"string"},"tier":{"type":"string","enum":["Tier2","Tier3","Tier4"]},"phaseGW":{"type":"number","format":"double"},"transport":{"type":"number","format":"double"},"phaseGwPercentage":{"type":"number","format":"double"}},"required":["phaseGW","phaseGwPercentage","stageName","stageNumber","tier","transport"],"type":"object","additionalProperties":false},"type":"array","description":"Material-level per-stage impact rollup from the matlibV2 calculator, ordered by stageNumber."},{"items":{"description":"One material-level stage in the matlibV2 impactByStage rollup: component per-stage phaseGW/transport summed across all components plus the shared blend chain.","properties":{"stageNumber":{"type":"string"},"stageName":{"type":"string"},"tier":{"type":"string","enum":["Tier2","Tier3","Tier4"]},"phaseGW":{"type":"number","format":"double"},"transport":{"type":"number","format":"double"},"phaseGwPercentage":{"type":"number","format":"double"}},"required":["phaseGW","phaseGwPercentage","stageName","stageNumber","tier","transport"],"type":"object","additionalProperties":false},"type":"null","description":"Material-level per-stage impact rollup from the matlibV2 calculator, ordered by stageNumber."}]}},"type":"object","additionalProperties":false},"organization":{"properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"hasWorldlyAccount":{"type":"boolean"},"account":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"sacId":{"type":"number","format":"double"},"oar_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"demoaccount":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string"},"socialCreditId":{"oneOf":[{"type":"string"},{"type":"null"}]},"taxId":{"oneOf":[{"type":"string"},{"type":"null"}]},"bluesignId":{"oneOf":[{"type":"string"},{"type":"null"}]},"zdhcId":{"oneOf":[{"type":"string"},{"type":"null"}]},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double"}},"required":["totalViolations"],"type":"object","additionalProperties":false},"ffcId":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false}},"required":["_id","hasWorldlyAccount","name"],"type":"object","additionalProperties":false},"femIneligibleReasons":{"oneOf":[{"type":"string","description":"FEM eligibility outcome backfilled after calculation: comma-joined reason codes for the single ineligible facility mapped to this stage, if any."},{"type":"null","description":"FEM eligibility outcome backfilled after calculation: comma-joined reason codes for the single ineligible facility mapped to this stage, if any."}]},"stages":{"oneOf":[{"items":{"description":"Per-stage entry persisted on a PicBaseMaterialRef. Carries the minimal per-stage selection needed to rebuild the matlibV2 calculate request (stageId/processId/source/countryCode/organization), the activities-call filter constraints that resolved the stage (activitiesFilter), and the selected FEM assessment plus its eligibility outcome backfilled after calculation (selectedFem).","properties":{"stageId":{"type":"string"},"processId":{"oneOf":[{"type":"string"},{"type":"null"}]},"processOriginal":{"oneOf":[{"type":"string","description":"Process name when there is no Process match for a lifecycle stage"},{"type":"null","description":"Process name when there is no Process match for a lifecycle stage"}]},"originalProcessId":{"oneOf":[{"type":"string","description":"The processId this stage resolved to before it was replaced. Set alongside stageStatus when a stage is collapsed onto the AA process, so the selection the row actually made stays recoverable for display and support."},{"type":"null","description":"The processId this stage resolved to before it was replaced. Set alongside stageStatus when a stage is collapsed onto the AA process, so the selection the row actually made stays recoverable for display and support."}]},"absorbedByProcessId":{"oneOf":[{"type":"string","description":"The processId that reports this stage's impact instead — the conflation group's primary-stage process. Names the counterpart to originalProcessId: what replaced the stage's own contribution, and where its impact actually landed."},{"type":"null","description":"The processId that reports this stage's impact instead — the conflation group's primary-stage process. Names the counterpart to originalProcessId: what replaced the stage's own contribution, and where its impact actually landed."}]},"stageStatus":{"description":"Set only when the stage carries no process of its own. Absent on a normally resolved stage.","enum":["Absorbed"],"type":"string"},"countryCode":{"type":"string","description":"Country code from the matLib_countries reference table — ISO-2, or the pseudo-codes Default/Europe. Empty when the source value matched no table row; that is a supported state, and buildCountries() then omits the stage so the calculator applies its own default grid rather than a key no country-grids.json entry carries."},"countryName":{"oneOf":[{"type":"string","description":"Display name for the stage's country. The table's canonical name when countryCode resolved (IN -> \"India\"), otherwise the raw source text that could not be resolved — a MatLib activity's countryOfOrigin of \"Global\", or an ambiguous name such as \"Generic\" which three table rows share — so the geography the source stated survives even when no code could be persisted. Optional only because documents written before the code/name split carry neither; every write path sets it."},{"type":"null","description":"Display name for the stage's country. The table's canonical name when countryCode resolved (IN -> \"India\"), otherwise the raw source text that could not be resolved — a MatLib activity's countryOfOrigin of \"Global\", or an ambiguous name such as \"Generic\" which three table rows share — so the geography the source stated survives even when no code could be persisted. Optional only because documents written before the code/name split carry neither; every write path sets it."}]},"source":{"type":"string"},"disaggregated":{"type":"boolean"},"organizationRawText":{"oneOf":[{"type":"string","description":"The facility cell's raw value, kept when it named an organization that could not be resolved. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the stage persisting with no facility at all and no record of why. Mutually exclusive with `organization` in practice: a resolved facility sets the ref, an unresolved one sets this."},{"type":"null","description":"The facility cell's raw value, kept when it named an organization that could not be resolved. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the stage persisting with no facility at all and no record of why. Mutually exclusive with `organization` in practice: a resolved facility sets the ref, an unresolved one sets this."}]},"organization":{"properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"hasWorldlyAccount":{"type":"boolean"},"account":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"sacId":{"type":"number","format":"double"},"oar_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"demoaccount":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string"},"socialCreditId":{"oneOf":[{"type":"string"},{"type":"null"}]},"taxId":{"oneOf":[{"type":"string"},{"type":"null"}]},"bluesignId":{"oneOf":[{"type":"string"},{"type":"null"}]},"zdhcId":{"oneOf":[{"type":"string"},{"type":"null"}]},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double"}},"required":["totalViolations"],"type":"object","additionalProperties":false},"ffcId":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false}},"required":["_id","hasWorldlyAccount","name"],"type":"object","additionalProperties":false},"materialSubtype":{"oneOf":[{"type":"string"},{"type":"null"}]},"activityUniqueId":{"oneOf":[{"type":"string","description":"uniqueId of the MatLib activity resolved for this stage. Read off the P001 stage to identify the constituent, so a blend listing the same base material more than once with different P001 activities keeps them as distinct refs instead of merging them into one."},{"type":"null","description":"uniqueId of the MatLib activity resolved for this stage. Read off the P001 stage to identify the constituent, so a blend listing the same base material more than once with different P001 activities keeps them as distinct refs instead of merging them into one."}]},"activitiesFilter":{"description":"The matlibV2 activities-call filter constraints used to resolve this stage's process.","properties":{"activityType":{"oneOf":[{"type":"string","description":"e.g. the textile-formation value passed as activityType when re-resolving TX-P003."},{"type":"null","description":"e.g. the textile-formation value passed as activityType when re-resolving TX-P003."}]},"yarnSize":{"oneOf":[{"type":"string","description":"Short-path input: yarn size that resolved the TX-P002 activity."},{"type":"null","description":"Short-path input: yarn size that resolved the TX-P002 activity."}]},"manufacturer":{"oneOf":[{"type":"string"},{"type":"null"}]},"textileFormation":{"oneOf":[{"type":"string","description":"Short-path input: textile formation (Knitting/Weaving/Non-Woven) that resolved the TX-P003 activity."},{"type":"null","description":"Short-path input: textile formation (Knitting/Weaving/Non-Woven) that resolved the TX-P003 activity."}]},"dyeType":{"oneOf":[{"type":"string"},{"type":"null"}]},"sustainabilityAttribute":{"oneOf":[{"type":"string","description":"Short-path input: sustainability attribute that resolved the P001 activity."},{"type":"null","description":"Short-path input: sustainability attribute that resolved the P001 activity."}]},"materialSubtype":{"oneOf":[{"type":"string"},{"type":"null"}]},"inputFor":{"oneOf":[{"type":"string","description":"Downstream formation that constrains the TX-P002 yarn activity."},{"type":"null","description":"Downstream formation that constrains the TX-P002 yarn activity."}]},"contributor":{"oneOf":[{"type":"string"},{"type":"null"}]},"upstreamProcessId":{"oneOf":[{"type":"string"},{"type":"null"}]},"extraData":{"oneOf":[{"properties":{"processType":{"type":"string"},"activityAttribute":{"type":"string"},"enabledBy":{"type":"string"},"intrinsicCharacteristic":{"type":"string"},"layersCount":{"type":"string"},"substratePURatio":{"type":"string"},"programCertification":{"type":"string"}},"type":"object","description":"Activities-call filter constraints not driven directly by the short-path flow. Carried through from the FE calculate payload and replayed when re-resolving a stage."},{"properties":{"processType":{"type":"string"},"activityAttribute":{"type":"string"},"enabledBy":{"type":"string"},"intrinsicCharacteristic":{"type":"string"},"layersCount":{"type":"string"},"substratePURatio":{"type":"string"},"programCertification":{"type":"string"}},"type":"null","description":"Activities-call filter constraints not driven directly by the short-path flow. Carried through from the FE calculate payload and replayed when re-resolving a stage."}]}},"type":"object","additionalProperties":false},"inventoryData":{"description":"Energy/loss inventory of the resolved activity, captured from the matlibV2 activities call so the calculate request can be rebuilt without re-querying the graph.","properties":{"lossRate":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"residualGWP":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"residualScope3GWP":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"totalElectricity":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"naturalGas":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"diesel":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"coal":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]}},"type":"object","additionalProperties":false},"processData":{"description":"Process boundary metadata of the resolved activity (disaggregation flag and any multi-stage system boundary).","properties":{"disaggregated":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"systemBoundaryStages":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]}},"type":"object","additionalProperties":false},"impactAssessment":{"description":"Static impact values of the resolved activity used by the calculator's Approach 2b path.","properties":{"globalWarming":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"totalPoints":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]}},"type":"object","additionalProperties":false},"selectedFem":{"description":"The FEM assessment selected for a stage's mapped organization, plus the FEM eligibility outcome backfilled after calculation.","properties":{"_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string"},"femYear":{"oneOf":[{"type":"string"},{"type":"null"}]},"eligible":{"oneOf":[{"type":"boolean","description":"FEM eligibility outcome backfilled after calculation: true when the FEM passed eligibility and was applied to this stage, false when it was surfaced from an ineligible facility."},{"type":"null","description":"FEM eligibility outcome backfilled after calculation: true when the FEM passed eligibility and was applied to this stage, false when it was surfaced from an ineligible facility."}]},"countryCode":{"oneOf":[{"type":"string","description":"Country of the facility this FEM belongs to, as a MatLib country reference code. Persisted so the calculate request can resolve a per-stage grid emission factor for a stage that has no country of its own — the facility's geography is the next best proxy for where the stage's electricity was drawn."},{"type":"null","description":"Country of the facility this FEM belongs to, as a MatLib country reference code. Persisted so the calculate request can resolve a per-stage grid emission factor for a stage that has no country of its own — the facility's geography is the next best proxy for where the stage's electricity was drawn."}]},"femIneligibleReasons":{"oneOf":[{"items":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"type":"array","description":"FEM eligibility outcome backfilled after calculation: reason codes for the single ineligible facility mapped to this stage, if any."},{"items":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"type":"null","description":"FEM eligibility outcome backfilled after calculation: reason codes for the single ineligible facility mapped to this stage, if any."}]},"femIneligibleInformation":{"oneOf":[{"items":{"description":"One FEM eligibility gate the selected FEM failed, as reported by the matlib-calculator /fem/eligibility endpoint.","properties":{"gate":{"type":"number","format":"double"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]},"reasonCode":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"reason":{"type":"string"},"detail":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["gate","reason"],"type":"object","additionalProperties":false},"type":"array","description":"Gate-level failure text from the FEM eligibility check (reason and diagnostic detail), saved so the UI and exports can explain why the FEM was not applied. Empty when the FEM is eligible; absent when the stage was resolved by the calculator."},{"items":{"description":"One FEM eligibility gate the selected FEM failed, as reported by the matlib-calculator /fem/eligibility endpoint.","properties":{"gate":{"type":"number","format":"double"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]},"reasonCode":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"reason":{"type":"string"},"detail":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["gate","reason"],"type":"object","additionalProperties":false},"type":"null","description":"Gate-level failure text from the FEM eligibility check (reason and diagnostic detail), saved so the UI and exports can explain why the FEM was not applied. Empty when the FEM is eligible; absent when the stage was resolved by the calculator."}]}},"type":"object","additionalProperties":false},"impactByStage":{"description":"This constituent's impact for the stage, backfilled from the calculator after every calculation. Absent when the calculator returned no result for the stage.","properties":{"stageCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"stageNumber":{"type":"string"},"stageName":{"oneOf":[{"type":"string"},{"type":"null"}]},"tier":{"oneOf":[{"type":"string","enum":["Tier2","Tier3","Tier4"]},{"type":"null","enum":["Tier2","Tier3","Tier4"]}]},"processId":{"oneOf":[{"type":"string","description":"The process the calculator actually ran. On a fromBlendChain stage it can differ from the stage's own processId."},{"type":"null","description":"The process the calculator actually ran. On a fromBlendChain stage it can differ from the stage's own processId."}]},"approach":{"oneOf":[{"type":"string","enum":["1","2a","2b","boundary_zero"]},{"type":"null","enum":["1","2a","2b","boundary_zero"]}]},"gwPerKg":{"oneOf":[{"type":"number","format":"double","description":"Process emission factor (kgCO2e/kg) — a calculation input, not this stage's contribution."},{"type":"null","format":"double","description":"Process emission factor (kgCO2e/kg) — a calculation input, not this stage's contribution."}]},"outputMass":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"phaseGW":{"type":"number","format":"double"},"transport":{"type":"number","format":"double"},"totalGW_kgCO2e":{"type":"number","format":"double","description":"phaseGW + transport: what this stage costs for this constituent."},"fromBlendChain":{"oneOf":[{"type":"boolean","description":"True when the stage was computed once on the blend's shared chain and apportioned to this constituent by composition."},{"type":"null","description":"True when the stage was computed once on the blend's shared chain and apportioned to this constituent by composition."}]}},"required":["phaseGW","stageNumber","totalGW_kgCO2e","transport"],"type":"object","additionalProperties":false},"stageName":{"oneOf":[{"type":"string"},{"type":"null"}]},"activityName":{"oneOf":[{"type":"string","description":"Name of the MatLib activity resolved for this stage. Persisted so exports can label a stage by the activity the user actually resolved, without a per-stage catalog lookup. Absent on documents written before this field existed, and on stages built from a hardcoded process (which has no catalog activity)."},{"type":"null","description":"Name of the MatLib activity resolved for this stage. Persisted so exports can label a stage by the activity the user actually resolved, without a per-stage catalog lookup. Absent on documents written before this field existed, and on stages built from a hardcoded process (which has no catalog activity)."}]},"femProcessSlugs":{"oneOf":[{"items":{"type":"string"},"type":"array","description":"FEM process slugs extracted from facility processes for this stage. Used to filter activities by FEM-reported processes."},{"items":{"type":"string"},"type":"null","description":"FEM process slugs extracted from facility processes for this stage. Used to filter activities by FEM-reported processes."}]}},"required":["countryCode","disaggregated","source","stageId"],"type":"object","additionalProperties":false},"type":"array","description":"Per-stage payload from matlibV2 the resolved process map for this base material."},{"items":{"description":"Per-stage entry persisted on a PicBaseMaterialRef. Carries the minimal per-stage selection needed to rebuild the matlibV2 calculate request (stageId/processId/source/countryCode/organization), the activities-call filter constraints that resolved the stage (activitiesFilter), and the selected FEM assessment plus its eligibility outcome backfilled after calculation (selectedFem).","properties":{"stageId":{"type":"string"},"processId":{"oneOf":[{"type":"string"},{"type":"null"}]},"processOriginal":{"oneOf":[{"type":"string","description":"Process name when there is no Process match for a lifecycle stage"},{"type":"null","description":"Process name when there is no Process match for a lifecycle stage"}]},"originalProcessId":{"oneOf":[{"type":"string","description":"The processId this stage resolved to before it was replaced. Set alongside stageStatus when a stage is collapsed onto the AA process, so the selection the row actually made stays recoverable for display and support."},{"type":"null","description":"The processId this stage resolved to before it was replaced. Set alongside stageStatus when a stage is collapsed onto the AA process, so the selection the row actually made stays recoverable for display and support."}]},"absorbedByProcessId":{"oneOf":[{"type":"string","description":"The processId that reports this stage's impact instead — the conflation group's primary-stage process. Names the counterpart to originalProcessId: what replaced the stage's own contribution, and where its impact actually landed."},{"type":"null","description":"The processId that reports this stage's impact instead — the conflation group's primary-stage process. Names the counterpart to originalProcessId: what replaced the stage's own contribution, and where its impact actually landed."}]},"stageStatus":{"description":"Set only when the stage carries no process of its own. Absent on a normally resolved stage.","enum":["Absorbed"],"type":"string"},"countryCode":{"type":"string","description":"Country code from the matLib_countries reference table — ISO-2, or the pseudo-codes Default/Europe. Empty when the source value matched no table row; that is a supported state, and buildCountries() then omits the stage so the calculator applies its own default grid rather than a key no country-grids.json entry carries."},"countryName":{"oneOf":[{"type":"string","description":"Display name for the stage's country. The table's canonical name when countryCode resolved (IN -> \"India\"), otherwise the raw source text that could not be resolved — a MatLib activity's countryOfOrigin of \"Global\", or an ambiguous name such as \"Generic\" which three table rows share — so the geography the source stated survives even when no code could be persisted. Optional only because documents written before the code/name split carry neither; every write path sets it."},{"type":"null","description":"Display name for the stage's country. The table's canonical name when countryCode resolved (IN -> \"India\"), otherwise the raw source text that could not be resolved — a MatLib activity's countryOfOrigin of \"Global\", or an ambiguous name such as \"Generic\" which three table rows share — so the geography the source stated survives even when no code could be persisted. Optional only because documents written before the code/name split carry neither; every write path sets it."}]},"source":{"type":"string"},"disaggregated":{"type":"boolean"},"organizationRawText":{"oneOf":[{"type":"string","description":"The facility cell's raw value, kept when it named an organization that could not be resolved. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the stage persisting with no facility at all and no record of why. Mutually exclusive with `organization` in practice: a resolved facility sets the ref, an unresolved one sets this."},{"type":"null","description":"The facility cell's raw value, kept when it named an organization that could not be resolved. Set instead of `organization` so the selection the row actually made survives an unresolvable id, rather than the stage persisting with no facility at all and no record of why. Mutually exclusive with `organization` in practice: a resolved facility sets the ref, an unresolved one sets this."}]},"organization":{"properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"oneOf":[{"type":"string"},{"type":"null"}]},"hasWorldlyAccount":{"type":"boolean"},"account":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountRef\".","properties":{"_id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"sacId":{"type":"number","format":"double"},"oar_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"demoaccount":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"vbType":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"accountVbType\".","enum":["None","2nd Party","3rd Party"],"type":"string"},"socialCreditId":{"oneOf":[{"type":"string"},{"type":"null"}]},"taxId":{"oneOf":[{"type":"string"},{"type":"null"}]},"bluesignId":{"oneOf":[{"type":"string"},{"type":"null"}]},"zdhcId":{"oneOf":[{"type":"string"},{"type":"null"}]},"ipeViolation":{"properties":{"totalViolations":{"type":"number","format":"double"}},"required":["totalViolations"],"type":"object","additionalProperties":false},"ffcId":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"approvalStatus":{"enum":["Approved","Declined","New"],"type":"string"}},"required":["_id","country","name","sacId"],"type":"object","additionalProperties":false}},"required":["_id","hasWorldlyAccount","name"],"type":"object","additionalProperties":false},"materialSubtype":{"oneOf":[{"type":"string"},{"type":"null"}]},"activityUniqueId":{"oneOf":[{"type":"string","description":"uniqueId of the MatLib activity resolved for this stage. Read off the P001 stage to identify the constituent, so a blend listing the same base material more than once with different P001 activities keeps them as distinct refs instead of merging them into one."},{"type":"null","description":"uniqueId of the MatLib activity resolved for this stage. Read off the P001 stage to identify the constituent, so a blend listing the same base material more than once with different P001 activities keeps them as distinct refs instead of merging them into one."}]},"activitiesFilter":{"description":"The matlibV2 activities-call filter constraints used to resolve this stage's process.","properties":{"activityType":{"oneOf":[{"type":"string","description":"e.g. the textile-formation value passed as activityType when re-resolving TX-P003."},{"type":"null","description":"e.g. the textile-formation value passed as activityType when re-resolving TX-P003."}]},"yarnSize":{"oneOf":[{"type":"string","description":"Short-path input: yarn size that resolved the TX-P002 activity."},{"type":"null","description":"Short-path input: yarn size that resolved the TX-P002 activity."}]},"manufacturer":{"oneOf":[{"type":"string"},{"type":"null"}]},"textileFormation":{"oneOf":[{"type":"string","description":"Short-path input: textile formation (Knitting/Weaving/Non-Woven) that resolved the TX-P003 activity."},{"type":"null","description":"Short-path input: textile formation (Knitting/Weaving/Non-Woven) that resolved the TX-P003 activity."}]},"dyeType":{"oneOf":[{"type":"string"},{"type":"null"}]},"sustainabilityAttribute":{"oneOf":[{"type":"string","description":"Short-path input: sustainability attribute that resolved the P001 activity."},{"type":"null","description":"Short-path input: sustainability attribute that resolved the P001 activity."}]},"materialSubtype":{"oneOf":[{"type":"string"},{"type":"null"}]},"inputFor":{"oneOf":[{"type":"string","description":"Downstream formation that constrains the TX-P002 yarn activity."},{"type":"null","description":"Downstream formation that constrains the TX-P002 yarn activity."}]},"contributor":{"oneOf":[{"type":"string"},{"type":"null"}]},"upstreamProcessId":{"oneOf":[{"type":"string"},{"type":"null"}]},"extraData":{"oneOf":[{"properties":{"processType":{"type":"string"},"activityAttribute":{"type":"string"},"enabledBy":{"type":"string"},"intrinsicCharacteristic":{"type":"string"},"layersCount":{"type":"string"},"substratePURatio":{"type":"string"},"programCertification":{"type":"string"}},"type":"object","description":"Activities-call filter constraints not driven directly by the short-path flow. Carried through from the FE calculate payload and replayed when re-resolving a stage."},{"properties":{"processType":{"type":"string"},"activityAttribute":{"type":"string"},"enabledBy":{"type":"string"},"intrinsicCharacteristic":{"type":"string"},"layersCount":{"type":"string"},"substratePURatio":{"type":"string"},"programCertification":{"type":"string"}},"type":"null","description":"Activities-call filter constraints not driven directly by the short-path flow. Carried through from the FE calculate payload and replayed when re-resolving a stage."}]}},"type":"object","additionalProperties":false},"inventoryData":{"description":"Energy/loss inventory of the resolved activity, captured from the matlibV2 activities call so the calculate request can be rebuilt without re-querying the graph.","properties":{"lossRate":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"residualGWP":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"residualScope3GWP":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"totalElectricity":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"naturalGas":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"diesel":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"coal":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]}},"type":"object","additionalProperties":false},"processData":{"description":"Process boundary metadata of the resolved activity (disaggregation flag and any multi-stage system boundary).","properties":{"disaggregated":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"systemBoundaryStages":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"items":{"type":"string"},"type":"null"}]}},"type":"object","additionalProperties":false},"impactAssessment":{"description":"Static impact values of the resolved activity used by the calculator's Approach 2b path.","properties":{"globalWarming":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"totalPoints":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]}},"type":"object","additionalProperties":false},"selectedFem":{"description":"The FEM assessment selected for a stage's mapped organization, plus the FEM eligibility outcome backfilled after calculation.","properties":{"_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"femStatus":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"assessmentStatus\".","enum":["NS","ASI","ASC","VRP","VRQ","VRE","VRC","VRD","VRF","VRI","ASD"],"type":"string"},"femYear":{"oneOf":[{"type":"string"},{"type":"null"}]},"eligible":{"oneOf":[{"type":"boolean","description":"FEM eligibility outcome backfilled after calculation: true when the FEM passed eligibility and was applied to this stage, false when it was surfaced from an ineligible facility."},{"type":"null","description":"FEM eligibility outcome backfilled after calculation: true when the FEM passed eligibility and was applied to this stage, false when it was surfaced from an ineligible facility."}]},"countryCode":{"oneOf":[{"type":"string","description":"Country of the facility this FEM belongs to, as a MatLib country reference code. Persisted so the calculate request can resolve a per-stage grid emission factor for a stage that has no country of its own — the facility's geography is the next best proxy for where the stage's electricity was drawn."},{"type":"null","description":"Country of the facility this FEM belongs to, as a MatLib country reference code. Persisted so the calculate request can resolve a per-stage grid emission factor for a stage that has no country of its own — the facility's geography is the next best proxy for where the stage's electricity was drawn."}]},"femIneligibleReasons":{"oneOf":[{"items":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"type":"array","description":"FEM eligibility outcome backfilled after calculation: reason codes for the single ineligible facility mapped to this stage, if any."},{"items":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"type":"null","description":"FEM eligibility outcome backfilled after calculation: reason codes for the single ineligible facility mapped to this stage, if any."}]},"femIneligibleInformation":{"oneOf":[{"items":{"description":"One FEM eligibility gate the selected FEM failed, as reported by the matlib-calculator /fem/eligibility endpoint.","properties":{"gate":{"type":"number","format":"double"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]},"reasonCode":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"reason":{"type":"string"},"detail":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["gate","reason"],"type":"object","additionalProperties":false},"type":"array","description":"Gate-level failure text from the FEM eligibility check (reason and diagnostic detail), saved so the UI and exports can explain why the FEM was not applied. Empty when the FEM is eligible; absent when the stage was resolved by the calculator."},{"items":{"description":"One FEM eligibility gate the selected FEM failed, as reported by the matlib-calculator /fem/eligibility endpoint.","properties":{"gate":{"type":"number","format":"double"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]},"reasonCode":{"enum":["Account not active","Fem not shared","Invalid Fem Module","Facility type not supported","Missing sipfacilitymaterialprocesstextiles","Missing Rawmaterialprocessing_normalized_kgco2e","Missing Materialproduction_normalized_kgco2e","Invalid sipfacilitymaterialprocesstextiles","Facility should be posted","Missing Rawmaterialprocessing_normalized_kgco2 or Materialproduction_normalized_kgco2e","Insufficient production volume","Energy tracking not enabled","Zero active GHG","Supplier not provided"],"type":"string"},"reason":{"type":"string"},"detail":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["gate","reason"],"type":"object","additionalProperties":false},"type":"null","description":"Gate-level failure text from the FEM eligibility check (reason and diagnostic detail), saved so the UI and exports can explain why the FEM was not applied. Empty when the FEM is eligible; absent when the stage was resolved by the calculator."}]}},"type":"object","additionalProperties":false},"impactByStage":{"description":"This constituent's impact for the stage, backfilled from the calculator after every calculation. Absent when the calculator returned no result for the stage.","properties":{"stageCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"stageNumber":{"type":"string"},"stageName":{"oneOf":[{"type":"string"},{"type":"null"}]},"tier":{"oneOf":[{"type":"string","enum":["Tier2","Tier3","Tier4"]},{"type":"null","enum":["Tier2","Tier3","Tier4"]}]},"processId":{"oneOf":[{"type":"string","description":"The process the calculator actually ran. On a fromBlendChain stage it can differ from the stage's own processId."},{"type":"null","description":"The process the calculator actually ran. On a fromBlendChain stage it can differ from the stage's own processId."}]},"approach":{"oneOf":[{"type":"string","enum":["1","2a","2b","boundary_zero"]},{"type":"null","enum":["1","2a","2b","boundary_zero"]}]},"gwPerKg":{"oneOf":[{"type":"number","format":"double","description":"Process emission factor (kgCO2e/kg) — a calculation input, not this stage's contribution."},{"type":"null","format":"double","description":"Process emission factor (kgCO2e/kg) — a calculation input, not this stage's contribution."}]},"outputMass":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"phaseGW":{"type":"number","format":"double"},"transport":{"type":"number","format":"double"},"totalGW_kgCO2e":{"type":"number","format":"double","description":"phaseGW + transport: what this stage costs for this constituent."},"fromBlendChain":{"oneOf":[{"type":"boolean","description":"True when the stage was computed once on the blend's shared chain and apportioned to this constituent by composition."},{"type":"null","description":"True when the stage was computed once on the blend's shared chain and apportioned to this constituent by composition."}]}},"required":["phaseGW","stageNumber","totalGW_kgCO2e","transport"],"type":"object","additionalProperties":false},"stageName":{"oneOf":[{"type":"string"},{"type":"null"}]},"activityName":{"oneOf":[{"type":"string","description":"Name of the MatLib activity resolved for this stage. Persisted so exports can label a stage by the activity the user actually resolved, without a per-stage catalog lookup. Absent on documents written before this field existed, and on stages built from a hardcoded process (which has no catalog activity)."},{"type":"null","description":"Name of the MatLib activity resolved for this stage. Persisted so exports can label a stage by the activity the user actually resolved, without a per-stage catalog lookup. Absent on documents written before this field existed, and on stages built from a hardcoded process (which has no catalog activity)."}]},"femProcessSlugs":{"oneOf":[{"items":{"type":"string"},"type":"array","description":"FEM process slugs extracted from facility processes for this stage. Used to filter activities by FEM-reported processes."},{"items":{"type":"string"},"type":"null","description":"FEM process slugs extracted from facility processes for this stage. Used to filter activities by FEM-reported processes."}]}},"required":["countryCode","disaggregated","source","stageId"],"type":"object","additionalProperties":false},"type":"null","description":"Per-stage payload from matlibV2 the resolved process map for this base material."}]}},"required":["_id","baseMaterialProcesses","composition","name","totalMaterialGlobalWarmingImpact","totalMaterialGlobalWarmingImpactT2","totalMaterialGlobalWarmingImpactT3","totalMaterialGlobalWarmingImpactT4"],"type":"object","additionalProperties":false},"type":"null","uniqueKey":"baseMaterials.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseMaterials","typeLabel":"object[] | null"},"modifiedOn":{"oneOf":[{"type":"number","format":"double","uniqueKey":"modifiedOn.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"modifiedOn.oneOf.1","typeLabel":"null"}],"uniqueKey":"modifiedOn","typeLabel":"number\u003cdouble> | null"},"deleted":{"oneOf":[{"type":"boolean","uniqueKey":"deleted.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"deleted.oneOf.1","typeLabel":"null"}],"uniqueKey":"deleted","typeLabel":"boolean | null"},"deletedBy":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"userRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"deletedBy._id","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"deletedBy.email","typeLabel":"string"},"firstname":{"oneOf":[{"type":"string","uniqueKey":"deletedBy.firstname.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"deletedBy.firstname.oneOf.1","typeLabel":"null"}],"uniqueKey":"deletedBy.firstname","typeLabel":"string | null"},"lastname":{"oneOf":[{"type":"string","uniqueKey":"deletedBy.lastname.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"deletedBy.lastname.oneOf.1","typeLabel":"null"}],"uniqueKey":"deletedBy.lastname","typeLabel":"string | null"}},"required":["_id","email"],"type":"object","additionalProperties":false,"uniqueKey":"deletedBy","typeLabel":"object"},"modifiedBy":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"userRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"modifiedBy._id","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"modifiedBy.email","typeLabel":"string"},"firstname":{"oneOf":[{"type":"string","uniqueKey":"modifiedBy.firstname.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"modifiedBy.firstname.oneOf.1","typeLabel":"null"}],"uniqueKey":"modifiedBy.firstname","typeLabel":"string | null"},"lastname":{"oneOf":[{"type":"string","uniqueKey":"modifiedBy.lastname.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"modifiedBy.lastname.oneOf.1","typeLabel":"null"}],"uniqueKey":"modifiedBy.lastname","typeLabel":"string | null"}},"required":["_id","email"],"type":"object","additionalProperties":false,"uniqueKey":"modifiedBy","typeLabel":"object"},"createdBy":{"description":"This interface was referenced by `Exports`'s JSON-Schema via the `definition` \"userRef\".","properties":{"_id":{"type":"string","isRequired":true,"uniqueKey":"createdBy._id","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"createdBy.email","typeLabel":"string"},"firstname":{"oneOf":[{"type":"string","uniqueKey":"createdBy.firstname.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"createdBy.firstname.oneOf.1","typeLabel":"null"}],"uniqueKey":"createdBy.firstname","typeLabel":"string | null"},"lastname":{"oneOf":[{"type":"string","uniqueKey":"createdBy.lastname.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"createdBy.lastname.oneOf.1","typeLabel":"null"}],"uniqueKey":"createdBy.lastname","typeLabel":"string | null"}},"required":["_id","email"],"type":"object","additionalProperties":false,"uniqueKey":"createdBy","typeLabel":"object"},"v2Calculations":{"description":"Calculation results produced by the matlibV2 calculator (POST /api/calculate). Carried at the material level on PicMaterialLibraryEntity and per-base-material on PicBaseMaterialRef so each scope's totals can be persisted alongside the v1 fields without disturbing them.","properties":{"totalMaterialGlobalWarmingImpactT2":{"oneOf":[{"type":"number","format":"double","uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpactT2.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpactT2.oneOf.1","typeLabel":"null"}],"uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpactT2","typeLabel":"number\u003cdouble> | null"},"totalMaterialGlobalWarmingImpactT3":{"oneOf":[{"type":"number","format":"double","uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpactT3.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpactT3.oneOf.1","typeLabel":"null"}],"uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpactT3","typeLabel":"number\u003cdouble> | null"},"totalMaterialGlobalWarmingImpactT4":{"oneOf":[{"type":"number","format":"double","uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpactT4.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpactT4.oneOf.1","typeLabel":"null"}],"uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpactT4","typeLabel":"number\u003cdouble> | null"},"totalMaterialGlobalWarmingImpact":{"oneOf":[{"type":"number","format":"double","uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpact.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpact.oneOf.1","typeLabel":"null"}],"uniqueKey":"v2Calculations.totalMaterialGlobalWarmingImpact","typeLabel":"number\u003cdouble> | null"},"impactByStage":{"oneOf":[{"items":{"description":"One material-level stage in the matlibV2 impactByStage rollup: component per-stage phaseGW/transport summed across all components plus the shared blend chain.","properties":{"stageNumber":{"type":"string","isRequired":true,"uniqueKey":"v2Calculations.impactByStage.oneOf.0.items.[INDEX].stageNumber","typeLabel":"string"},"stageName":{"type":"string","isRequired":true,"uniqueKey":"v2Calculations.impactByStage.oneOf.0.items.[INDEX].stageName","typeLabel":"string"},"tier":{"type":"string","enum":["Tier2","Tier3","Tier4"],"isRequired":true,"uniqueKey":"v2Calculations.impactByStage.oneOf.0.items.[INDEX].tier","typeLabel":"enum\u003cstring>"},"phaseGW":{"type":"number","format":"double","isRequired":true,"uniqueKey":"v2Calculations.impactByStage.oneOf.0.items.[INDEX].phaseGW","typeLabel":"number\u003cdouble>"},"transport":{"type":"number","format":"double","isRequired":true,"uniqueKey":"v2Calculations.impactByStage.oneOf.0.items.[INDEX].transport","typeLabel":"number\u003cdouble>"},"phaseGwPercentage":{"type":"number","format":"double","isRequired":true,"uniqueKey":"v2Calculations.impactByStage.oneOf.0.items.[INDEX].phaseGwPercentage","typeLabel":"number\u003cdouble>"}},"required":["phaseGW","phaseGwPercentage","stageName","stageNumber","tier","transport"],"type":"object","additionalProperties":false,"uniqueKey":"v2Calculations.impactByStage.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","description":"Material-level per-stage impact rollup from the matlibV2 calculator, ordered by stageNumber.","uniqueKey":"v2Calculations.impactByStage.oneOf.0","typeLabel":"object[]"},{"items":{"description":"One material-level stage in the matlibV2 impactByStage rollup: component per-stage phaseGW/transport summed across all components plus the shared blend chain.","properties":{"stageNumber":{"type":"string"},"stageName":{"type":"string"},"tier":{"type":"string","enum":["Tier2","Tier3","Tier4"]},"phaseGW":{"type":"number","format":"double"},"transport":{"type":"number","format":"double"},"phaseGwPercentage":{"type":"number","format":"double"}},"required":["phaseGW","phaseGwPercentage","stageName","stageNumber","tier","transport"],"type":"object","additionalProperties":false},"type":"null","description":"Material-level per-stage impact rollup from the matlibV2 calculator, ordered by stageNumber.","uniqueKey":"v2Calculations.impactByStage.oneOf.1","typeLabel":"null"}],"uniqueKey":"v2Calculations.impactByStage","typeLabel":"object[] | null"}},"type":"object","additionalProperties":false,"uniqueKey":"v2Calculations","typeLabel":"object"},"msiVersion":{"oneOf":[{"type":"string","uniqueKey":"msiVersion.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"msiVersion.oneOf.1","typeLabel":"null"}],"uniqueKey":"msiVersion","typeLabel":"string | null"},"tags":{"oneOf":[{"items":{"type":"string","uniqueKey":"tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"tags.oneOf.0","typeLabel":"string[]"},{"items":{"type":"string"},"type":"null","uniqueKey":"tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"tags","typeLabel":"string[] | null"},"msiMaterialId":{"oneOf":[{"type":"string","description":"Source MSI Material _id when channelCreate is MsiImport","uniqueKey":"msiMaterialId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Source MSI Material _id when channelCreate is MsiImport","uniqueKey":"msiMaterialId.oneOf.1","typeLabel":"null"}],"uniqueKey":"msiMaterialId","typeLabel":"string | null"},"channelCreate":{"enum":["MsiImport","BulkCreateMaterials","UiMaterials"],"type":"string","uniqueKey":"channelCreate","typeLabel":"enum\u003cstring>"},"channelUpdate":{"enum":["MsiImport","BulkCreateMaterials","UiMaterials"],"type":"string","uniqueKey":"channelUpdate","typeLabel":"enum\u003cstring>"}},"required":["_id","account","createdOn","name","t2GlobalWarmingImpact","t3GlobalWarmingImpact","t4GlobalWarmingImpact","totalMaterialGlobalWarmingImpact","type","user"],"type":"object","additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"_id":"\u003cstring>","type":"\u003cstring>","name":"\u003cstring>","t2GlobalWarmingImpact":123,"t3GlobalWarmingImpact":123,"t4GlobalWarmingImpact":123,"createdOn":123,"user":{"_id":"\u003cstring>","email":"\u003cstring>","firstname":"\u003cstring>","lastname":"\u003cstring>"},"account":{"_id":"\u003cstring>","name":"\u003cstring>","country":"\u003cstring>","sacId":123,"oar_id":"\u003cstring>","demoaccount":true,"vbType":"None","socialCreditId":"\u003cstring>","taxId":"\u003cstring>","bluesignId":"\u003cstring>","zdhcId":"\u003cstring>","ipeViolation":{"totalViolations":123},"ffcId":123,"approvalStatus":"Approved"},"totalMaterialGlobalWarmingImpact":123,"_rev":"\u003cstring>","code":"\u003cstring>","category":"\u003cstring>","supplierCountry":"\u003cstring>","nameId":"\u003cstring>","supplier":"\u003cstring>","country":"\u003cstring>","tier2":{"isDefault":true,"assessment":{"_id":"\u003cstring>","rfi_pid":"fem2017","surveyVersion":"\u003cstring>","country":"\u003cstring>","processName":"\u003cstring>"},"facility":{"_id":"\u003cstring>","name":"\u003cstring>","country":"\u003cstring>","sacId":123,"oar_id":"\u003cstring>","demoaccount":true,"vbType":"None","socialCreditId":"\u003cstring>","taxId":"\u003cstring>","bluesignId":"\u003cstring>","zdhcId":"\u003cstring>","ipeViolation":{"totalViolations":123},"ffcId":123,"approvalStatus":"Approved"},"country":"\u003cstring>","facilityRawText":"\u003cstring>","organization":{"_id":"\u003cstring>","name":"\u003cstring>","hasWorldlyAccount":true,"country":"\u003cstring>","account":{"_id":"\u003cstring>","name":"\u003cstring>","country":"\u003cstring>","sacId":123,"oar_id":"\u003cstring>","demoaccount":true,"vbType":"None","socialCreditId":"\u003cstring>","taxId":"\u003cstring>","bluesignId":"\u003cstring>","zdhcId":"\u003cstring>","ipeViolation":{"totalViolations":123},"ffcId":123,"approvalStatus":"Approved"}}},"tier3":{"isDefault":true,"assessment":{"_id":"\u003cstring>","rfi_pid":"fem2017","surveyVersion":"\u003cstring>","country":"\u003cstring>","processName":"\u003cstring>"},"facility":{"_id":"\u003cstring>","name":"\u003cstring>","country":"\u003cstring>","sacId":123,"oar_id":"\u003cstring>","demoaccount":true,"vbType":"None","socialCreditId":"\u003cstring>","taxId":"\u003cstring>","bluesignId":"\u003cstring>","zdhcId":"\u003cstring>","ipeViolation":{"totalViolations":123},"ffcId":123,"approvalStatus":"Approved"},"country":"\u003cstring>","facilityRawText":"\u003cstring>","organization":{"_id":"\u003cstring>","name":"\u003cstring>","hasWorldlyAccount":true,"country":"\u003cstring>","account":{"_id":"\u003cstring>","name":"\u003cstring>","country":"\u003cstring>","sacId":123,"oar_id":"\u003cstring>","demoaccount":true,"vbType":"None","socialCreditId":"\u003cstring>","taxId":"\u003cstring>","bluesignId":"\u003cstring>","zdhcId":"\u003cstring>","ipeViolation":{"totalViolations":123},"ffcId":123,"approvalStatus":"Approved"}}},"baseMaterials":[{"_id":"\u003cstring>","composition":123,"name":"\u003cstring>","baseMaterialProcesses":[{"_id":"\u003cstring>","name":"\u003cstring>","stageName":"\u003cstring>","lifeCycle":"\u003cstring>","isEligible":true,"totalMaterialGlobalWarmingImpact":123,"totalLossRate":123,"residualElectricityTotal":123,"lossRate":123,"assessment":{"_id":"\u003cstring>","rfi_pid":"fem2017","surveyVersion":"\u003cstring>","country":"\u003cstring>","processName":"\u003cstring>"},"facility":{"_id":"\u003cstring>","name":"\u003cstring>","country":"\u003cstring>","sacId":123,"oar_id":"\u003cstring>","demoaccount":true,"vbType":"None","socialCreditId":"\u003cstring>","taxId":"\u003cstring>","bluesignId":"\u003cstring>","zdhcId":"\u003cstring>","ipeViolation":{"totalViolations":123},"ffcId":123,"approvalStatus":"Approved"},"country":"\u003cstring>","facilityType":["\u003cstring>"],"sipfacilitymaterialprocesstextiles":["\u003cstring>"],"materialproduction_normalized_kgco2e":123,"rawmaterialprocessing_normalized_kgco2e":123,"globalWarmingImpact":123,"ineligibleReason":"Account not active","femStatus":"NS","facilityRawText":"\u003cstring>"}],"totalMaterialGlobalWarmingImpactT2":123,"totalMaterialGlobalWarmingImpactT3":123,"totalMaterialGlobalWarmingImpactT4":123,"totalMaterialGlobalWarmingImpact":123,"refKey":"\u003cstring>","activityUniqueId":"\u003cstring>","sustainability":{"isEligible":true,"type":"Recycled","processId":"\u003cstring>"},"manufacturer":"\u003cstring>","tradeName":"\u003cstring>","country":"\u003cstring>","typeCode":"\u003cstring>","materialSubtype":"\u003cstring>","sustainabilityAttribute":"\u003cstring>","baseMaterialProcessesList":[{"_id":"\u003cstring>","name":"\u003cstring>","stageName":"\u003cstring>","lifeCycle":"\u003cstring>","isEligible":true,"totalMaterialGlobalWarmingImpact":123,"totalLossRate":123,"residualElectricityTotal":123,"lossRate":123,"assessment":{"_id":"\u003cstring>","rfi_pid":"fem2017","surveyVersion":"\u003cstring>","country":"\u003cstring>","processName":"\u003cstring>"},"facility":{"_id":"\u003cstring>","name":"\u003cstring>","country":"\u003cstring>","sacId":123,"oar_id":"\u003cstring>","demoaccount":true,"vbType":"None","socialCreditId":"\u003cstring>","taxId":"\u003cstring>","bluesignId":"\u003cstring>","zdhcId":"\u003cstring>","ipeViolation":{"totalViolations":123},"ffcId":123,"approvalStatus":"Approved"},"country":"\u003cstring>","facilityType":["\u003cstring>"],"sipfacilitymaterialprocesstextiles":["\u003cstring>"],"materialproduction_normalized_kgco2e":123,"rawmaterialprocessing_normalized_kgco2e":123,"globalWarmingImpact":123,"ineligibleReason":"Account not active","femStatus":"NS","facilityRawText":"\u003cstring>"}],"uniqueCyclesAssessments":[{"assessmentId":"\u003cstring>","processId":"\u003cstring>","lifeCycle":"\u003cstring>","isEligible":true,"sipfacilitymaterialprocesstextiles":"\u003cstring>","ineligibleReason":"Account not active"}],"shortPath":{"coatingLamination":"Coating","yarnSize":"\u003cstring>","textileFormation":"Knitting","autoFromShortPath":true},"v2Calculations":{"totalMaterialGlobalWarmingImpactT2":123,"totalMaterialGlobalWarmingImpactT3":123,"totalMaterialGlobalWarmingImpactT4":123,"totalMaterialGlobalWarmingImpact":123,"impactByStage":[{"stageNumber":"\u003cstring>","stageName":"\u003cstring>","tier":"Tier2","phaseGW":123,"transport":123,"phaseGwPercentage":123}]},"organization":{"_id":"\u003cstring>","name":"\u003cstring>","hasWorldlyAccount":true,"country":"\u003cstring>","account":{"_id":"\u003cstring>","name":"\u003cstring>","country":"\u003cstring>","sacId":123,"oar_id":"\u003cstring>","demoaccount":true,"vbType":"None","socialCreditId":"\u003cstring>","taxId":"\u003cstring>","bluesignId":"\u003cstring>","zdhcId":"\u003cstring>","ipeViolation":{"totalViolations":123},"ffcId":123,"approvalStatus":"Approved"}},"femIneligibleReasons":"\u003cstring>","stages":[{"stageId":"\u003cstring>","countryCode":"\u003cstring>","source":"\u003cstring>","disaggregated":true,"processId":"\u003cstring>","processOriginal":"\u003cstring>","originalProcessId":"\u003cstring>","absorbedByProcessId":"\u003cstring>","stageStatus":"Absorbed","countryName":"\u003cstring>","organizationRawText":"\u003cstring>","organization":{"_id":"\u003cstring>","name":"\u003cstring>","hasWorldlyAccount":true,"country":"\u003cstring>","account":{"_id":"\u003cstring>","name":"\u003cstring>","country":"\u003cstring>","sacId":123,"oar_id":"\u003cstring>","demoaccount":true,"vbType":"None","socialCreditId":"\u003cstring>","taxId":"\u003cstring>","bluesignId":"\u003cstring>","zdhcId":"\u003cstring>","ipeViolation":{"totalViolations":123},"ffcId":123,"approvalStatus":"Approved"}},"materialSubtype":"\u003cstring>","activityUniqueId":"\u003cstring>","activitiesFilter":{"activityType":"\u003cstring>","yarnSize":"\u003cstring>","manufacturer":"\u003cstring>","textileFormation":"\u003cstring>","dyeType":"\u003cstring>","sustainabilityAttribute":"\u003cstring>","materialSubtype":"\u003cstring>","inputFor":"\u003cstring>","contributor":"\u003cstring>","upstreamProcessId":"\u003cstring>","extraData":{"processType":"\u003cstring>","activityAttribute":"\u003cstring>","enabledBy":"\u003cstring>","intrinsicCharacteristic":"\u003cstring>","layersCount":"\u003cstring>","substratePURatio":"\u003cstring>","programCertification":"\u003cstring>"}},"inventoryData":{"lossRate":123,"residualGWP":123,"residualScope3GWP":123,"totalElectricity":123,"naturalGas":123,"diesel":123,"coal":123},"processData":{"disaggregated":true,"systemBoundaryStages":["\u003cstring>"]},"impactAssessment":{"globalWarming":123,"totalPoints":123},"selectedFem":{"_id":"\u003cstring>","femStatus":"NS","femYear":"\u003cstring>","eligible":true,"countryCode":"\u003cstring>","femIneligibleReasons":["Account not active"],"femIneligibleInformation":[{"gate":123,"reason":"\u003cstring>","name":"\u003cstring>","reasonCode":"Account not active","detail":"\u003cstring>"}]},"impactByStage":{"stageNumber":"\u003cstring>","phaseGW":123,"transport":123,"totalGW_kgCO2e":123,"stageCode":"\u003cstring>","stageName":"\u003cstring>","tier":"Tier2","processId":"\u003cstring>","approach":"1","gwPerKg":123,"outputMass":123,"fromBlendChain":true},"stageName":"\u003cstring>","activityName":"\u003cstring>","femProcessSlugs":["\u003cstring>"]}]}],"modifiedOn":123,"deleted":true,"deletedBy":{"_id":"\u003cstring>","email":"\u003cstring>","firstname":"\u003cstring>","lastname":"\u003cstring>"},"modifiedBy":{"_id":"\u003cstring>","email":"\u003cstring>","firstname":"\u003cstring>","lastname":"\u003cstring>"},"createdBy":{"_id":"\u003cstring>","email":"\u003cstring>","firstname":"\u003cstring>","lastname":"\u003cstring>"},"v2Calculations":{"totalMaterialGlobalWarmingImpactT2":123,"totalMaterialGlobalWarmingImpactT3":123,"totalMaterialGlobalWarmingImpactT4":123,"totalMaterialGlobalWarmingImpact":123,"impactByStage":[{"stageNumber":"\u003cstring>","stageName":"\u003cstring>","tier":"Tier2","phaseGW":123,"transport":123,"phaseGwPercentage":123}]},"msiVersion":"\u003cstring>","tags":["\u003cstring>"],"msiMaterialId":"\u003cstring>","channelCreate":"MsiImport","channelUpdate":"MsiImport"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"11efd333-9619-45b5-80a2-441106d63cac":{"sec0":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"sec0"},"sec1":{"type":"apiKey","in":"header","name":"x-developer-request-token","scopes":[],"schemeName":"sec1"}}},"servers":{"aa8f9f14-9b6f-4dd2-8108-d97c1d54402a":{"url":"https://api-v2.production.higg.org/pic-api/v1","description":"Production"},"4f0f91c3-950d-4e86-bc00-d1d5501b960e":{"url":"https://api-v2.demo.higg.org/pic-api/v1","description":"Demo"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"sec0"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"sec0","name":"x-api-key"},{"scheme":{"type":"apiKey","in":"header","name":"x-developer-request-token","scopes":[],"schemeName":"sec1"},"schema":{"title":"x-developer-request-token","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"sec1","name":"x-developer-request-token"}],"title":"sec0 \u0026 sec1"}]},"originalFileLocation":"api-reference/openapi/french-eco.json"},"subdomain":"worldly","siteName":"Worldly Developer Docs","title":"Update Material - Worldly Developer Docs","navMaps":{"firstHrefInVersion":{"v1.1 (Latest)":{"href":"/api-reference/pic/material-library/update","matchLevel":0},"v1.0":{"href":"/v1.0/docs/getting-started","matchLevel":4},"v0.1 (Legacy)":{"href":"/v0.1/docs/getting-started","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T12:53:45.872Z","originalFileLocation":"api-reference/pic/material-library/update.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Worldly Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Material - Worldly Developer Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Worldly Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.worldly.io/api-reference/pic/material-library/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://worldly.mintlify.site/_mintlify/api/og/v2?division=Material+Library\u0026amp;title=Update+Material\u0026amp;theme=8bdf28dc6f8ffd6924f3fd10\u0026amp;signature=206cba99b1c06d1acb96df1f29c105bce7ce7ec15abcefe2c11396c383d8bda3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Material - Worldly Developer Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://worldly.mintlify.site/_mintlify/api/og/v2?division=Material+Library\u0026amp;title=Update+Material\u0026amp;theme=8bdf28dc6f8ffd6924f3fd10\u0026amp;signature=206cba99b1c06d1acb96df1f29c105bce7ce7ec15abcefe2c11396c383d8bda3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/worldly/SEykq9BcHgQtlzQQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Worldly Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ea2626\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.worldly.io/api-reference/pic/material-library/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/pic/material-library/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.worldly.io/#organization\",\"name\":\"Worldly Developer Docs\",\"url\":\"https://developer.worldly.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/worldly/Wcd4Nqo5_YkhDaNw/logo/light.png?fit=max\u0026auto=format\u0026n=Wcd4Nqo5_YkhDaNw\u0026q=85\u0026s=ffa1705586bcd214da4d9adc4ccf5cc0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.worldly.io#website\",\"name\":\"Worldly Developer Docs\",\"url\":\"https://developer.worldly.io\",\"publisher\":{\"@id\":\"https://developer.worldly.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.worldly.io/api-reference/pic/material-library/update#webpage\",\"url\":\"https://developer.worldly.io/api-reference/pic/material-library/update\",\"name\":\"Update Material\",\"dateModified\":\"2026-11-11T12:53:45.872Z\",\"isPartOf\":{\"@id\":\"https://developer.worldly.io#website\"},\"breadcrumb\":{\"@id\":\"https://developer.worldly.io/api-reference/pic/material-library/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.worldly.io/api-reference/pic/material-library/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PIC API\",\"item\":\"https://developer.worldly.io/api-reference/pic/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Material Library\",\"item\":\"https://developer.worldly.io/api-reference/pic/material-library/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update Material\",\"item\":\"https://developer.worldly.io/api-reference/pic/material-library/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.worldly.io/api-reference/pic/material-library/update#apireference\",\"headline\":\"Update Material\",\"name\":\"Update Material\",\"url\":\"https://developer.worldly.io/api-reference/pic/material-library/update\",\"mainEntityOfPage\":{\"@id\":\"https://developer.worldly.io/api-reference/pic/material-library/update#webpage\"},\"dateModified\":\"2026-11-11T12:53:45.872Z\",\"publisher\":{\"@id\":\"https://developer.worldly.io/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.worldly.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Worldly Developer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Worldly Developer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/pic/material-library/update.md","siteName":"Worldly Developer Docs","nav":{"global":{"anchors":[{"anchor":"API Status","icon":"signal-bars","href":"https://status.worldly.io"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"/changelog"}]},"versions":[{"version":"v1.1 (Latest)","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/get-ghg-data-verified-fems"}]},{"tab":"API Reference","groups":[{"group":"Assessments","pages":[{"title":"Worldly Assessment APIs","href":"/api-reference/assessments/overview"},{"group":"Module Data","pages":[{"title":"Module Data","href":"/api-reference/assessments/module-data/overview"},{"title":"FEM - Module Data","openapi":"api-reference/openapi/module-data.json POST /fem","href":"/api-reference/assessments/module-data/get-fem-module-data"},{"title":"DCT - Module Data","openapi":"api-reference/openapi/module-data.json POST /dct","href":"/api-reference/assessments/module-data/get-dct-module-data"},{"title":"FSLM - Module Data","openapi":"api-reference/openapi/module-data.json POST /fslm","href":"/api-reference/assessments/module-data/get-fslm-module-data"},{"title":"BRM - Module Data","openapi":"api-reference/openapi/module-data.json POST /brm","href":"/api-reference/assessments/module-data/get-brm-module-data"}]},{"group":"Bulk CSV","pages":[{"title":"Bulk CSV","href":"/api-reference/assessments/bulk-csv/overview"},{"title":"Get all FEM assessments","openapi":"api-reference/openapi/assessment-api.json POST /fem","href":"/api-reference/assessments/bulk-csv/get-all-fem-assessments"},{"title":"Get All FSLM Assessments","openapi":"api-reference/openapi/assessment-api.json POST /fslm","href":"/api-reference/assessments/bulk-csv/get-all-fslm-assessments"},{"title":"Get all BRM assessments","openapi":"api-reference/openapi/assessment-api.json POST /brm","href":"/api-reference/assessments/bulk-csv/get-all-brm-assessments"},{"title":"Get all DCT assessments","openapi":"api-reference/openapi/assessment-api.json POST /dct","href":"/api-reference/assessments/bulk-csv/get-all-dct-assessments"}]},{"group":"Performance CSV","pages":[{"title":"Performance CSV","href":"/api-reference/assessments/performance-csv/overview"},{"title":"Get FEM Performance Data","openapi":"api-reference/openapi/performance-csv.json POST /fem","href":"/api-reference/assessments/performance-csv/get-fem-performance-data"}]},{"group":"File Data","pages":[{"title":"File Data","href":"/api-reference/assessments/file-data/overview"},{"title":"Get FEM File Data","openapi":"api-reference/openapi/file-data.json GET /fem/{assessmentId}","href":"/api-reference/assessments/file-data/get-fem-file-data"},{"title":"Get DCT File Data","openapi":"api-reference/openapi/file-data.json GET /dct/{assessmentId}","href":"/api-reference/assessments/file-data/get-dct-file-data"},{"title":"Get FSLM File Data","openapi":"api-reference/openapi/file-data.json GET /fslm/{assessmentId}","href":"/api-reference/assessments/file-data/get-fslm-file-data"},{"title":"Get BRM File Data","openapi":"api-reference/openapi/file-data.json GET /brm/{assessmentId}","href":"/api-reference/assessments/file-data/get-brm-file-data"}]},{"group":"Module Last Updated","pages":[{"title":"Module Last Updated","href":"/api-reference/assessments/module-last-updated/overview"},{"title":"FEM - Last Updated","openapi":"api-reference/openapi/module-last-updated.json POST /fem","href":"/api-reference/assessments/module-last-updated/fem-last-updated"},{"title":"DCT - Last Updated","openapi":"api-reference/openapi/module-last-updated.json POST /dct","href":"/api-reference/assessments/module-last-updated/dct-last-updated"},{"title":"FSLM - Last Updated","openapi":"api-reference/openapi/module-last-updated.json POST /fslm","href":"/api-reference/assessments/module-last-updated/fslm-last-updated"},{"title":"BRM - Last Updated","openapi":"api-reference/openapi/module-last-updated.json POST /brm","href":"/api-reference/assessments/module-last-updated/brm-last-updated"}]},{"group":"Module Shares","pages":[{"title":"Module Shares","href":"/api-reference/assessments/module-shares/overview"},{"title":"Get Status of Shared Modules","openapi":"api-reference/openapi/get-module-shares.json POST /{assessmentType}","href":"/api-reference/assessments/module-shares/get-module-shares"}]}]},{"group":"PIC API","pages":[{"title":"Worldly Product Impact Calculator API","href":"/api-reference/pic/overview"},{"title":"Authentication Guide","href":"/api-reference/pic/authentication-guide"},{"group":"Products","pages":[{"title":"Products","href":"/api-reference/pic/products/overview"},{"title":"Create a product","openapi":"api-reference/openapi/french-eco.json POST /products/create","href":"/api-reference/pic/products/create"},{"title":"Search products","openapi":"api-reference/openapi/french-eco.json POST /products/search","href":"/api-reference/pic/products/search"},{"title":"Update Product","openapi":"api-reference/openapi/french-eco.json POST /products/update/{productId}","href":"/api-reference/pic/products/update"},{"title":"Delete Products","openapi":"api-reference/openapi/french-eco.json POST /products/delete","href":"/api-reference/pic/products/delete"},{"title":"Recalculate Products","openapi":"api-reference/openapi/french-eco.json POST /products/recalculate","href":"/api-reference/pic/products/recalculate"},{"title":"Search Higg PM","openapi":"api-reference/openapi/french-eco.json POST /higg-index/pm/search","href":"/api-reference/pic/products/search-higg-pm"}]},{"group":"Purchase Orders","pages":[{"title":"Purchase Orders","href":"/api-reference/pic/purchase-orders/overview"},{"title":"Create Purchase Orders","openapi":"api-reference/openapi/french-eco.json POST /purchase-orders/create","href":"/api-reference/pic/purchase-orders/create"},{"title":"Search Purchase Orders","openapi":"api-reference/openapi/french-eco.json POST /purchase-orders/search","href":"/api-reference/pic/purchase-orders/search"},{"title":"Update Purchase Orders","openapi":"api-reference/openapi/french-eco.json POST /purchase-orders/update","href":"/api-reference/pic/purchase-orders/update"},{"title":"Delete Purchase Orders","openapi":"api-reference/openapi/french-eco.json POST /purchase-orders/delete","href":"/api-reference/pic/purchase-orders/delete"},{"title":"Recalculate Purchase Orders","openapi":"api-reference/openapi/french-eco.json POST /purchase-orders/recalculate","href":"/api-reference/pic/purchase-orders/recalculate"}]},{"group":"Product Attributes","pages":[{"title":"Product Attributes","href":"/api-reference/pic/product-attributes/overview"},{"title":"Get Categories","openapi":"api-reference/openapi/french-eco.json GET /taxonomy-categories","href":"/api-reference/pic/product-attributes/get-categories"},{"title":"Get Size","openapi":"api-reference/openapi/french-eco.json GET /taxonomy-size/{productCategory}","href":"/api-reference/pic/product-attributes/get-size"},{"title":"Get Components List","openapi":"api-reference/openapi/french-eco.json POST /components/search","href":"/api-reference/pic/product-attributes/get-components"},{"title":"Get Materials","openapi":"api-reference/openapi/french-eco.json POST /materials/search","href":"/api-reference/pic/product-attributes/get-materials"},{"title":"Get Packaging","openapi":"api-reference/openapi/french-eco.json POST /packaging/search","href":"/api-reference/pic/product-attributes/get-packaging"},{"title":"Get Default Products","openapi":"api-reference/openapi/french-eco.json POST /products/default","href":"/api-reference/pic/product-attributes/get-default-products"}]},{"group":"FEM Linking","pages":[{"title":"FEM Linking","href":"/api-reference/pic/fem-linking/overview"},{"title":"Search Tier 1 facilities","openapi":"api-reference/openapi/french-eco.json POST /supplier/search","href":"/api-reference/pic/fem-linking/search-facilities"}]},{"group":"Impact Reports","pages":[{"title":"Impact Reports","href":"/api-reference/pic/impact-reports/overview"},{"title":"Get Materials Impacts Report","openapi":"api-reference/openapi/french-eco.json POST /materials-impacts-report","href":"/api-reference/pic/impact-reports/materials-impacts"},{"title":"Get Purchase Order Impacts Report","openapi":"api-reference/openapi/french-eco.json POST /purchase-order-impacts-report","href":"/api-reference/pic/impact-reports/purchase-order-impacts"}]},{"group":"French Eco Scores","pages":[{"title":"French Eco-Scores","href":"/api-reference/pic/french-eco-scores/overview"},{"title":"Optional Fields","href":"/api-reference/pic/french-eco-scores/optional-fields"},{"title":"Get French Eco-Score manufacturing countries","openapi":"api-reference/openapi/french-eco.json GET /french-label-manufacturing-countries","href":"/api-reference/pic/french-eco-scores/get-manufacturing-countries"},{"title":"Search Products","href":"/api-reference/pic/french-eco-scores/search-products"},{"title":"Get labels for French Eco-Scores","openapi":"api-reference/openapi/french-eco.json POST /french-label/image","href":"/api-reference/pic/french-eco-scores/get-labels"},{"title":"Publish French Eco-Scores","openapi":"api-reference/openapi/french-eco.json POST /french-label/publish","href":"/api-reference/pic/french-eco-scores/publish"}]},{"group":"Material Library","pages":[{"title":"Material Library","href":"/api-reference/pic/material-library/overview"},{"title":"Create Material","openapi":"api-reference/openapi/french-eco.json POST /material-library/create","description":null,"href":"/api-reference/pic/material-library/create"},{"title":"Update Material","openapi":"api-reference/openapi/french-eco.json POST /material-library/update/{materialId}","href":"/api-reference/pic/material-library/update"},{"title":"Delete Materials","openapi":"api-reference/openapi/french-eco.json DELETE /material-library/remove-material","description":null,"href":"/api-reference/pic/material-library/delete"},{"title":"Get Materials","openapi":"api-reference/openapi/french-eco.json POST /material-library/material-list","href":"/api-reference/pic/material-library/get-materials"},{"title":"Get Base Material Library List","openapi":"api-reference/openapi/french-eco.json POST /material-library/base-material-list","href":"/api-reference/pic/material-library/get-base-materials"},{"title":"Get Facility List","openapi":"api-reference/openapi/french-eco.json POST /material-library/facility-list","href":"/api-reference/pic/material-library/get-facilities"},{"title":"Get Country List","openapi":"api-reference/openapi/french-eco.json GET /material-library/country-list","href":"/api-reference/pic/material-library/get-countries"}]}]},{"group":"Product Tools","pages":[{"title":"Worldly Product Tools APIs","href":"/api-reference/product-tools/overview"},{"group":"MSI API (Limited)","pages":[{"title":"Worldly MSI API","href":"/api-reference/product-tools/msi-api/overview"},{"title":"MSI Search Materials","openapi":"api-reference/openapi/msi-api.json POST /search-limited-lcia","href":"/api-reference/product-tools/msi-api/search-materials"},{"title":"MSI Create Materials","openapi":"api-reference/openapi/msi-api.json POST /materials/create-limited-lcia","href":"/api-reference/product-tools/msi-api/create-materials"},{"title":"MSI Update Materials","openapi":"api-reference/openapi/msi-api.json POST /materials/update-limited-lcia/{materialId}","href":"/api-reference/product-tools/msi-api/update-materials"},{"title":"MSI Get Material Categories","openapi":"api-reference/openapi/msi-api.json GET /materials/categories","href":"/api-reference/product-tools/msi-api/get-material-categories"},{"title":"MSI Get Base Materials","openapi":"api-reference/openapi/msi-api.json GET /base-materials","href":"/api-reference/product-tools/msi-api/get-base-materials"},{"title":"MSI Get Processes for Base Material","openapi":"api-reference/openapi/msi-api.json GET /materials/process-by-material/{base_material_id}","href":"/api-reference/product-tools/msi-api/get-processes"},{"title":"MSI Get Yield Options","openapi":"api-reference/openapi/msi-api.json GET /yields","href":"/api-reference/product-tools/msi-api/get-yield-options"}]},{"group":"MSI API (Full)","pages":[{"title":"Worldly MSI API (full)","href":"/api-reference/product-tools/msi-api-full/overview"},{"title":"MSI Search Materials","openapi":"api-reference/openapi/msi-api.json POST /search","href":"/api-reference/product-tools/msi-api-full/search-materials"},{"title":"MSI Create Materials","openapi":"api-reference/openapi/msi-api.json POST /materials/create","href":"/api-reference/product-tools/msi-api-full/create-materials"},{"title":"MSI Update Materials","openapi":"api-reference/openapi/msi-api.json POST /materials/update/{materialId}","href":"/api-reference/product-tools/msi-api-full/update-materials"},{"title":"MSI Get Material Categories","openapi":"api-reference/openapi/msi-api.json GET /materials/categories","href":"/api-reference/product-tools/msi-api-full/get-material-categories"},{"title":"MSI Get Base Materials","openapi":"api-reference/openapi/msi-api.json GET /base-materials","href":"/api-reference/product-tools/msi-api-full/get-base-materials"},{"title":"MSI Get Processes for Base Material","openapi":"api-reference/openapi/msi-api.json GET /materials/process-by-material/{base_material_id}","href":"/api-reference/product-tools/msi-api-full/get-processes"},{"title":"MSI Get Yield Options","openapi":"api-reference/openapi/msi-api.json GET /yields","href":"/api-reference/product-tools/msi-api-full/get-yield-options"}]},{"group":"Product Module","pages":[{"title":"Worldly Product Module API","href":"/api-reference/product-tools/product-module/overview"},{"title":"PM Search Products","openapi":"api-reference/openapi/product-module-api.json POST /search","href":"/api-reference/product-tools/product-module/search"},{"title":"PM Create Product","openapi":"api-reference/openapi/product-module-api.json POST /create","href":"/api-reference/product-tools/product-module/create"},{"title":"PM Update Product","openapi":"api-reference/openapi/product-module-api.json POST /update/{product_id}","href":"/api-reference/product-tools/product-module/update"},{"title":"PM Certifications","href":"/api-reference/product-tools/product-module/certifications"}]},{"group":"PM API","pages":[{"title":"PM Categories","openapi":"api-reference/openapi/product-module-api.json GET /category","href":"/api-reference/pm/category"}]}]}]}]},{"version":"v1.0","pages":[{"title":"v1.0","href":"/v1.0/docs/getting-started"}]},{"version":"v0.1 (Legacy)","pages":[{"title":"v0.1 (Legacy)","href":"/v0.1/docs/getting-started"}]}]},"basePath":"","title":"Update Material - Worldly Developer Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}