# epr.us

Calculate packaging kilograms by official OR, CO or CA category, or MD, MN or WA 2025 interim category. Automatic classification covers qualifying corrugated boxes, paperboard cartons, kraft fill and shipping mailers, PE mailers and bubble wrap, resin-marked PET and HDPE bottles or jars, qualifying HDPE pails in CA, PP tubs, glass bottles and jars outside deposit programs, aluminum or steel cans, molded pulp and EPS cushioning. Coverage and required BOM facts vary by state. Other components need a verified categoryByState or return needs_review with candidate categories. Charges $0.50 per state CSV produced.

- REST: `POST https://api.kanagu.dev/v1/epr/us`
- MCP tool: `epr.us` at https://api.kanagu.dev/mcp
- Price: $0.50 USD per report, on successful calls only. Trial: 10 calls per IP per UTC day without a key, shared by REST and MCP.
- Auth: `Authorization: Bearer <key>` for billed calls. Retries: reuse `Idempotency-Key`.

## Request body

- `period` (object, required): Inclusive shipment dates for one reporting period.
- `period.start` (string (date), required)
- `period.end` (string (date), required)
- `states` (array of "OR" | "CO" | "CA" | "MD" | "MN" | "WA", required)
- `bom` (array of object, required): Per-SKU components to classify by dominant material, form and any required attributes such as size, color, resin mark, coating, contents and capacity. Supply fiberSource for paper or fiber. Confirm scope with otherExemptionByState and, when relevant, beverageDepositByState. Use categoryByState for a verified assignment or exclusion. Specify consumerUse for Oregon corrugated boxes, Colorado and the interim states. For reusable items submit only the units first supplied when the guidance requires it.
- `bom[].sku` (string (max 80 chars), required)
- `bom[].components` (array of object, required)
- `bom[].components[].material` (string (max 80 chars), required)
- `bom[].components[].gramsPerUnit` (number (≤ 100000), required)
- `bom[].components[].rigidity` ("rigid" | "flexible")
- `bom[].components[].recycledContentPct` (number (0 to 100))
- `bom[].components[].form` ("bottle" | "jar" | "jug" | "container" | "can" | "aerosol" | … (53 values)): Use consumer_box for retail or direct-to-consumer boxes, shipping_mailer for an envelope or bag used as product packaging, envelope for stationery, packing_paper for loose fill sheets, cushioning for formed protective inserts or foam blocks, and tub for a container with a mouth similar in size to its base. A can is a closed non-aerosol, non-pressurized container. Use pallet for a rigid transport pallet, copy_paper for copier stock, and construction_paper for paper used in building construction. Use other only for a known form outside this list.
- `bom[].components[].printed` (boolean): For stationery envelopes, whether supplied printed.
- `bom[].components[].capacityGallons` (number): Usable capacity in US gallons.
- `bom[].components[].containerGlass` (boolean): Whether a bottle or jar is made of container glass.
- `bom[].components[].color` ("clear_natural" | "light_blue_or_green" | "pigmented" | "white"): Use light_blue_or_green for transparent light blue or green PET. Natural milky HDPE is clear_natural. Use white for white pigment or white foam.
- `bom[].components[].consumerUse` ("personal" | "commercial" | "non_consumer"): Personal or commercial use by an end consumer, or non_consumer for packaging that stays in the supply chain.
- `bom[].components[].containsPlastic` (boolean): For California, whether the component includes reportable plastic. Supply the dominant material in material.
- `bom[].components[].smallFormat` (boolean): Small-format status under the state's rules after any applicable sorting exceptions. Usually at least two dimensions are 2 inches or less.
- `bom[].components[].dimensionsInches` (array of any): Length, width and height in inches. For circular items, use the diameter for length and width. Measure flexible items laid flat.
- `bom[].components[].preferredSizeSorting` (boolean): Whether the item has an APR Preferred size-sorting assessment. Supply for at-threshold dimensions where the state applies this exception.
- `bom[].components[].fiberSource` (object): Required for paper and fiber classification. Use wood for wood pulp, non_wood for a named non-wood plant fiber, or recycled for recycled paper fiber. Report algae and fungi in material instead.
- `bom[].components[].bleached` (boolean): Whether the paperboard substrate is bleached.
- `bom[].components[].coating` ("none" | "recycle_compatible" | "plastic" | "other_barrier"): Coating or laminate on the substrate. Use none for uncoated and unlaminated substrates, recycle_compatible for a recycling-compatible water-soluble coating, or other_barrier for wax, silicone, foil or another incompatible coating or layer.
- `bom[].components[].coatingSides` ("inside" | "outside" | "both"): Which sides of the paperboard have a coating or lamination.
- `bom[].components[].contents` ("automotive_fluid" | "pesticide_or_herbicide" | "hazardous" | "raw_meat" | "other"): Contents of covered packaging. Hazardous means the product meets the reporting definition for hazard labeling. Raw_meat means direct contact with raw meat. Use other for verified ordinary contents or packaging that does not contain a product.
- `bom[].components[].containsProduct` (boolean): Whether the packaging is used to contain a packaged product.
- `bom[].components[].resinCode` (1 | 2 | 3 | 4 | 5 | 6 | 7 | null): Resin identification code displayed on the item. Use null if there is no mark and omit if its presence is unknown.
- `bom[].components[].manufacturing` ("thermoformed" | "injection_molded" | "other")
- `bom[].components[].expanded` (boolean): Whether polystyrene is expanded or foamed.
- `bom[].components[].monoMaterial` (boolean): For film, whether it contains only the stated resin and has no layers of other materials.
- `bom[].components[].bagFormat` (boolean): Whether a flexible or film item is a bag. Omit when unknown.
- `bom[].components[].recyclingCompatible` (boolean): Whether film or squeeze-tube layers meet the applicable state recycling criteria. Oregon PE film must meet APR PE-CG-01 and have no incompatible layers, coatings, resins or additives. Oregon non-consumer pallet wrap must have no barrier layers or non-PE resins.
- `bom[].components[].compostability` ("none" | "ASTM D8410-22" | "ASTM D6868-21" | "ASTM D6400-23" | "designed"): Specify the applicable certification, designed for uncertified compostable plastic, or none when neither applies.
- `bom[].components[].marketedCompostable` (boolean)
- `bom[].components[].markedCompostable` (boolean): Whether the plastic item is marked for compostability under the California reporting guidance.
- `bom[].components[].foodServiceware` (boolean)
- `bom[].components[].treated` (boolean): Whether wood is treated or painted.
- `bom[].components[].pressurizedCylinderQualified` (boolean): For Oregon cylinders, confirm the applicable DOT/UN specification or puncture-only design for non-refillable items, or an approved specification and water capacity of at most 109 L for refillable items. Exemptions are reported separately.
- `bom[].components[].newsprint` (boolean): Whether the substrate is newsprint under the applicable state's definition. For Maryland use Environment Article § 9-1707.
- `bom[].components[].lowCirculationNewsMagazine` (boolean): Whether a magazine has circulation below 95,000 and includes qualifying primary-source news or current-events content under the applicable state's definition.
- `bom[].components[].waFilmCompostable` (boolean): For Washington film in direct contact with raw meat, confirm whether it satisfies RCW 70A.208.020(7), including the applicable labeling requirements of chapter 70A.455 RCW.
- `bom[].components[].beverageDepositByState` (object): For a potentially deposit-eligible component, specify whether this component is covered by the state's beverage container deposit program in the report period. False means confirmed out of that program.
- `bom[].components[].otherExemptionByState` (object): After checking the state's covered-material guidance for this component and the supplied units, specify whether another exemption applies. Check product and producer exemptions, industrial and durable packaging, and reusable/refillable supply where applicable. False confirms none applies and the item is a packaging, paper product or food-service item in the state's reporting scope. Leave unknown states absent.
- `bom[].components[].categoryByState` (object): Provide a verified state reporting category or CalRecycle ID. Set a state to null for an exemption or other confirmed exclusion. Include only separable components and account for any inseparable parts in their parent component.
- `shipments` (array of object, required)
- `shipments[].sku` (string (max 80 chars), required)
- `shipments[].quantity` (integer (0 to 1000000), required)
- `shipments[].destination` (string, required)
- `shipments[].date` (string (date), required)
- `shipments[].returns` (integer (0 to 1000000)): Units returned from this shipment, including ordinary customer returns.
- `shipments[].notPlacedOnMarket` (integer (0 to 1000000)): Subset of returns documented as never placed on this market. Only these units are subtracted.

