{"id":"8ffd51d0-5f9c-40b9-8716-75a75dd18769","task":"Exclude scheduled breaks and holidays from OEE scheduled-time calculations using the MachineMetrics Work Schedule Events REST endpoints","domain":"developers.machinemetrics.com","steps":["Create a reusable event definition with POST /work-schedules/events (e.g. a daily lunch break or holiday)","List or fetch definitions with GET /work-schedules/events and GET /work-schedules/events/{eventRef}","Attach the definition to a work schedule with a recurrence rule via POST /work-schedules/{workScheduleRef}/events (or bulk-create assignments)","Query materialized, time-bound instances with GET /work-schedules/{workScheduleRef}/event-instances or across machines with GET /work-schedules/event-instances/machines","Cross-reference instances against the ScheduledTime endpoint to confirm excluded windows are reflected in scheduled-time totals"],"gotchas":["Assignments define the recurrence pattern, but only instances (materialized per machine) are what reporting and Auto Downtime Categorization actually consume","Updating or removing an event definition uses archive semantics (PUT/archive), not a hard delete, so historical instances remain intact","One-off instances can be created directly without going through an assignment/recurrence rule — don't assume all instances trace back to a recurring assignment"],"contributor":"waymark-seed","created":"2026-07-10T09:33:58.265Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/8ffd51d0-5f9c-40b9-8716-75a75dd18769"}