{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","title":"Register of produced waste (Flanders, Brussels-Capital, Wallonia)","description":"The register of produced waste that an enterprise keeps itself, in the Region where the waste is produced: Flanders (Materialendecreet art. 23, VLAREMA art. 7.2.1.1), Brussels-Capital (ordinance of 14-06-2012 art. 45, Brudalex art. 1.7) or Wallonia (decree of 09-03-2023 art. 72). One document per site and per Region; nothing is computed, defaulted or looked up.","additionalProperties":false,"required":["document","company","region"],"properties":{"document":{"type":"object","additionalProperties":false,"description":"The page of the register.","properties":{"date":{"type":"string","format":"date","description":"Date on which this page of the register is drawn up."},"place":{"type":"string","description":"Place where the page is drawn up (optional)."},"reference":{"type":"string","description":"Internal reference of the document (optional)."}},"required":["date"]},"company":{"type":"object","additionalProperties":false,"description":"The enterprise that keeps the register.","properties":{"name":{"type":"string","description":"Name of the enterprise.","minLength":1},"legal_form":{"type":"string","description":"Legal form, as the enterprise writes it (optional)."},"address":{"type":"string","description":"Registered seat of the enterprise.","minLength":1},"enterprise_number":{"type":"string","description":"Belgian enterprise number (KBO / BCE), written 0123.456.789.","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"},"establishment_unit_number":{"type":"string","description":"Establishment-unit number of the site, as the enterprise writes it (optional)."},"seat_region":{"type":"string","enum":["nl_region","fr_region","brussels","de_region"],"description":"Linguistic region of the operating seat (optional): Dutch-language region, French-language region, Brussels-Capital or German-language region. Nothing is compared with it."},"site_name":{"type":"string","description":"Name of the site whose waste is listed (optional)."}},"required":["name","address"]},"region":{"type":"string","enum":["flanders","brussels","wallonia"],"description":"The Region where the waste is produced (the site, not the registered seat); it decides which duty, which rows and which legal text apply."},"period_start":{"type":"string","format":"date","description":"First day covered by this page of the register (optional)."},"period_end":{"type":"string","format":"date","description":"Last day covered by this page of the register (optional)."},"register_location":{"type":"string","description":"Operating seat where the register is kept and shown to the inspector (optional)."},"wa_duty_basis":{"type":"string","enum":["hazardous_producer","designated_by_government","other_art72_actor","other_executing_measure"],"description":"Wallonia only: on what basis the enterprise keeps the register."},"wa_duty_basis_note":{"type":"string","description":"Wallonia only: names the measure when the basis is another executing measure (optional otherwise)."},"no_waste_declared":{"type":"boolean","description":"The enterprise declares that it produced no waste in the period (optional)."},"rows_flanders":{"type":"array","description":"Flanders: one row per production or removal of waste.","items":{"type":"object","additionalProperties":false,"required":["date","transport_mode","quantity_t","waste_code","composition","description","treatment_mode","operation_nature","processor"],"properties":{"date":{"type":"string","format":"date","description":"Date of production or removal of the waste (VLAREMA art. 7.2.1.1, 1)."},"transport_mode":{"type":"string","enum":["waterway","rail","air","pipeline","road"],"description":"Mode of transport: waterway, rail, air, pipeline or road (art. 7.2.1.1, 2)."},"quantity_t":{"type":"string","description":"Quantity of waste in tonnes, as the enterprise records it, decimals kept (art. 7.2.1.1, 3); the unit is fixed by the regulation, write only the figure.","pattern":"^[0-9]+([.,][0-9]+)?$"},"waste_code":{"type":"string","description":"EURAL code of the waste, as the enterprise writes it (art. 7.2.1.1, 4).","minLength":1},"composition":{"type":"string","description":"Nature and composition of the waste (art. 7.2.1.1, 4).","minLength":1},"description":{"type":"string","description":"Description of the waste or indication of its quality (art. 7.2.1.1, 5).","minLength":1},"treatment_mode":{"type":"string","enum":["landfill","incineration_r1","incineration_d10","reuse","compost_digest","recycling","sorting","storage_transfer","drying_separation","other_pretreatment"],"description":"Processing or application mode of the waste (art. 7.2.1.1, 6)."},"operation_nature":{"type":"string","description":"Nature of the waste operation of section 4.2 of the regulation, as the enterprise writes it (art. 7.2.1.1, 7).","minLength":1},"collector":{"type":"object","additionalProperties":false,"description":"Collector, waste trader or broker, where applicable (art. 7.2.1.1, 8).","properties":{"name":{"type":"string","description":"Name of the collector, trader or broker.","minLength":1},"address":{"type":"string","description":"Address of the collector, trader or broker.","minLength":1},"identification_number":{"type":"string","description":"Identification number of the collector, trader or broker (optional)."}},"required":["name","address"]},"processor":{"type":"object","additionalProperties":false,"description":"Processor of the waste (art. 7.2.1.1, 9).","properties":{"name":{"type":"string","description":"Name of the processor.","minLength":1},"address":{"type":"string","description":"Address of the processor.","minLength":1},"identification_number":{"type":"string","description":"Identification number of the processor (optional): the one the regulation defines in art. 7.1.1."}},"required":["name","address"]},"own_reference":{"type":"string","description":"The enterprise's own reference for the movement (container, site) (optional)."},"contract_reference":{"type":"string","description":"Reference of the collection contract (optional)."},"identification_form_ref":{"type":"string","description":"Number of the identification form of the movement (optional)."},"delivery_receipt_ref":{"type":"string","description":"Number of the delivery receipt (optional)."},"remarks":{"type":"string","description":"Internal remarks (optional)."}}}},"rows_brussels":{"type":"array","description":"Brussels-Capital: one row per entry of the register.","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","format":"date","description":"Date of the movement or of the entry (optional)."},"is_hazardous":{"type":"boolean","description":"Whether the enterprise states that this waste is hazardous (optional); decides which statements print, no verdict is derived from the code."},"waste_code":{"type":"string","description":"Code of the waste list, as the enterprise writes it (optional)."},"description":{"type":"string","description":"Description of the waste (optional)."},"composition":{"type":"string","description":"Composition and physical characteristics of the waste (optional; hazardous waste)."},"origin":{"type":"string","description":"Pick-up address when different from the site (optional)."},"quantity":{"type":"string","description":"Quantity as the enterprise records it, decimals kept (optional).","pattern":"^[0-9]+([.,][0-9]+)?$"},"unit":{"type":"string","enum":["t","kg","m3"],"description":"Unit of the quantity: tonne, kilogram or cubic metre (optional)."},"d_or_r_code":{"type":"string","description":"D or R code of the treatment (optional)."},"collector":{"type":"object","additionalProperties":false,"description":"Collector, trader or broker, where there is one.","properties":{"name":{"type":"string","description":"Name of the collector, trader or broker.","minLength":1},"address":{"type":"string","description":"Address of the collector, trader or broker.","minLength":1},"registration_number":{"type":"string","description":"Registration or approval number (optional)."}},"required":["name","address"]},"transporter":{"type":"object","additionalProperties":false,"description":"Transporter, where there is one.","properties":{"name":{"type":"string","description":"Name of the transporter.","minLength":1},"address":{"type":"string","description":"Address of the transporter.","minLength":1},"registration_number":{"type":"string","description":"Registration number of the transporter (optional)."}},"required":["name","address"]},"processor":{"type":"object","additionalProperties":false,"description":"Enterprise where the waste is handed over, where there is one.","properties":{"name":{"type":"string","description":"Name of the enterprise.","minLength":1},"address":{"type":"string","description":"Address of the operating seat.","minLength":1},"identification_number":{"type":"string","description":"Enterprise number of that enterprise (optional)."}},"required":["name","address"]},"collection_frequency":{"type":"string","description":"Collection frequency (optional)."},"traceability_document_ref":{"type":"string","description":"Number of the traceability document (optional)."},"invoice_ref":{"type":"string","description":"Number of the invoice used as traceability document (optional)."},"packaging_type_count":{"type":"string","description":"Type and number of packagings (optional; hazardous waste)."},"transport_instructions":{"type":"string","description":"Special transport instructions (optional; hazardous waste)."},"own_treatment":{"type":"boolean","description":"Whether the enterprise treats this waste itself (optional)."},"own_reference":{"type":"string","description":"The enterprise's own reference for the entry (container, site) (optional)."},"contract_reference":{"type":"string","description":"Reference of the collection contract (optional)."},"remarks":{"type":"string","description":"Internal remarks (optional)."}}}},"rows_wallonia":{"type":"array","description":"Wallonia: one row per chronological entry of the register.","items":{"type":"object","additionalProperties":false,"required":["date","quantity","unit","nature","origin","initial_producer"],"properties":{"date":{"type":"string","format":"date","description":"Date on which the waste is ceded or taken over (decree art. 72 par. 2, 3)."},"quantity":{"type":"string","description":"Quantity of waste as the enterprise records it, decimals kept (art. 72 par. 2, 1).","pattern":"^[0-9]+([.,][0-9]+)?$"},"unit":{"type":"string","description":"Unit of the quantity, as the enterprise writes it (art. 72 par. 2, 1).","minLength":1},"nature":{"type":"string","description":"Nature of the waste (art. 72 par. 2, 1).","minLength":1},"origin":{"type":"string","description":"Origin of the waste (art. 72 par. 2, 1).","minLength":1},"initial_producer":{"type":"boolean","description":"Whether the enterprise is the initial producer of the waste (art. 72 par. 2, 2)."},"previous_holder_name_address":{"type":"string","description":"Name and address of the previous holder of the waste, when the enterprise is not the initial producer (art. 72 par. 2, 2)."},"destination":{"type":"string","description":"Destination of the waste (optional)."},"collection_frequency":{"type":"string","description":"Collection frequency (optional)."},"transport_means":{"type":"string","description":"Means of transport (optional)."},"transporter":{"type":"object","additionalProperties":false,"description":"Approved or registered transporter, where there is one.","properties":{"name":{"type":"string","description":"Name of the transporter.","minLength":1},"address":{"type":"string","description":"Address of the transporter.","minLength":1},"registration_number":{"type":"string","description":"Registration number of the transporter (optional)."}},"required":["name","address"]},"collector":{"type":"object","additionalProperties":false,"description":"Collector, trader or broker that took the waste over, where there is one.","properties":{"name":{"type":"string","description":"Name of the collector, trader or broker.","minLength":1},"address":{"type":"string","description":"Address of the collector, trader or broker.","minLength":1}},"required":["name","address"]},"treatment_mode":{"type":"string","description":"Intended mode of grouping, pre-treatment, recovery or disposal (optional)."},"recovery_or_disposal_products":{"type":"string","description":"Quantity and nature of the products, materials or waste resulting from the operation (optional; for an operator that treats)."},"is_hazardous":{"type":"boolean","description":"Whether the enterprise states that this waste is hazardous (optional)."},"waste_code":{"type":"string","description":"Code of the waste list, as the enterprise writes it (optional)."},"own_reference":{"type":"string","description":"The enterprise's own reference for the row (container, site) (optional)."},"contract_reference":{"type":"string","description":"Reference of the collection contract (optional)."},"remarks":{"type":"string","description":"Internal remarks (optional)."}},"allOf":[{"if":{"properties":{"initial_producer":{"const":false}},"required":["initial_producer"]},"then":{"required":["previous_holder_name_address"]}}]}},"management_proofs":{"type":"array","description":"Brussels-Capital: the proofs of management of non-household waste (ordinance art. 23 par. 4).","items":{"type":"object","additionalProperties":false,"required":["kind","reference"],"properties":{"kind":{"type":"string","enum":["collection_contract","collector_document","installation_document","own_treatment_register"],"description":"Kind of proof."},"reference":{"type":"string","description":"Reference of the proof.","minLength":1},"counterparty":{"type":"string","description":"Collector, trader or installation concerned (optional)."}}}},"annual_totals":{"type":"array","description":"Annual totals per waste code, typed by the enterprise for its annual report; never computed.","items":{"type":"object","additionalProperties":false,"required":["year","waste_code","quantity","unit"],"properties":{"year":{"type":"string","description":"Calendar year of the total.","minLength":1},"waste_code":{"type":"string","description":"Waste code the total is for.","minLength":1},"quantity":{"type":"string","description":"Total quantity as the enterprise records it, decimals kept.","pattern":"^[0-9]+([.,][0-9]+)?$"},"unit":{"type":"string","description":"Unit of the total.","minLength":1},"remarks":{"type":"string","description":"Remarks (optional)."}}}}},"allOf":[{"if":{"properties":{"region":{"const":"flanders"}},"required":["region"]},"then":{"required":["rows_flanders"]}},{"if":{"properties":{"region":{"const":"brussels"}},"required":["region"]},"then":{"required":["rows_brussels"]}},{"if":{"properties":{"region":{"const":"wallonia"}},"required":["region"]},"then":{"required":["rows_wallonia","wa_duty_basis"]}},{"if":{"properties":{"wa_duty_basis":{"const":"other_executing_measure"}},"required":["wa_duty_basis"]},"then":{"required":["wa_duty_basis_note"]}}]}