## Response

- `reports` (array of object, required)
- `reports[].destination` (string, required)
- `reports[].period` (object, required): Inclusive shipment dates for one reporting period.
- `reports[].period.start` (string (date), required)
- `reports[].period.end` (string (date), required)
- `reports[].source` (object, required)
- `reports[].source.url` (string (uri), required)
- `reports[].source.version` (string, required)
- `reports[].needs_review` (boolean, required)
- `reports[].totals` (array of object, required)
- `reports[].totals[].category` (string, required)
- `reports[].totals[].label` (string, required)
- `reports[].totals[].kg` (number, required)
- `reports[].trail` (array of object, required)
- `reports[].trail[].sku` (string (max 80 chars), required)
- `reports[].trail[].shipmentIndices` (array of number, required)
- `reports[].trail[].bomIndex` (number | null, required)
- `reports[].trail[].shippedUnits` (number, required)
- `reports[].trail[].returnedUnits` (number, required)
- `reports[].trail[].notPlacedOnMarketUnits` (number, required)
- `reports[].trail[].reportableUnits` (number, required)
- `reports[].trail[].components` (array of object, required)
- `reports[].trail[].components[].componentIndex` (number, required)
- `reports[].trail[].components[].material` (string (max 80 chars), required)
- `reports[].trail[].components[].gramsPerUnit` (number (≤ 100000), required)
- `reports[].trail[].components[].rigidity` ("rigid" | "flexible")
- `reports[].trail[].components[].recycledContentPct` (number (0 to 100))
- `reports[].trail[].components[].kg` (number, required)
- `reports[].trail[].components[].category` (string | null, required)
- `reports[].trail[].components[].status` ("mapped" | "excluded" | "needs_review", required)
- `reports[].trail[].components[].reason` ("unmapped_material" | "missing_classification_attributes" | "ambiguous_category" | "category_requires_confirmation" | "unknown_category")
- `reports[].trail[].components[].suppliedCategory` (string)
- `reports[].trail[].components[].missingAttributes` (array of string)
- `reports[].trail[].components[].candidateCategories` (array of string)
- `reports[].trail[].components[].exclusion` (string)
- `reports[].trail[].issue` ("missing_bom")
- `reports[].csv` (string | null, required): CSV of mapped weights. Null if no weights were mapped.
- `reports[].classificationSource` (object, required)
- `reports[].classificationSource.url` (string (uri), required)
- `reports[].classificationSource.version` (string, required)
- `reports[].scopeSource` (object, required)
- `reports[].scopeSource.url` (string (uri), required)
- `reports[].scopeSource.version` (string, required)

