{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://embodied-arena.chrishongap.chatgpt.site/wanted-10k/sampling-stopping.schema.json","title":"WANTED Sampling and Stopping Integrity Manifest","type":"object","additionalProperties":false,"required":["profile_version","target_certification","protocol","study","plan","execution","monitoring_reviews","claimed","evidence","assessor"],"properties":{"profile_version":{"const":"0.2-ST1"},"target_certification":{"enum":["PREQUALIFIED","WANTED_LAB","WANTED_WILD","WANTED_10K"]},"protocol":{"type":"object","additionalProperties":false,"required":["closure_rule","primary_outcome_access_rule","permitted_monitoring_purposes","efficacy_or_futility_stopping_permitted","outcome_adaptive_enrollment_permitted","outcome_adaptive_followup_permitted","overshoot_rule","shortfall_rule","emergency_rule"],"properties":{"closure_rule":{"const":"close_only_when_frozen_unit_target_exposure_floor_and_calendar_cutoff_are_satisfied"},"primary_outcome_access_rule":{"const":"locked_until_final_observation_cutoff"},"permitted_monitoring_purposes":{"const":["safety","privacy","operational_integrity","data_completeness"]},"efficacy_or_futility_stopping_permitted":{"const":false},"outcome_adaptive_enrollment_permitted":{"const":false},"outcome_adaptive_followup_permitted":{"const":false},"overshoot_rule":{"const":"retain_every_activated_unit_and_all_observed_exposure"},"shortfall_rule":{"const":"no_certification_claim_until_every_frozen_minimum_is_met"},"emergency_rule":{"const":"safety_or_privacy_stop_remains_visible_and_never_becomes_a_favorable_cutoff"}}},"study":{"type":"object","additionalProperties":false,"required":["study_id","preregistration_sha256","claim_revision_id","plan_registered_at","first_benchmark_activity_at","submission_at"],"properties":{"study_id":{"type":"string","minLength":1},"preregistration_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"claim_revision_id":{"type":"string","minLength":1},"plan_registered_at":{"type":"string","format":"date-time"},"first_benchmark_activity_at":{"type":"string","format":"date-time"},"submission_at":{"type":"string","format":"date-time"}}},"plan":{"type":"object","additionalProperties":false,"required":["unit_type","planned_units","planned_exposure_hours","planned_cutoff_at","decision_rule_sha256","sampling_frame_sha256"],"properties":{"unit_type":{"enum":["preflight_trial","independent_environment"]},"planned_units":{"type":"integer","minimum":0},"planned_exposure_hours":{"type":"number","minimum":0},"planned_cutoff_at":{"type":"string","format":"date-time"},"decision_rule_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"sampling_frame_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"execution":{"type":"object","additionalProperties":false,"required":["actual_units","actual_exposure_hours","operational_overshoot_units","first_activity_at","enrollment_closed_at","observation_cutoff_at","first_primary_outcome_access_at","primary_outcome_access_events_before_cutoff","unscheduled_primary_analyses","result_informed_extensions","result_informed_early_stops","target_changes_after_activity","cutoff_changes_after_activity","all_activated_units_retained","all_overshoot_units_retained"],"properties":{"actual_units":{"type":"integer","minimum":0},"actual_exposure_hours":{"type":"number","minimum":0},"operational_overshoot_units":{"type":"integer","minimum":0},"first_activity_at":{"type":"string","format":"date-time"},"enrollment_closed_at":{"type":"string","format":"date-time"},"observation_cutoff_at":{"type":"string","format":"date-time"},"first_primary_outcome_access_at":{"type":"string","format":"date-time"},"primary_outcome_access_events_before_cutoff":{"const":0},"unscheduled_primary_analyses":{"const":0},"result_informed_extensions":{"const":0},"result_informed_early_stops":{"const":0},"target_changes_after_activity":{"const":0},"cutoff_changes_after_activity":{"const":0},"all_activated_units_retained":{"const":true},"all_overshoot_units_retained":{"const":true}}},"monitoring_reviews":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["review_id","purpose","reviewed_at","reviewer","independent_of_sponsor","primary_outcomes_visible","aggregate_w_visible","recommendation","source_sha256"],"properties":{"review_id":{"type":"string","minLength":1},"purpose":{"enum":["safety","privacy","operational_integrity","data_completeness"]},"reviewed_at":{"type":"string","format":"date-time"},"reviewer":{"type":"string","minLength":1},"independent_of_sponsor":{"const":true},"primary_outcomes_visible":{"const":false},"aggregate_w_visible":{"const":false},"recommendation":{"enum":["continue","pause_for_safety","stop_for_safety"]},"source_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}}},"claimed":{"type":"object","additionalProperties":false,"required":["planned_units","actual_units","operational_overshoot_units","planned_exposure_hours","actual_exposure_hours","monitoring_review_count","primary_outcome_access_events_before_cutoff","unscheduled_primary_analyses","result_informed_extensions","result_informed_early_stops","target_changes_after_activity","cutoff_changes_after_activity","excluded_activated_units","excluded_overshoot_units"],"properties":{"planned_units":{"type":"integer","minimum":0},"actual_units":{"type":"integer","minimum":0},"operational_overshoot_units":{"type":"integer","minimum":0},"planned_exposure_hours":{"type":"number","minimum":0},"actual_exposure_hours":{"type":"number","minimum":0},"monitoring_review_count":{"type":"integer","minimum":0},"primary_outcome_access_events_before_cutoff":{"const":0},"unscheduled_primary_analyses":{"const":0},"result_informed_extensions":{"const":0},"result_informed_early_stops":{"const":0},"target_changes_after_activity":{"const":0},"cutoff_changes_after_activity":{"const":0},"excluded_activated_units":{"const":0},"excluded_overshoot_units":{"const":0}}},"evidence":{"type":"object","additionalProperties":false,"required":["controlled_plan_uri","controlled_plan_sha256","outcome_access_log_uri","outcome_access_log_sha256","closure_report_uri","closure_report_sha256","public_history_uri","public_history_sha256"],"properties":{"controlled_plan_uri":{"type":"string","format":"uri","pattern":"^https://"},"controlled_plan_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"outcome_access_log_uri":{"type":"string","format":"uri","pattern":"^https://"},"outcome_access_log_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"closure_report_uri":{"type":"string","format":"uri","pattern":"^https://"},"closure_report_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"public_history_uri":{"type":"string","format":"uri","pattern":"^https://"},"public_history_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"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"}}}}}