PJWASTE: Project Waste
The PJWASTE entity represents waste generated by a project, categorised by type and disposal method. Calculates Scope 3 emissions from waste disposal.
Default definition. This article describes the default
PJWASTE definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches PJWASTE.Entity properties
| Property | Value |
|---|---|
| Entity code | PJWASTE |
| Display name | Project Waste |
| Plural | Project Waste |
| Level | 72030 |
Use cases
Child entity of PJ via SUB|PJ comboKey. Waste categories follow typical construction waste streams. Disposal method affects the carbon factor applied. landfill has higher emissions than recycling. The carbon factor objectLookup should point to the appropriate disposal CARBONFACTOR.
Fields
General
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Waste description. |
wasteCategory | enum | Yes | Waste category. Valid ids: excavation (Excavation spoil), concrete (Concrete / masonry), metal (Metal (ferrous & non-ferrous)), plastic (Plastic / MDPE / HDPE), timber (Timber), electrical (Electrical / WEEE), hazardous (Hazardous), asbestos (Asbestos), general (General / mixed), packaging (Packaging). |
tonnes | number | Yes | Quantity (tonnes). |
disposalMethod | enum | Disposal method. Valid ids: landfill (Landfill), recycled (Recycled), reused (Reused on site), incineration (Incineration), specialist (Specialist disposal). | |
carbonFactor | reference → CARBONFACTOR | Carbon factor. | |
carbonFactorRate | relatedProperty | Factor rate (kgCO2e/unit). | |
kgCO2e | number | Tonnes x carbon factor rate. Read-only. | |
wasteCarrier | text | Waste carrier. | |
wasteTransferNote | text | Waste transfer note ref. | |
dateRemoved | date | Date removed. |
Relationships
- Lookups:
carbonFactorpoints atCARBONFACTORrecord.
Creating a Project Waste via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "PJWASTE",
"level": 72030,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example",
"wasteCategory": "excavation",
"tonnes": 100,
"disposalMethod": "landfill"
}
Listing PJWASTE records
# All project waste in your tenant
GET /v1/entities/PJWASTE/SUB