## Example

```sh
curl https://api.kanagu.dev/v1/epr/us \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -d '{"period":{"start":"2025-01-01","end":"2025-12-31"},"states":["OR","CA"],"bom":[{"sku":"shirt-blue","components":[{"material":"corrugated cardboard","form":"consumer_box","gramsPerUnit":104.2,"fiberSource":{"kind":"recycled"},"containsPlastic":false,"smallFormat":false,"coating":"none","consumerUse":"personal","otherExemptionByState":{"OR":false,"CA":false}}]}],"shipments":[{"sku":"shirt-blue","destination":"OR","quantity":364,"returns":4,"date":"2025-06-24"}]}'
```

```ts
const res = await fetch("https://api.kanagu.dev/v1/epr/us", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KANAGU_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "period": {
      "start": "2025-01-01",
      "end": "2025-12-31"
    },
    "states": [
      "OR",
      "CA"
    ],
    "bom": [
      {
        "sku": "shirt-blue",
        "components": [
          {
            "material": "corrugated cardboard",
            "form": "consumer_box",
            "gramsPerUnit": 104.2,
            "fiberSource": {
              "kind": "recycled"
            },
            "containsPlastic": false,
            "smallFormat": false,
            "coating": "none",
            "consumerUse": "personal",
            "otherExemptionByState": {
              "OR": false,
              "CA": false
            }
          }
        ]
      }
    ],
    "shipments": [
      {
        "sku": "shirt-blue",
        "destination": "OR",
        "quantity": 364,
        "returns": 4,
        "date": "2025-06-24"
      }
    ]
  }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
```

