{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://embodied-arena.chrishongap.chatgpt.site/wanted-10k/service-continuity.schema.json","title":"WANTED Service Continuity Integrity Manifest","type":"object","additionalProperties":false,"required":["profile_version","target_certification","protocol","declared_environment_count","declared_segment_count","declared_maintenance_action_count","undocumented_service_events","out_of_band_maintenance_actions","environments","service_segments","maintenance_actions","claimed","upstream_bindings","evidence","assessor"],"properties":{"profile_version":{"const":"0.2-SC1"},"target_certification":{"enum":["WANTED_LAB","WANTED_WILD","WANTED_10K"]},"protocol":{"type":"object","additionalProperties":false,"required":["inclusion_rule","resident_clock_source","state_rule","downtime_clock_rule","maintenance_rule","recovery_rule","public_evidence_rule"],"properties":{"inclusion_rule":{"const":"complete_partition_of_every_resident_second"},"resident_clock_source":{"const":"passing_exposure_ledger_0.2-X1"},"state_rule":{"const":"one_mutually_exclusive_service_state_per_second"},"downtime_clock_rule":{"const":"planned_and_unplanned_downtime_remain_in_resident_exposure"},"maintenance_rule":{"const":"every_human_action_and_replaced_part_is_retained"},"recovery_rule":{"const":"unavailable_segment_duration_without_hidden_pause"},"public_evidence_rule":{"const":"aggregate_only_no_participant_data"}}},"declared_environment_count":{"type":"integer","minimum":1},"declared_segment_count":{"type":"integer","minimum":1},"declared_maintenance_action_count":{"type":"integer","minimum":0},"undocumented_service_events":{"const":0},"out_of_band_maintenance_actions":{"const":0},"environments":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["environment_id_sha256","activated_at","terminal_at","resident_seconds","exposure_record_sha256"],"properties":{"environment_id_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"activated_at":{"type":"string","format":"date-time","pattern":"Z$"},"terminal_at":{"type":"string","format":"date-time","pattern":"Z$"},"resident_seconds":{"type":"integer","minimum":1,"maximum":36000000},"exposure_record_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}}},"service_segments":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["segment_id","environment_id_sha256","started_at","ended_at","state","cause","planned","user_visible","linked_start_event_sha256","linked_end_event_sha256","service_event_sha256"],"properties":{"segment_id":{"type":"string","minLength":1},"environment_id_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"started_at":{"type":"string","format":"date-time","pattern":"Z$"},"ended_at":{"type":"string","format":"date-time","pattern":"Z$"},"state":{"enum":["autonomous_available","degraded","unavailable"]},"cause":{"enum":["none","robot_hardware","robot_software","cloud","network","power","site","planned_maintenance"]},"planned":{"type":"boolean"},"user_visible":{"type":"boolean"},"linked_start_event_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"linked_end_event_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"service_event_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}}},"maintenance_actions":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["action_id","environment_id_sha256","service_segment_id","kind","actor_role","started_at","ended_at","person_count","resolution","replacement_parts","consumable_units","work_order_sha256"],"properties":{"action_id":{"type":"string","minLength":1},"environment_id_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"service_segment_id":{"type":"string","minLength":1},"kind":{"enum":["inspection","preventive","corrective","replacement","upgrade"]},"actor_role":{"enum":["participant","technician","operator"]},"started_at":{"type":"string","format":"date-time","pattern":"Z$"},"ended_at":{"type":"string","format":"date-time","pattern":"Z$"},"person_count":{"type":"integer","minimum":1},"resolution":{"enum":["restored","degraded","no_change","removed"]},"replacement_parts":{"type":"integer","minimum":0},"consumable_units":{"type":"integer","minimum":0},"work_order_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}}},"claimed":{"type":"object","additionalProperties":false,"required":["environment_count","resident_hours","autonomous_available_fraction","degraded_fraction","unavailable_fraction","planned_downtime_hours","unplanned_downtime_hours","unplanned_outage_count","longest_unplanned_outage_hours","mean_unplanned_recovery_hours","no_unplanned_outage_lower_bound_hours","maintenance_action_count","participant_maintenance_minutes_per_100_hours","technician_minutes_per_100_hours","technician_visit_count","replacement_part_count","consumable_unit_count","cloud_dependency_downtime_hours"],"properties":{"environment_count":{"type":"integer","minimum":1},"resident_hours":{"type":"number","minimum":0},"autonomous_available_fraction":{"type":"number","minimum":0,"maximum":1},"degraded_fraction":{"type":"number","minimum":0,"maximum":1},"unavailable_fraction":{"type":"number","minimum":0,"maximum":1},"planned_downtime_hours":{"type":"number","minimum":0},"unplanned_downtime_hours":{"type":"number","minimum":0},"unplanned_outage_count":{"type":"integer","minimum":0},"longest_unplanned_outage_hours":{"type":"number","minimum":0},"mean_unplanned_recovery_hours":{"type":["number","null"],"minimum":0},"no_unplanned_outage_lower_bound_hours":{"type":["number","null"],"minimum":0},"maintenance_action_count":{"type":"integer","minimum":0},"participant_maintenance_minutes_per_100_hours":{"type":"number","minimum":0},"technician_minutes_per_100_hours":{"type":"number","minimum":0},"technician_visit_count":{"type":"integer","minimum":0},"replacement_part_count":{"type":"integer","minimum":0},"consumable_unit_count":{"type":"integer","minimum":0},"cloud_dependency_downtime_hours":{"type":"number","minimum":0}}},"upstream_bindings":{"type":"object","additionalProperties":false,"required":["preregistration_sha256","exposure_integrity_sha256","telemetry_authenticity_sha256","assistance_integrity_sha256","robot_policy_sha256"],"properties":{"preregistration_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"exposure_integrity_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"telemetry_authenticity_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"assistance_integrity_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"robot_policy_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"evidence":{"type":"object","additionalProperties":false,"required":["controlled_service_register_uri","controlled_service_register_sha256","maintenance_work_orders_sha256","parts_and_consumables_ledger_sha256","public_aggregate_only"],"properties":{"controlled_service_register_uri":{"type":"string","format":"uri","pattern":"^https://"},"controlled_service_register_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"maintenance_work_orders_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"parts_and_consumables_ledger_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"public_aggregate_only":{"const":true}}},"assessor":{"type":"object","additionalProperties":false,"required":["name","organization","independent_of_sponsor","attested","signed_at"],"properties":{"name":{"type":"string","minLength":1},"organization":{"type":"string","minLength":1},"independent_of_sponsor":{"const":true},"attested":{"const":true},"signed_at":{"type":"string","format":"date-time","pattern":"Z$"}}}}}