{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","title":"Plant-protection product use register","description":"The register in which a professional user of plant-protection products records each use (art. 67 of Regulation (EC) 1107/2009; Implementing Regulation (EU) 2023/564): three lists, one per type of use of the annex.","additionalProperties":false,"required":["user","register"],"properties":{"user":{"type":"object","description":"The professional user of plant-protection products who keeps this register.","additionalProperties":false,"required":["name","address"],"properties":{"name":{"type":"string","description":"Name of the professional user.","minLength":1},"enterprise_number":{"type":"string","description":"Belgian enterprise number (BCE / KBO) of the user (optional)."},"address":{"type":"string","description":"Address of the farm or seat.","minLength":1},"seat_region":{"type":"string","description":"Linguistic region of the operating seat (optional). Nothing is compared with it.","enum":["nl_region","fr_region","brussels","de_region"]},"is_contractor":{"type":"boolean","description":"True when the user applies the products for another person under a contract (optional)."},"client_name":{"type":"string","description":"Name of the client of a contractor; required when is_contractor is true."}},"allOf":[{"if":{"required":["is_contractor"],"properties":{"is_contractor":{"const":true}}},"then":{"required":["client_name"]}}]},"register":{"type":"object","description":"The register: period covered, retention statement and the three sections of uses.","additionalProperties":false,"required":["period_start","period_end"],"properties":{"period_start":{"type":"string","description":"First day of the period covered by the register.","format":"date"},"period_end":{"type":"string","description":"Last day of the period covered by the register.","format":"date"},"retention_stated":{"type":"string","description":"Retention period the user states, printed as typed (optional); nothing is computed or defaulted."},"no_use_declared":{"type":"boolean","description":"True when the user declares that no use happened in the period; prints the declaration only when true."}}},"surface_uses":{"type":"array","description":"Treatments of surfaces (annex row 1), one line per use.","items":{"type":"object","additionalProperties":false,"required":["date","product_name","authorisation_number","dose_value","dose_unit","size_value","size_unit","crop_or_situation"],"properties":{"date":{"type":"string","description":"Date of the use.","format":"date"},"start_time":{"type":"string","description":"Start hour of the use, where the hour is relevant (optional)."},"product_name":{"type":"string","description":"Name of the plant-protection product.","minLength":1},"authorisation_number":{"type":"string","description":"Authorisation number of the product.","minLength":1},"dose_value":{"type":"number","description":"Dose applied, as the user typed it.","minimum":0},"dose_unit":{"type":"string","description":"Unit of the dose; no default.","enum":["kg_per_ha","l_per_ha","other_unit"]},"dose_unit_other":{"type":"string","description":"The unit when dose_unit is other_unit; required then."},"location_land_unit":{"type":"string","description":"Land unit of the geospatial aid application, if available (optional)."},"location_method":{"type":"string","description":"Determination method of art. 1, § 2, where no land unit is available (optional)."},"size_value":{"type":"number","description":"Size of the area treated, as typed.","minimum":0},"size_unit":{"type":"string","description":"Unit of the area; no default.","enum":["ha","other_unit"]},"size_unit_other":{"type":"string","description":"The unit when size_unit is other_unit; required then."},"treated_fraction":{"type":"string","description":"Fraction of the unit or area treated, printed as typed (optional)."},"crop_or_situation":{"type":"string","description":"Crop or land situation.","minLength":1},"eppo_code":{"type":"string","description":"EPPO code of the crop (optional, where applicable)."},"bbch_stage":{"type":"string","description":"BBCH growth stage (optional, where applicable)."},"target":{"type":"string","description":"Target pest, weed or disease (optional)."},"operator":{"type":"string","description":"Person who applied the product (optional)."},"remarks":{"type":"string","description":"Free remarks (optional)."}},"allOf":[{"if":{"required":["dose_unit"],"properties":{"dose_unit":{"const":"other_unit"}}},"then":{"required":["dose_unit_other"]}},{"if":{"required":["size_unit"],"properties":{"size_unit":{"const":"other_unit"}}},"then":{"required":["size_unit_other"]}}]}},"enclosed_uses":{"type":"array","description":"Treatments of or in enclosed spaces (annex row 2), one line per use.","items":{"type":"object","additionalProperties":false,"required":["date","product_name","authorisation_number","dose_value","dose_unit","installation_number","location_method","size_value","size_unit","crop_or_situation"],"properties":{"date":{"type":"string","description":"Date of the use.","format":"date"},"product_name":{"type":"string","description":"Name of the plant-protection product.","minLength":1},"authorisation_number":{"type":"string","description":"Authorisation number of the product.","minLength":1},"dose_value":{"type":"number","description":"Dose applied, as typed.","minimum":0},"dose_unit":{"type":"string","description":"Unit of the dose; no default.","enum":["kg_per_m3","l_per_m3","kg_per_m2","l_per_m2","other_unit"]},"dose_unit_other":{"type":"string","description":"The unit when dose_unit is other_unit; required then."},"installation_number":{"type":"string","description":"Number of the store or greenhouse.","minLength":1},"location_method":{"type":"string","description":"Determination method of art. 1, § 2 (always required for an enclosed space).","minLength":1},"size_value":{"type":"number","description":"Volume or surface of the installation treated.","minimum":0},"size_unit":{"type":"string","description":"Unit of the volume or surface; no default.","enum":["m3","m2","other_unit"]},"size_unit_other":{"type":"string","description":"The unit when size_unit is other_unit; required then."},"treated_fraction":{"type":"string","description":"Fraction treated, printed as typed (optional)."},"crop_or_situation":{"type":"string","description":"Crop or situation treated.","minLength":1},"eppo_code":{"type":"string","description":"EPPO code (optional)."},"bbch_stage":{"type":"string","description":"BBCH stage (optional)."},"remarks":{"type":"string","description":"Free remarks (optional)."}},"allOf":[{"if":{"required":["dose_unit"],"properties":{"dose_unit":{"const":"other_unit"}}},"then":{"required":["dose_unit_other"]}},{"if":{"required":["size_unit"],"properties":{"size_unit":{"const":"other_unit"}}},"then":{"required":["size_unit_other"]}}]}},"seed_uses":{"type":"array","description":"Treatments of seeds or propagating material (annex row 3), one line per use.","items":{"type":"object","additionalProperties":false,"required":["date","product_name","authorisation_number","dose_value","dose_product_unit","dose_per","location_method","quantity_treated_value","quantity_treated_unit","crop_or_situation"],"properties":{"date":{"type":"string","description":"Date of the use.","format":"date"},"product_name":{"type":"string","description":"Name of the plant-protection product.","minLength":1},"authorisation_number":{"type":"string","description":"Authorisation number of the product.","minLength":1},"dose_value":{"type":"number","description":"Quantity of product applied per unit of seed, as typed.","minimum":0},"dose_product_unit":{"type":"string","description":"Unit of the product quantity.","enum":["kg","l"]},"dose_per":{"type":"string","description":"Denominator of the dose, exactly as the annex words it.","enum":["kg","t","seed_count"]},"dose_unit_other":{"type":"string","description":"An adapted unit (annex notes 1 and 9), printed as typed (optional)."},"location_method":{"type":"string","description":"Determination method of art. 1, § 2 (the only location item of a seed treatment).","minLength":1},"quantity_treated_value":{"type":"number","description":"Quantity of seed treated, as typed.","minimum":0},"quantity_treated_unit":{"type":"string","description":"Unit of the quantity treated.","enum":["kg","t","seed_count"]},"crop_or_situation":{"type":"string","description":"Crop of the seed or propagating material.","minLength":1},"eppo_code":{"type":"string","description":"EPPO code (optional)."},"seed_lot_number":{"type":"string","description":"Lot number, where applicable (optional)."},"remarks":{"type":"string","description":"Free remarks (optional)."}}}}}}