## Errors

JSON `{"error":{"code","message"}}`.

- 400 `invalid_input`: The body does not match the request schema. The message names each field.
- 400 `invalid_json`: The body is missing or is not valid JSON.
- 400 `invalid_idempotency_key`: Idempotency-Key must be 1–128 visible ASCII characters.
- 401 `invalid_api_key`: The Bearer key is missing, malformed, invalid or inactive.
- 402 `free_allowance_exhausted`: This month's free usage is used up and the account has no subscription. Subscribe from the dashboard, or wait for the next UTC month; Retry-After gives the seconds left.
- 404 `not_found`: No operation at this path.
- 409 `idempotency_conflict`: The Idempotency-Key was already used with a different body.
- 413 `payload_too_large`: JSON bodies may be at most 64 KiB.
- 429 `trial_limit`: The anonymous trial allows 10 calls per IP per UTC day, shared by REST and MCP. Retry-After gives the seconds left.
- 500 `internal_error`: The call failed on our side. It is not billed; retry with the same Idempotency-Key.

## JSON Schema

Request:
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "period": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "end": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        }
      },
      "required": [
        "start",
        "end"
      ],
      "additionalProperties": false,
      "description": "Inclusive shipment dates for one reporting period."
    },
    "states": {
      "minItems": 1,
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "OR",
          "CO",
          "CA",
          "MD",
          "MN",
          "WA"
        ]
      }
    },
    "bom": {
      "maxItems": 1000,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "components": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "material": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "gramsPerUnit": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 100000
                },
                "rigidity": {
                  "type": "string",
                  "enum": [
                    "rigid",
                    "flexible"
                  ]
                },
                "recycledContentPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100
                },
                "form": {
                  "description": "Use consumer_box for retail or direct-to-consumer boxes, shipping_mailer for an envelope or bag used as product packaging, envelope for stationery, packing_paper for loose fill sheets, cushioning for formed protective inserts or foam blocks, and tub for a container with a mouth similar in size to its base. A can is a closed non-aerosol, non-pressurized container. Use pallet for a rigid transport pallet, copy_paper for copier stock, and construction_paper for paper used in building construction. Use other only for a known form outside this list.",
                  "type": "string",
                  "enum": [
                    "bottle",
                    "jar",
                    "jug",
                    "container",
                    "can",
                    "aerosol",
                    "pressurized_cylinder",
                    "foil",
                    "molded_foil_container",
                    "film",
                    "bag",
                    "pouch",
                    "envelope",
                    "shipping_mailer",
                    "packing_paper",
                    "bubble_wrap",
                    "non_consumer_pallet_wrap",
                    "consumer_box",
                    "non_consumer_transport_box",
                    "aseptic_carton",
                    "gable_top_carton",
                    "tub",
                    "pail",
                    "bucket",
                    "nursery_pot",
                    "nursery_tray",
                    "cap",
                    "lid",
                    "package_handle",
                    "cup",
                    "plate",
                    "tray",
                    "hinged_container",
                    "squeeze_tube",
                    "cushioning",
                    "utensil",
                    "textile",
                    "pallet",
                    "storage_item",
                    "newspaper",
                    "newsprint_insert",
                    "magazine",
                    "catalog",
                    "directory",
                    "general_use_paper",
                    "other_printed_paper",
                    "copy_paper",
                    "archival_paper",
                    "construction_paper",
                    "bound_book",
                    "unsanitary_paper",
                    "butcher_paper",
                    "other"
                  ]
                },
                "printed": {
                  "description": "For stationery envelopes, whether supplied printed.",
                  "type": "boolean"
                },
                "capacityGallons": {
                  "description": "Usable capacity in US gallons.",
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                "containerGlass": {
                  "description": "Whether a bottle or jar is made of container glass.",
                  "type": "boolean"
                },
                "color": {
                  "description": "Use light_blue_or_green for transparent light blue or green PET. Natural milky HDPE is clear_natural. Use white for white pigment or white foam.",
                  "type": "string",
                  "enum": [
                    "clear_natural",
                    "light_blue_or_green",
                    "pigmented",
                    "white"
                  ]
                },
                "consumerUse": {
                  "description": "Personal or commercial use by an end consumer, or non_consumer for packaging that stays in the supply chain.",
                  "type": "string",
                  "enum": [
                    "personal",
                    "commercial",
                    "non_consumer"
                  ]
                },
                "containsPlastic": {
                  "description": "For California, whether the component includes reportable plastic. Supply the dominant material in material.",
                  "type": "boolean"
                },
                "smallFormat": {
                  "description": "Small-format status under the state's rules after any applicable sorting exceptions. Usually at least two dimensions are 2 inches or less.",
                  "type": "boolean"
                },
                "dimensionsInches": {
                  "description": "Length, width and height in inches. For circular items, use the diameter for length and width. Measure flexible items laid flat.",
                  "type": "array",
                  "prefixItems": [
                    {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "number",
                      "exclusiveMinimum": 0
                    }
                  ],
                  "items": false,
                  "minItems": 3,
                  "maxItems": 3
                },
                "preferredSizeSorting": {
                  "description": "Whether the item has an APR Preferred size-sorting assessment. Supply for at-threshold dimensions where the state applies this exception.",
                  "type": "boolean"
                },
                "fiberSource": {
                  "description": "Required for paper and fiber classification. Use wood for wood pulp, non_wood for a named non-wood plant fiber, or recycled for recycled paper fiber. Report algae and fungi in material instead.",
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "wood"
                        }
                      },
                      "required": [
                        "kind"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "non_wood"
                        },
                        "type": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 80,
                          "description": "Name of the plant fiber, such as bagasse or bamboo."
                        }
                      },
                      "required": [
                        "kind",
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "recycled"
                        }
                      },
                      "required": [
                        "kind"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "bleached": {
                  "description": "Whether the paperboard substrate is bleached.",
                  "type": "boolean"
                },
                "coating": {
                  "description": "Coating or laminate on the substrate. Use none for uncoated and unlaminated substrates, recycle_compatible for a recycling-compatible water-soluble coating, or other_barrier for wax, silicone, foil or another incompatible coating or layer.",
                  "type": "string",
                  "enum": [
                    "none",
                    "recycle_compatible",
                    "plastic",
                    "other_barrier"
                  ]
                },
                "coatingSides": {
                  "description": "Which sides of the paperboard have a coating or lamination.",
                  "type": "string",
                  "enum": [
                    "inside",
                    "outside",
                    "both"
                  ]
                },
                "contents": {
                  "description": "Contents of covered packaging. Hazardous means the product meets the reporting definition for hazard labeling. Raw_meat means direct contact with raw meat. Use other for verified ordinary contents or packaging that does not contain a product.",
                  "type": "string",
                  "enum": [
                    "automotive_fluid",
                    "pesticide_or_herbicide",
                    "hazardous",
                    "raw_meat",
                    "other"
                  ]
                },
                "containsProduct": {
                  "description": "Whether the packaging is used to contain a packaged product.",
                  "type": "boolean"
                },
                "resinCode": {
                  "description": "Resin identification code displayed on the item. Use null if there is no mark and omit if its presence is unknown.",
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "number",
                          "const": 1
                        },
                        {
                          "type": "number",
                          "const": 2
                        },
                        {
                          "type": "number",
                          "const": 3
                        },
                        {
                          "type": "number",
                          "const": 4
                        },
                        {
                          "type": "number",
                          "const": 5
                        },
                        {
                          "type": "number",
                          "const": 6
                        },
                        {
                          "type": "number",
                          "const": 7
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "manufacturing": {
                  "type": "string",
                  "enum": [
                    "thermoformed",
                    "injection_molded",
                    "other"
                  ]
                },
                "expanded": {
                  "description": "Whether polystyrene is expanded or foamed.",
                  "type": "boolean"
                },
                "monoMaterial": {
                  "description": "For film, whether it contains only the stated resin and has no layers of other materials.",
                  "type": "boolean"
                },
                "bagFormat": {
                  "description": "Whether a flexible or film item is a bag. Omit when unknown.",
                  "type": "boolean"
                },
                "recyclingCompatible": {
                  "description": "Whether film or squeeze-tube layers meet the applicable state recycling criteria. Oregon PE film must meet APR PE-CG-01 and have no incompatible layers, coatings, resins or additives. Oregon non-consumer pallet wrap must have no barrier layers or non-PE resins.",
                  "type": "boolean"
                },
                "compostability": {
                  "description": "Specify the applicable certification, designed for uncertified compostable plastic, or none when neither applies.",
                  "type": "string",
                  "enum": [
                    "none",
                    "ASTM D8410-22",
                    "ASTM D6868-21",
                    "ASTM D6400-23",
                    "designed"
                  ]
                },
                "marketedCompostable": {
                  "type": "boolean"
                },
                "markedCompostable": {
                  "description": "Whether the plastic item is marked for compostability under the California reporting guidance.",
                  "type": "boolean"
                },
                "foodServiceware": {
                  "type": "boolean"
                },
                "treated": {
                  "description": "Whether wood is treated or painted.",
                  "type": "boolean"
                },
                "pressurizedCylinderQualified": {
                  "description": "For Oregon cylinders, confirm the applicable DOT/UN specification or puncture-only design for non-refillable items, or an approved specification and water capacity of at most 109 L for refillable items. Exemptions are reported separately.",
                  "type": "boolean"
                },
                "newsprint": {
                  "description": "Whether the substrate is newsprint under the applicable state's definition. For Maryland use Environment Article § 9-1707.",
                  "type": "boolean"
                },
                "lowCirculationNewsMagazine": {
                  "description": "Whether a magazine has circulation below 95,000 and includes qualifying primary-source news or current-events content under the applicable state's definition.",
                  "type": "boolean"
                },
                "waFilmCompostable": {
                  "description": "For Washington film in direct contact with raw meat, confirm whether it satisfies RCW 70A.208.020(7), including the applicable labeling requirements of chapter 70A.455 RCW.",
                  "type": "boolean"
                },
                "beverageDepositByState": {
                  "description": "For a potentially deposit-eligible component, specify whether this component is covered by the state's beverage container deposit program in the report period. False means confirmed out of that program.",
                  "type": "object",
                  "propertyNames": {
                    "type": "string",
                    "enum": [
                      "OR",
                      "CO",
                      "CA",
                      "MD",
                      "MN",
                      "WA"
                    ]
                  },
                  "additionalProperties": {
                    "type": "boolean"
                  }
                },
                "otherExemptionByState": {
                  "description": "After checking the state's covered-material guidance for this component and the supplied units, specify whether another exemption applies. Check product and producer exemptions, industrial and durable packaging, and reusable/refillable supply where applicable. False confirms none applies and the item is a packaging, paper product or food-service item in the state's reporting scope. Leave unknown states absent.",
                  "type": "object",
                  "propertyNames": {
                    "type": "string",
                    "enum": [
                      "OR",
                      "CO",
                      "CA",
                      "MD",
                      "MN",
                      "WA"
                    ]
                  },
                  "additionalProperties": {
                    "type": "boolean"
                  }
                },
                "categoryByState": {
                  "description": "Provide a verified state reporting category or CalRecycle ID. Set a state to null for an exemption or other confirmed exclusion. Include only separable components and account for any inseparable parts in their parent component.",
                  "type": "object",
                  "propertyNames": {
                    "type": "string",
                    "enum": [
                      "OR",
                      "CO",
                      "CA",
                      "MD",
                      "MN",
                      "WA"
                    ]
                  },
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                }
              },
              "required": [
                "material",
                "gramsPerUnit"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "sku",
          "components"
        ],
        "additionalProperties": false
      },
      "description": "Per-SKU components to classify by dominant material, form and any required attributes such as size, color, resin mark, coating, contents and capacity. Supply fiberSource for paper or fiber. Confirm scope with otherExemptionByState and, when relevant, beverageDepositByState. Use categoryByState for a verified assignment or exclusion. Specify consumerUse for Oregon corrugated boxes, Colorado and the interim states. For reusable items submit only the units first supplied when the guidance requires it."
    },
    "shipments": {
      "maxItems": 2000,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "quantity": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "destination": {
            "type": "string",
            "pattern": "^[A-Z]{2}$"
          },
          "date": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "returns": {
            "default": 0,
            "description": "Units returned from this shipment, including ordinary customer returns.",
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "notPlacedOnMarket": {
            "default": 0,
            "description": "Subset of returns documented as never placed on this market. Only these units are subtracted.",
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          }
        },
        "required": [
          "sku",
          "quantity",
          "destination",
          "date"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "period",
    "states",
    "bom",
    "shipments"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "period": {
        "start": "2025-01-01",
        "end": "2025-12-31"
      },
      "states": [
        "OR",
        "CA"
      ],
      "bom": [
        {
          "sku": "shirt-blue",
          "components": [
            {
              "material": "corrugated cardboard",
              "form": "consumer_box",
              "gramsPerUnit": 104.2,
              "fiberSource": {
                "kind": "recycled"
              },
              "containsPlastic": false,
              "smallFormat": false,
              "coating": "none",
              "consumerUse": "personal",
              "otherExemptionByState": {
                "OR": false,
                "CA": false
              }
            }
          ]
        }
      ],
      "shipments": [
        {
          "sku": "shirt-blue",
          "destination": "OR",
          "quantity": 364,
          "returns": 4,
          "date": "2025-06-24"
        }
      ]
    }
  ]
}
```

Response:
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "reports": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "destination": {
            "type": "string"
          },
          "period": {
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              "end": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              }
            },
            "required": [
              "start",
              "end"
            ],
            "additionalProperties": false,
            "description": "Inclusive shipment dates for one reporting period."
          },
          "source": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "version": {
                "type": "string"
              }
            },
            "required": [
              "url",
              "version"
            ],
            "additionalProperties": false
          },
          "needs_review": {
            "type": "boolean"
          },
          "totals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "category": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "kg": {
                  "type": "number"
                }
              },
              "required": [
                "category",
                "label",
                "kg"
              ],
              "additionalProperties": false
            }
          },
          "trail": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sku": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "shipmentIndices": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                "bomIndex": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "shippedUnits": {
                  "type": "number"
                },
                "returnedUnits": {
                  "type": "number"
                },
                "notPlacedOnMarketUnits": {
                  "type": "number"
                },
                "reportableUnits": {
                  "type": "number"
                },
                "components": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "componentIndex": {
                        "type": "number"
                      },
                      "material": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 80
                      },
                      "gramsPerUnit": {
                        "type": "number",
                        "exclusiveMinimum": 0,
                        "maximum": 100000
                      },
                      "rigidity": {
                        "type": "string",
                        "enum": [
                          "rigid",
                          "flexible"
                        ]
                      },
                      "recycledContentPct": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100
                      },
                      "kg": {
                        "type": "number"
                      },
                      "category": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "mapped",
                          "excluded",
                          "needs_review"
                        ]
                      },
                      "reason": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "unmapped_material",
                              "missing_classification_attributes",
                              "ambiguous_category",
                              "category_requires_confirmation"
                            ]
                          },
                          {
                            "type": "string",
                            "const": "unknown_category"
                          }
                        ]
                      },
                      "suppliedCategory": {
                        "type": "string"
                      },
                      "missingAttributes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "candidateCategories": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "exclusion": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "componentIndex",
                      "material",
                      "gramsPerUnit",
                      "kg",
                      "category",
                      "status"
                    ],
                    "additionalProperties": false
                  }
                },
                "issue": {
                  "type": "string",
                  "const": "missing_bom"
                }
              },
              "required": [
                "sku",
                "shipmentIndices",
                "bomIndex",
                "shippedUnits",
                "returnedUnits",
                "notPlacedOnMarketUnits",
                "reportableUnits",
                "components"
              ],
              "additionalProperties": false
            }
          },
          "csv": {
            "description": "CSV of mapped weights. Null if no weights were mapped.",
            "type": [
              "string",
              "null"
            ]
          },
          "classificationSource": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "version": {
                "type": "string"
              }
            },
            "required": [
              "url",
              "version"
            ],
            "additionalProperties": false
          },
          "scopeSource": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "version": {
                "type": "string"
              }
            },
            "required": [
              "url",
              "version"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "destination",
          "period",
          "source",
          "needs_review",
          "totals",
          "trail",
          "csv",
          "classificationSource",
          "scopeSource"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "reports"
  ],
  "additionalProperties": false
}
```
