{"standard":"CleanTask","version":"1.0","description":"Open machine-readable cleaning-task specification. A cleaning scope any human, robot or AI agent can read, price, perform and verify.","maintainer":"CQD New Gen","license":"CC BY 4.0 — free to use with attribution to CQD New Gen (cqdnewgen.ai)","activities":["wet_scrub","dry_vac","dust_mop","sweep","mop","touchpoint","washroom","glass","waste","consumables","deep_clean","disinfection","floor_polish"],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.cqdnewgen.ai/api/cleantask","title":"CleanTask","description":"Open machine-readable specification of a cleaning task, performable by a human, a robot or a mixed crew.","type":"object","required":["cleantask_version","task_id","zone","activity","eligible_performers","accountable_human_id"],"properties":{"cleantask_version":{"type":"string","const":"1.0"},"task_id":{"type":"string","description":"Unique task id, e.g. CQD-T-2026-0918442"},"site_id":{"type":"string","description":"Site identifier, e.g. CQD-S-00921"},"zone":{"type":"object","required":["area_sqm","surface"],"properties":{"id":{"type":"string"},"floor":{"type":"integer"},"area_sqm":{"type":"number","description":"Area to be cleaned, square metres"},"surface":{"type":"string","description":"e.g. vinyl, carpet, tile, concrete, stone"},"obstruction_density":{"type":"string","enum":["low","medium","high"]}}},"activity":{"type":"string","description":"Cleaning activity","examples":["wet_scrub","dry_vac","dust_mop","touchpoint","washroom","glass","waste","deep_clean","disinfection"]},"frequency":{"type":"string","examples":["once","daily","weekly","monthly","reactive"]},"window":{"type":"object","description":"Time window the task must complete within.","properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"tz":{"type":"string"}}},"standard":{"type":"object","description":"The outcome the task must meet, referenced to a cleaning framework.","properties":{"framework":{"type":"string","examples":["BICSc","ISO","custom"]},"reference":{"type":"string"},"outcome":{"type":"string","description":"Plain-English pass condition"}}},"constraints":{"type":"object","properties":{"max_noise_db":{"type":"number"},"chemical_restrictions":{"type":"array","items":{"type":"string"}},"lone_working":{"type":"boolean"},"access":{"type":"string","examples":["open","key_holder","escorted"]}}},"eligible_performers":{"type":"array","items":{"type":"string","enum":["robot","human","mixed_crew"]}},"verification_required":{"type":"array","items":{"type":"string","enum":["coverage_map","photo_before_after","human_signoff","telemetry"]}},"fallback":{"type":"object","description":"What happens if the assigned performer fails.","properties":{"on_robot_failure":{"type":"string","examples":["dispatch_human"]},"sla_minutes":{"type":"integer"}}},"accountable_human_id":{"type":"string","description":"Named human accountable for the task. Mandatory for any task that may be performed by a machine."},"commercial":{"type":"object","properties":{"currency":{"type":"string"},"value":{"type":"number"},"settlement":{"type":"string","examples":["stripe"]}}}}},"example":{"cleantask_version":"1.0","task_id":"CQD-T-2026-0918442","site_id":"CQD-S-00921","zone":{"id":"Z-3F-EAST","floor":3,"area_sqm":1840,"surface":"vinyl","obstruction_density":"low"},"activity":"wet_scrub","frequency":"daily","window":{"start":"2026-09-18T22:00:00Z","end":"2026-09-19T04:00:00Z","tz":"Europe/London"},"standard":{"framework":"BICSc","reference":"CP-04","outcome":"no visible soiling, no streaking, dry within 20 min"},"constraints":{"max_noise_db":65,"chemical_restrictions":["no_bleach"],"lone_working":false,"access":"key_holder"},"eligible_performers":["robot","human","mixed_crew"],"verification_required":["coverage_map","photo_before_after","human_signoff"],"fallback":{"on_robot_failure":"dispatch_human","sla_minutes":90},"accountable_human_id":"CQD-M-183902","commercial":{"currency":"GBP","value":46,"settlement":"stripe"}}}