{"openapi":"3.1.0","components":{"schemas":{"ActionBlindingStatus":{"type":"object","properties":{"oid":{"type":"string","description":"Blinding status identifying the action status.","examples":["blinded"]},"translations":{"description":"Localized translations of the status label.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"ActionResponse":{"type":"object","properties":{"action_uuid":{"type":"string","description":"System-generated UUID for the action entity.","examples":["38532ef5-027d-4d17-aaee-0f1100718c39"]},"action_id":{"type":"string","description":"Human-readable action identifier, used for display and tracking.\n","examples":["AC1"]},"brief_summary":{"type":"string","description":"Concise summary of the action, suitable for list views and quick reference.\n","examples":["Implement a double-check signature process and staff retraining."]},"description":{"type":"string","description":"Full, detailed description of the action, including context and\n requirements.","examples":["Update the site's Internal Standard Operating Procedure (SOP) to implement a mandatory verification process. A second delegated staff member must now verify that all signature and date lines on the Informed Consent Form (ICF) are complete before the participant leaves the physician's office."]},"due_date":{"description":"Date by which the action should be completed, in ISO 8601 format.\n","type":"string","examples":["2023-09-25"],"$ref":"#/components/schemas/LocalDate"},"type":{"description":"Type classification of the action.","type":"object","$ref":"#/components/schemas/ActionType"},"status":{"description":"Current status of the action.","type":"object","$ref":"#/components/schemas/ActionStatus"},"assignee_uuid":{"type":"string","description":"UUID of the study team member who created the action. This corresponds to the Team Membership UUID from the Team Membership object.\n","examples":["aae693c4-a285-4014-92c5-8d51d3d5c604"]},"linked_to_uuid":{"type":"string","description":"UUID of issue this action is linked to.","examples":["fb296fd7-4f66-4d99-bd0a-654525177c2a"]},"blinding_status":{"description":"Blinding status of the action, including translations.\n","type":"object","examples":[{"oid":"blinded","translations":{"eng":"blinded","jpn":"","kor":"","chi":""}}],"$ref":"#/components/schemas/ActionBlindingStatus"},"action_visibility":{"description":"Visibility setting for the action (internal or external), including\ntranslations.\n","type":"object","examples":[{"oid":"internal","translations":{"eng":"internal","jpn":"","kor":"","chi":""}}],"$ref":"#/components/schemas/ActionVisibility"},"completed_date":{"description":"Date the action was marked as completed, in ISO 8601 format.\n","type":"string","examples":["2023-09-25"],"$ref":"#/components/schemas/LocalDate"},"closed_date":{"description":"Date the action was closed, in ISO 8601 format.\n","type":"string","examples":["2023-09-25"],"$ref":"#/components/schemas/LocalDate"},"created_at":{"description":"Timestamp when the action was created, in ISO 8601 format.\n","type":"string","examples":["2023-09-25T12:29:24.938Z"],"$ref":"#/components/schemas/OffsetDateTime"},"created_by_uuid":{"type":"string","description":"UUID of the user who created the action. This corresponds to the User UUID from the Client Division People object.\n","examples":["f1f3e3b6-b072-4465-bb37-d4e6b9b486bb"]},"last_modifed_at":{"description":"Timestamp of the last modification to the action, in ISO 8601 format.\n","type":"string","examples":["2023-09-25T12:29:24.938Z"],"$ref":"#/components/schemas/OffsetDateTime"},"last_modifed_by_uuid":{"type":"string","description":"UUID of the person who last modified the action.","examples":["f1f3e3b6-b072-4465-bb37-d4e6b9b486bb"]},"external_id":{"type":"string","description":"Sponsor or system-assigned external identifier for the action, used for\nintegration or cross-system reference.\n","examples":["AC-1"]},"closed_by_uuid":{"type":"string","description":"UUID of the user who closed the action. This is the User UUID from the object Client Division People.\n","examples":["f1f3e3b6-b072-4465-bb37-d4e6b9b486bb"]}}},"ActionStatus":{"type":"object","properties":{"text":{"type":"string","description":"Human-readable name of the action status.","examples":["Open"]},"uuid":{"type":"string","description":"System-generated UUID for the action status, used for\nreferencing and integration.\n","examples":["4db25690-e836-4d38-a855-f7a15010956c"]}}},"ActionType":{"type":"object","properties":{"text":{"type":"string","description":"Human-readable name of the action type.\n","examples":["Corrective"]},"uuid":{"type":"string","description":"System-generated UUID for the action type, used for referencing\n and integration.","examples":["0b5db7a7-f521-46fa-a756-399a95172c33"]}}},"ActionVisibility":{"type":"object","properties":{"oid":{"type":"string","description":"OID identifying the action visibility.","examples":["internal"]},"translations":{"description":"Localized translations of the status label.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"BaseIssueResponse":{"description":"Base issue information.","type":"object","properties":{"issue_uuid":{"type":"string","description":"System generated UUID for the issue.","examples":["aa7035d1-29c1-41cb-8e98-37363c71ee85"]},"issue_id":{"type":"string","description":"Human-readable issue identifier used for display and tracking.","examples":["IM100"]},"external_id":{"type":"string","description":"Issue identifier from the external system.","examples":["AB120"]},"issue_type":{"description":"Issue type information.","type":"object","$ref":"#/components/schemas/IssueType"},"description":{"type":"string","description":"Issue description.","examples":["Test Issue"]},"issue_visibility":{"description":"Issue visibility information.","type":"object","$ref":"#/components/schemas/IssueVisibility"},"blinding_status":{"description":"Issue blinding status information.","type":"object","$ref":"#/components/schemas/IssueBlindingStatus"},"created_at":{"description":"Server date and time in ISO 8601 format when the issue was created.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"},"created_by_uuid":{"type":"string","description":"User UUID from Client Division People who created the issue.","examples":["e58d20ee-cb19-40aa-a0fa-124b4fe26235"]},"last_modified_at":{"description":"Server date and time in ISO 8601 format when last time the issue was updated.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"},"last_modified_by_uuid":{"type":"string","description":"User UUID from Client Division People who updated the issue.","examples":["e58d20ee-cb19-40aa-a0fa-124b4fe26235"]},"category":{"description":"Category setting of issue.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Data Integrity and Quality"}],"$ref":"#/components/schemas/Setting"},"subcategory":{"description":"Sub-category setting of issue.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Safety Reporting"}],"$ref":"#/components/schemas/Setting"},"severity":{"description":"Severity setting of issue.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Critical"}],"$ref":"#/components/schemas/Setting"},"root_cause_category":{"description":"Root cause category setting of issue.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Resource Allocation"}],"$ref":"#/components/schemas/Setting"},"status":{"description":"Issue status.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Closed - Invalid"}],"$ref":"#/components/schemas/Setting"},"root_cause":{"type":"string","description":"Description that helps logging what caused an issue.","examples":["Training issue"]},"protocol_version":{"type":"string","description":"Protocol version of the issue.","examples":["v1.0"]},"occurred_date":{"description":"Server date and time in ISO 8601 format when issue occurred.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"discovered_date":{"description":"Server date and time in ISO 8601 format when issue was discovered.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"reported_date":{"description":"Server date and time in ISO 8601 format when issue was reported.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"resolved_date":{"description":"Server date and time in ISO 8601 format when issue was resolved.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"closed_date":{"description":"Server date and time in ISO 8601 format when issue was closed.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"},"closed_by_uuid":{"type":"string","description":"User UUID from Client Division People who closed the issue.","examples":["b78d20ee-cb19-40aa-a0fa-124b4fe26235"]},"assignee_uuid":{"type":"string","description":"Team membership UUID from team membership object of the team who is assignee of the issue.","examples":["5b534627-b22a-4538-9fd9-61deab6bfcdb"]},"reporter":{"description":"Team membership information from team membership object of the team assigned as reporter of the issue.","type":"object","$ref":"#/components/schemas/Reporter"},"review":{"description":"Issue review information.","type":"object","$ref":"#/components/schemas/Review"},"comments":{"type":"array","items":{"$ref":"#/components/schemas/IssueComment"},"description":"Details of Comments linked to issue."}}},"IssueBlindingStatus":{"type":"object","description":"Issue blinding status information.","properties":{"oid":{"type":"string","description":"Issue blinding status (blinded or unblinded).","examples":["blinded"]},"text":{"description":"Localized issue blinding status text.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"IssueComment":{"type":"object","description":"Issue comment information.","properties":{"uuid":{"type":"string","description":"System generated UUID for the comment.","examples":["012e1f93-9abb-46e6-af9b-8081896f28fd"]},"comment":{"type":"string","description":"Comment text.","examples":["This issue needs immediate attention"]},"blinding_status":{"description":"Blinding status information of the commentator.","type":"object","$ref":"#/components/schemas/IssueBlindingStatus"},"linked_to_uuid":{"type":"string","description":"UUID of issue this comment is linked to.","examples":["com:mdsol:issues:012e1f93-9abb-46e6-af9b-8081896f28fd"]},"created_by_uuid":{"type":"string","description":"User UUID from Client Division People who created the comment.","examples":["5b534627-b22a-4538-9fd9-61deab6bfcdb"]},"created_at":{"description":"Server date and time in ISO 8601 format when the comment was created.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"}}},"IssueParticipant":{"description":"Participant information for a site level issue.","type":"object","properties":{"uuid":{"type":"string","description":"Unique identifier for participant.","examples":["b78d20ee-cb19-40aa-a0fa-124b4fe26235"]},"participant_number":{"type":"string","description":"Subject number unique within a study.","examples":["SUBJ001"]},"participant_visits":{"type":"array","items":{"$ref":"#/components/schemas/IssueParticipantVisit"},"description":"Participant visit details."}}},"IssueParticipantVisit":{"type":"object","description":"Participant visit details for an issue.","properties":{"uuid":{"type":"string","description":"Participant visit UUID.","examples":["v1234567-1234-1234-1234-123456789abc"]},"participant_uuid":{"type":"string","description":"UUID of participant associated with this visit.","examples":["b78d20ee-cb19-40aa-a0fa-124b4fe26235"]},"participant_visit_name":{"type":"string","description":"Name of participant visit.","examples":["Baseline Visit"]},"participant_visit_date":{"description":"Server date and time in ISO 8601 format when date of participant visit.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"}}},"IssueType":{"type":"object","description":"Issue type information.","properties":{"oid":{"type":"string","description":"Type of issue (non_protocol_deviation or protocol_deviation).","examples":["non_protocol_deviation"]},"text":{"description":"Localized issue type text.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"IssueVisibility":{"type":"object","description":"Issue visibility information.","properties":{"oid":{"type":"string","description":"Issue visibility (internal or external).","examples":["internal"]},"text":{"description":"Localized issue visibility text.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"LocalDate":{"type":"string","format":"date","examples":["2022-03-10"]},"LocalDateTime":{"type":"string","format":"date-time","examples":["2022-03-10T12:15:50"]},"MilestoneResponse":{"type":"object","properties":{"milestone_uuid":{"type":"string","description":"Milestone UUID.","examples":["123e4567-e89b-12d3-a456-426614174000"]},"milestone_name":{"description":"Localized name of the milestone.","type":"object","$ref":"#/components/schemas/TranslationObject"},"type":{"description":"Type classification of the milestone.","type":"object","$ref":"#/components/schemas/MilestoneType"},"status":{"description":"Current status of the milestone.","type":"object","$ref":"#/components/schemas/MilestoneStatus"},"planned":{"description":"Planned completion date of the milestone.","type":"string","examples":["2026-01-15"],"$ref":"#/components/schemas/LocalDate"},"revised":{"description":"Revised completion date of the milestone.","type":"string","examples":["2026-02-15"],"$ref":"#/components/schemas/LocalDate"},"actual":{"description":"Actual completion date of the milestone.","type":"string","examples":["2026-01-20"],"$ref":"#/components/schemas/LocalDate"},"note":{"type":"string","maxLength":1000,"description":"Additional notes for the milestone."},"planned_dates_locked":{"type":"boolean","description":"Boolean indicating if the planned dates are locked for this milestone."}}},"MilestonePatchItem":{"type":"object","additionalProperties":false,"required":["milestone_uuid"],"properties":{"milestone_uuid":{"type":"string","description":"Milestone UUID.","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"},"planned_date":{"description":"Milestone planned date in ISO 8601 date format.","$ref":"#/components/schemas/LocalDate"},"revised_date":{"description":"Milestone revised date in ISO 8601 date format.","$ref":"#/components/schemas/LocalDate"},"actual_date":{"description":"Milestone actual date in ISO 8601 date format.","$ref":"#/components/schemas/LocalDate"},"notes":{"type":"string","maxLength":1000,"description":"Milestone notes."}}},"MilestonePatchRequest":{"type":"array","description":"List of milestones to update for the requested context.","items":{"$ref":"#/components/schemas/MilestonePatchItem"}},"SubmissionPostRequest":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Regulatory submission name.","minLength":1,"maxLength":150,"examples":["regulatory submission name"]},"type":{"description":"Submission type metadata.","type":"object","$ref":"#/components/schemas/SubmissionType"},"status":{"description":"Submission approval status metadata.","type":"object","$ref":"#/components/schemas/SubmissionApprovalStatus"},"approving_entity_type":{"description":"Approving entity type metadata.","type":"object","$ref":"#/components/schemas/SubmissionApprovingEntityType"},"approving_entity":{"description":"Approving entity metadata.","type":"object","$ref":"#/components/schemas/SubmissionApprovingEntity"},"planned_submission_date":{"type":"string","description":"Date in ISO 8601 format for the planned regulatory submission date.","nullable":true,"$ref":"#/components/schemas/LocalDate"},"actual_submission_date":{"type":"string","description":"Date in ISO 8601 format for the actual regulatory submission date.","nullable":true,"$ref":"#/components/schemas/LocalDate"},"planned_submission_approval_date":{"type":"string","description":"Date in ISO 8601 format for the planned regulatory submission approval date.","nullable":true,"$ref":"#/components/schemas/LocalDate"},"actual_submission_approval_date":{"type":"string","description":"Date in ISO 8601 format for the actual regulatory submission approval date.","nullable":true,"$ref":"#/components/schemas/LocalDate"},"external_id":{"type":"string","minLength":1,"maxLength":36,"description":"External identifier for the submission.","examples":["external_id_1"]},"active":{"type":"boolean","default":false,"description":"Indicates whether the regulatory submission is active."}},"required":["name","type"]},"SubmissionPatchRequest":{"type":"object","additionalProperties":false,"properties":{"regulatory_submission_uuids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Regulatory submission UUIDs to update.","example":["3fa85f64-5717-4562-b3fc-2c963f66a222","11285f64-5717-4562-b3fc-2c963f66afac"]},"name":{"type":"string","description":"Regulatory submission name.","minLength":1,"maxLength":150,"examples":["regulatory_submission_name_001"]},"type":{"description":"Submission type metadata.","type":"object","$ref":"#/components/schemas/SubmissionType"},"status":{"description":"Submission approval status metadata.","type":"object","$ref":"#/components/schemas/SubmissionApprovalStatus"},"approving_entity_type":{"description":"Approving entity type metadata.","type":"object","$ref":"#/components/schemas/SubmissionApprovingEntityType"},"approving_entity":{"description":"Approving entity metadata.","type":"object","$ref":"#/components/schemas/SubmissionApprovingEntity"},"planned_submission_date":{"type":"string","description":"Date in ISO 8601 format for the planned regulatory submission date.","nullable":true,"$ref":"#/components/schemas/LocalDate"},"actual_submission_date":{"type":"string","description":"Date in ISO 8601 format for the actual regulatory submission date.","nullable":true,"$ref":"#/components/schemas/LocalDate"},"planned_submission_approval_date":{"type":"string","description":"Date in ISO 8601 format for the planned regulatory submission approval date.","nullable":true,"$ref":"#/components/schemas/LocalDate"},"actual_submission_approval_date":{"type":"string","description":"Date in ISO 8601 format for the actual regulatory submission approval date.","nullable":true,"$ref":"#/components/schemas/LocalDate"},"external_id":{"type":"string","minLength":1,"maxLength":100,"description":"External identifier for the submission.","examples":["external_id_1"]},"active":{"type":"boolean","default":true,"description":"Indicates whether the regulatory submission is active."},"comments":{"type":"string","description":"Comment on submission.","minLength":0,"maxLength":1000,"nullable":true,"examples":["Comment on Submission"]}}},"SubmissionResponse":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"Regulatory submission UUID.","examples":["1ab45f64-5717-4562-b3fc-2c963f66a543"]},"business_id":{"type":"string","description":"Business identifier for the regulatory submission.","examples":["RS-001"]},"name":{"type":"string","description":"Name of the regulatory submission.","examples":["Site Ethics Submission"]},"type":{"description":"Submission type metadata.","type":"object","$ref":"#/components/schemas/SubmissionType"},"approving_entity":{"description":"Approving entity metadata.","type":"object","$ref":"#/components/schemas/SubmissionApprovingEntity"},"approving_entity_type":{"description":"Approving entity type metadata.","type":"object","$ref":"#/components/schemas/SubmissionApprovingEntityType"},"status":{"description":"Current approval status of the submission.","type":"object","$ref":"#/components/schemas/SubmissionApprovalStatus"},"planned_submission_date":{"description":"Planned regulatory submission date.","type":"string","nullable":true,"examples":["2026-04-10"],"$ref":"#/components/schemas/LocalDate"},"actual_submission_date":{"description":"Actual regulatory submission date.","type":"string","nullable":true,"examples":["2026-04-12"],"$ref":"#/components/schemas/LocalDate"},"planned_submission_approval_date":{"description":"Planned submission approval date.","type":"string","nullable":true,"examples":["2026-04-25"],"$ref":"#/components/schemas/LocalDate"},"actual_submission_approval_date":{"description":"Actual submission approval date.","type":"string","nullable":true,"examples":["2026-04-28"],"$ref":"#/components/schemas/LocalDate"},"active":{"type":"boolean","default":true,"description":"Indicates whether the submission is active."},"external_id":{"type":"string","description":"External identifier for integration or cross-system reference.","examples":["EXT-SUB-001"]},"created_at":{"description":"Server timestamp in ISO 8601 format when the submission was created.","type":"string","examples":["2026-03-01T10:10:10Z"],"$ref":"#/components/schemas/OffsetDateTime"},"created_by":{"type":"string","description":"URI of the user who created the submission.","examples":["com:mdsol:users:3fa85f64-5717-4562-b3fc-2c963f66afa6"]},"modified_at":{"description":"Server timestamp in ISO 8601 format when the submission was last modified.","type":"string","examples":["2026-03-02T10:10:10Z"],"$ref":"#/components/schemas/OffsetDateTime"},"modified_by":{"type":"string","description":"URI of the user who most recently modified the submission.","examples":["com:mdsol:users:3fa85f64-5717-4562-b3fc-2c963f66afa6"]},"comments":{"type":"string","minLength":0,"maxLength":1000,"nullable":true,"description":"Comment on submission.","examples":["Site level submission"]}}},"SubmissionStudy":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"Study UUID.","examples":["aaa9473a-6407-4840-9fed-1e766c39c1ba"]},"name":{"type":"string","description":"Study name.","examples":["Study ABC-101"]}}},"SubmissionStudyEnvironment":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"Study environment UUID.","examples":["aaa9473a-6407-4840-9fed-1e766c39c1ba"]},"oid":{"type":"string","description":"Study environment OID.","examples":["production"]},"name":{"type":"string","description":"Study environment name.","examples":["Main Study Environment"]}}},"SubmissionStudyEnvironmentCountry":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"Study environment country UUID.","examples":["aaa9473a-6407-4840-9fed-1e766c39c1bb"]},"code":{"type":"string","description":"Country code.","examples":["IND"]},"name":{"type":"string","description":"Country name.","examples":["India"]}}},"SubmissionStudyEnvironmentSite":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"Study environment site UUID.","examples":["aaa9473a-6407-4840-9fed-1e766c39c1bc"]},"number":{"type":"string","description":"Site number.","examples":["Site-01"]},"name":{"type":"string","description":"Site name.","examples":["Site Name"]}}},"SubmissionType":{"type":"object","properties":{"oid":{"type":"string","description":"Regulatory submission type OID.","enum":["initial","renewal","interim","close_out"],"examples":["initial"]},"text":{"type":"string","description":"Description for the regulatory submission type.","examples":["Initial Submission"]}}},"SubmissionApprovingEntity":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"Approving entity UUID.","examples":["37f9a604-5377-4915-ba39-e269586d99fe"]},"name":{"type":"string","description":"Approving entity name.","examples":["Central IRB"]}}},"SubmissionApprovingEntityType":{"type":"object","properties":{"oid":{"type":"string","description":"Approving entity type OID.","enum":["irb_iec","regulatory_authority"],"examples":["irb_iec"]},"name":{"type":"string","description":"Name of the approving entity type.","examples":["IRB/IEC"]}}},"SubmissionApprovalStatus":{"type":"object","properties":{"oid":{"type":"string","description":"Approval status OID.","enum":["created","submitted_to_irb/ec","rejected_by_irb/ec","approved_by_irb/ec","conditional_approval_by_irb/ec","submitted_to_regulatory_authority","rejected_by_regulatory_authority","approved_by_regulatory_authority","conditional_approval_by_regulatory_authority","not_applicable","acknowledged"],"examples":["not_applicable"]},"text":{"type":"string","description":"Approval status text.","examples":["Not Applicable"]}}},"MilestoneStatus":{"type":"object","properties":{"oid":{"type":"string","description":"OID identifying the milestone status.","examples":["achieved"]},"translations":{"description":"Localized translations of the status label.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"MilestoneType":{"type":"object","properties":{"oid":{"type":"string","description":"OID identifying the milestone type.","examples":["integrated"]},"translations":{"description":"Localized translations of the type label.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"OffsetDateTime":{"type":"string","format":"date-time","examples":["2022-03-10T12:15:50-04:00"]},"OperationalDataCountryResponse":{"description":"Study environment country operational data.","type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","format":"uuid"},"study_environment_country_uuid":{"type":"string","description":"Study environment country UUID.","format":"uuid"},"status":{"description":"Study environment country current status.","type":"object","$ref":"#/components/schemas/Status"},"participant_recruitment":{"description":"Participant recruitment status.","type":"object","$ref":"#/components/schemas/ParticipantRecruitment"},"site_selection":{"description":"Site selection status.","type":"object","$ref":"#/components/schemas/SiteSelection"},"site_metrics":{"description":"Site metrics information.","type":"object","$ref":"#/components/schemas/SiteMetrics"},"last_modified_by_uuid":{"type":"string","description":"Last modified by."},"last_modified_at":{"description":"Timestamp of the last modification to the action\n in ISO 8601 format.","type":"string","examples":["2023-09-25T12:29:24.938Z"],"$ref":"#/components/schemas/LocalDateTime"}}},"OperationalDataSiteResponse":{"description":"Study environment site operational data.","type":"object","properties":{"study_environment_uuid":{"type":"string","description":"SE UUID.","format":"uuid"},"study_environment_country_uuid":{"type":"string","description":"Study environment country UUID.","format":"uuid"},"study_environment_site_uuid":{"type":"string","description":"Study environment site UUID.","format":"uuid"},"status":{"description":"Study environment site current status.","type":"object","$ref":"#/components/schemas/Status"},"participant_recruitment":{"description":"Participant recruitment status.","type":"object","$ref":"#/components/schemas/ParticipantRecruitment"},"site_open_date":{"description":"Date when the site was opened,\n in ISO 8601 format.","type":"string","examples":["2024-02-20"],"$ref":"#/components/schemas/LocalDate"},"site_closed_date":{"description":"Date when the site was closed,\n in ISO 8601 format.","type":"string","examples":["2024-04-15"],"$ref":"#/components/schemas/LocalDate"},"site_selection_date":{"description":"Date when the site was selected,\n in ISO 8601 format.","type":"string","examples":["2024-01-15"],"$ref":"#/components/schemas/LocalDate"},"last_modified_by_uuid":{"type":"string","description":"Last modified by."},"last_modified_at":{"description":"Timestamp of the last modification to the action,\n in ISO 8601 format.","type":"string","examples":["2023-09-25T12:29:24.938Z"],"$ref":"#/components/schemas/LocalDateTime"}}},"OperationalDataStudyEnvironmentResponse":{"description":"Study environment operational data.","type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","format":"uuid"},"status":{"description":"Study environment current status.","type":"object","$ref":"#/components/schemas/Status"},"study_demographics":{"description":"Study demographics information.","type":"object","$ref":"#/components/schemas/StudyDemographics"},"participant_recruitment":{"description":"Participant recruitment status.","type":"object","$ref":"#/components/schemas/ParticipantRecruitment"},"site_selection":{"description":"Site selection status.","type":"object","$ref":"#/components/schemas/SiteSelection"},"study_title":{"type":"string","description":"Title of the study."},"registries":{"type":"array","items":{"$ref":"#/components/schemas/Registry"},"description":"List of study registry entries."},"actual_study_start_date":{"description":"Actual start date of the study,\n  in ISO 8601 format.","type":"string","examples":["2024-01-15"],"$ref":"#/components/schemas/LocalDate"},"planned_study_end_date":{"description":"Planned end date of the study.\n in ISO 8601 format.","type":"string","examples":["2024-01-15"],"$ref":"#/components/schemas/LocalDate"},"actual_study_end_date":{"description":"Actual end date of the study,\n in ISO 8601 format.","type":"string","examples":["2024-01-15"],"$ref":"#/components/schemas/LocalDate"},"site_metrics":{"description":"Site metrics information.","type":"object","$ref":"#/components/schemas/SiteMetrics"},"last_modified_by_uuid":{"type":"string","description":"Last modified by."},"last_modified_at":{"description":"Timestamp of the last modification to the action,\n in ISO 8601 format.","type":"string","examples":["2023-09-25T12:29:24.938Z"],"$ref":"#/components/schemas/LocalDateTime"}}},"ParticipantRecruitment":{"type":"object","description":"Participant recruitment object with OID and localized translations.","properties":{"oid":{"type":"string","description":"Participant recruitment OID."},"translations":{"description":"Localized translations of the participant recruitment label.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"Registry":{"type":"object","description":"Study registry entry.","properties":{"registry_name":{"type":"string","description":"Name of the registry."},"registration_id":{"type":"string","description":"Registration identifier."},"registration_date":{"description":"Registration date in ISO 8601 format.","type":"string","$ref":"#/components/schemas/LocalDate"}}},"Reporter":{"type":"object","description":"Issue reporter information.","properties":{"uuid":{"type":"string","description":"Team membership UUID from team membership object of the team who reported the issue.","examples":["6f4e799f-dd63-4716-a818-433b5ee46e1e"]},"text":{"type":"string","description":"Team membership name from team membership object of the team who reported the issue.","examples":["Reporter Name"]}}},"Review":{"type":"object","description":"Issue review information.","properties":{"reviewer_uuid":{"type":"string","description":"Team membership name from team membership object of the team who is assigned as reviewer of the issue.","examples":["5b534627-b22a-4538-9fd9-61deab6bfcdb"]},"review_status":{"description":"Issue review status setting.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Updates Required"}],"$ref":"#/components/schemas/Setting"},"review_status_date":{"description":"User defined datetime in ISO 8601 format when the review status was updated.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"},"review_comment":{"description":"Issue review comment.","type":"object","$ref":"#/components/schemas/ReviewComment"}}},"ReviewComment":{"type":"object","description":"Issue review comment information.","properties":{"uuid":{"type":"string","description":"UUID of the issue review comment.","examples":["012e1f93-9abb-46e6-af9b-8081896f28fd"]},"text":{"type":"string","description":"Issue review comment text.","examples":["Review completed successfully"]},"author_user_uuid":{"type":"string","description":"Team membership UUID from the team membership object of the team who authored the comment.","examples":["5b534627-b22a-4538-9fd9-61deab6bfcdb"]},"last_modified_at":{"description":"User defined datetime in ISO 8601 format when review comment was last modified.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"},"created_at":{"description":"User defined datetime in ISO 8601 format when review comment was created.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"}}},"Setting":{"type":"object","description":"Issue setting information.","properties":{"uuid":{"type":"string","description":"Setting UUID.","examples":["6f4e799f-dd63-4716-a818-433b5ee46e1e"]},"text":{"type":"string","description":"Setting text.","examples":["Safety"]}}},"SiteIssueResponse":{"description":"Site-level issue information with participants and protocol deviation data.","type":"object","properties":{"issue_uuid":{"type":"string","description":"System generated UUID for the issue.","examples":["aa7035d1-29c1-41cb-8e98-37363c71ee85"]},"issue_id":{"type":"string","description":"Human-readable issue identifier used for display and tracking.","examples":["IM100"]},"external_id":{"type":"string","description":"Issue identifier from the external system.","examples":["AB120"]},"issue_type":{"description":"Issue type information.","type":"object","$ref":"#/components/schemas/IssueType"},"description":{"type":"string","description":"Issue description.","examples":["Test Issue"]},"issue_visibility":{"description":"Issue visibility information.","type":"object","$ref":"#/components/schemas/IssueVisibility"},"blinding_status":{"description":"Issue blinding status information.","type":"object","$ref":"#/components/schemas/IssueBlindingStatus"},"created_at":{"description":"Server date and time in ISO 8601 format when the issue was created.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"},"created_by_uuid":{"type":"string","description":"User UUID from Client Division People who created the issue.","examples":["e58d20ee-cb19-40aa-a0fa-124b4fe26235"]},"last_modified_at":{"description":"Server date and time in ISO 8601 format when last time the issue was updated.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"},"last_modified_by_uuid":{"type":"string","description":"User UUID from Client Division People who updated the issue.","examples":["e58d20ee-cb19-40aa-a0fa-124b4fe26235"]},"category":{"description":"Category setting of issue.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Data Integrity and Quality"}],"$ref":"#/components/schemas/Setting"},"subcategory":{"description":"Sub-category setting of issue.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Safety Reporting"}],"$ref":"#/components/schemas/Setting"},"severity":{"description":"Severity setting of issue.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Critical"}],"$ref":"#/components/schemas/Setting"},"root_cause_category":{"description":"Root cause category setting of issue.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Resource Allocation"}],"$ref":"#/components/schemas/Setting"},"status":{"description":"Issue status.","type":"object","examples":[{"uuid":"6f4e799f-dd63-4716-a818-433b5ee46e1e","text":"Closed - Invalid"}],"$ref":"#/components/schemas/Setting"},"root_cause":{"type":"string","description":"Description that helps logging what caused an issue.","examples":["Training issue"]},"protocol_version":{"type":"string","description":"Protocol version of the issue.","examples":["v1.0"]},"occurred_date":{"description":"Server date and time in ISO 8601 format when issue occurred.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"discovered_date":{"description":"Server date and time in ISO 8601 format when issue was discovered.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"reported_date":{"description":"Server date and time in ISO 8601 format when issue was reported.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"resolved_date":{"description":"Server date and time in ISO 8601 format when issue was resolved.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"closed_date":{"description":"Server date and time in ISO 8601 format when issue was closed.","type":"string","examples":["2017-04-16T16:31:00Z"],"$ref":"#/components/schemas/OffsetDateTime"},"closed_by_uuid":{"type":"string","description":"User UUID from Client Division People who closed the issue.","examples":["b78d20ee-cb19-40aa-a0fa-124b4fe26235"]},"assignee_uuid":{"type":"string","description":"Team membership UUID from team membership object of the team who is assignee of the issue.","examples":["5b534627-b22a-4538-9fd9-61deab6bfcdb"]},"reporter":{"description":"Team membership information from team membership object of the team assigned as reporter of the issue.","type":"object","$ref":"#/components/schemas/Reporter"},"review":{"description":"Issue review information.","type":"object","$ref":"#/components/schemas/Review"},"comments":{"type":"array","items":{"$ref":"#/components/schemas/IssueComment"},"description":"Details of Comments linked to issue."},"participants":{"type":"array","items":{"$ref":"#/components/schemas/IssueParticipant"},"description":"Participants list associated with this issue (for Site Level Issue)."},"irb_ec_notification_required":{"type":"boolean","description":"Indicates if IRB or EC notification is required for protocol deviations.","examples":[true]},"irb_ec_notification_date":{"description":"Server date and time in ISO 8601 format that shows IRB or EC notification completion date for protocol deviations.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"sponsor_notification_required":{"type":"boolean","description":"Indicates if sponsor notification is required for protocol deviations.","examples":[true]},"sponsor_notification_date":{"description":"Server date and time in ISO 8601 format that shows Sponsor notification completion date for protocol deviations.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"},"regulatory_notification_required":{"type":"boolean","description":"Indicates if regulatory notification is required for protocol deviations.","examples":[true]},"regulatory_notification_date":{"description":"Server date and time in ISO 8601 format that shows Regulatory notification completion date for protocol deviations.","type":"string","examples":["2018-03-08"],"$ref":"#/components/schemas/LocalDate"}}},"SiteMetrics":{"type":"object","properties":{"sites_count_with_open_date":{"type":"integer","format":"int64","description":"Number of sites with open date."},"sites_count_planned":{"type":"integer","format":"int64","description":"Number of sites planned."},"sites_count_revised":{"type":"integer","format":"int64","description":"Number of sites revised."},"sites_currently_open":{"type":"integer","format":"int64","description":"Number of open sites."}}},"SiteSelection":{"type":"object","description":"Site selection object with OID and localized translations.","properties":{"oid":{"type":"string","description":"Site selection OID."},"translations":{"description":"Localized translations of the site selection label.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"Status":{"type":"object","description":"Status object with OID and localized translations.","properties":{"oid":{"type":"string","description":"Status OID."},"translations":{"description":"Localized translations of the status label.","type":"object","$ref":"#/components/schemas/TranslationObject"}}},"StudyDemographics":{"type":"object","properties":{"sex_eligibility_criteria":{"type":"string","description":"Participant gender eligibility."},"minimum_age_eligibility":{"type":"integer","format":"int32","description":"Minimum age eligibility of participants."},"maximum_age_eligibility":{"type":"integer","format":"int32","description":"Maximum age eligibility of participants."}}},"StudyEnvironmentActionsResponse":{"type":"object","properties":{"study_environment_uuid":{"type":"string","description":"UUID of the study environment.","examples":["3cf24100-a3ee-4a4c-8d90-29a3fdeb02a1"]},"total_items":{"type":"integer","format":"int32","description":"Total number of actions.","examples":[1]},"actions":{"type":"array","items":{"$ref":"#/components/schemas/ActionResponse"},"description":"List of actions."}}},"StudyEnvironmentCountryActionsResponse":{"type":"object","properties":{"study_environment_uuid":{"type":"string","description":"UUID of the study environment.","examples":["3cf24100-a3ee-4a4c-8d90-29a3fdeb02a1"]},"study_environment_country_uuid":{"type":"string","description":"UUID of the study environment country.","examples":["c2f24100-a3ee-4a4c-8d90-29a3fdeb02a2"]},"total_items":{"type":"integer","format":"int32","description":"Total number of actions.","examples":[1]},"actions":{"type":"array","items":{"$ref":"#/components/schemas/ActionResponse"},"description":"List of actions."}}},"StudyEnvironmentCountryIssuesResponse":{"description":"Response containing issues for a study environment country.","type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","examples":["3cf24100-a3ee-4a4c-8d90-29a3fdeb02a1"]},"study_environment_country_uuid":{"type":"string","description":"Study environment country UUID.","examples":["c2f24100-a3ee-4a4c-8d90-29a3fdeb02a2"]},"total_items":{"type":"integer","format":"int32","description":"Total number of issues.","examples":[1]},"issues":{"type":"array","items":{"$ref":"#/components/schemas/BaseIssueResponse"},"description":"List of issues."}}},"StudyEnvironmentCountryMilestonesResponse":{"type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","examples":["123e4567-e89b-12d3-a456-426614174000"]},"study_environment_country_uuid":{"type":"string","description":"Study environment country UUID.","examples":["123e4567-e89b-12d3-a456-426614174001"]},"milestones":{"type":"array","items":{"$ref":"#/components/schemas/MilestoneResponse"},"description":"List of milestones for the study environment country."}}},"StudyEnvironmentIssuesResponse":{"description":"Response containing issues for a study environment.","type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","examples":["3cf24100-a3ee-4a4c-8d90-29a3fdeb02a1"]},"total_items":{"type":"integer","format":"int32","description":"Total number of issues.","examples":[1]},"issues":{"type":"array","items":{"$ref":"#/components/schemas/BaseIssueResponse"},"description":"List of issues."}}},"StudyEnvironmentMilestonesResponse":{"type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","examples":["123e4567-e89b-12d3-a456-426614174000"]},"milestones":{"type":"array","items":{"$ref":"#/components/schemas/MilestoneResponse"},"description":"List of milestones for the study environment."}}},"StudyEnvironmentSiteActionsResponse":{"type":"object","properties":{"study_environment_uuid":{"type":"string","description":"UUID of the study environment.","examples":["3cf24100-a3ee-4a4c-8d90-29a3fdeb02a1"]},"study_environment_country_uuid":{"type":"string","description":"UUID of the study environment country.","examples":["c2f24100-a3ee-4a4c-8d90-29a3fdeb02a2"]},"study_environment_site_uuid":{"type":"string","description":"UUID of the study environment site.","examples":["123e4567-e89b-12d3-a456-426614174000"]},"total_items":{"type":"integer","format":"int32","description":"Total number of actions.","examples":[1]},"actions":{"type":"array","items":{"$ref":"#/components/schemas/ActionResponse"},"description":"List of actions."}}},"StudyEnvironmentSiteIssuesResponse":{"description":"Response containing issues for a study environment site.","type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","examples":["3cf24100-a3ee-4a4c-8d90-29a3fdeb02a1"]},"study_environment_country_uuid":{"type":"string","description":"Study environment country UUID.","examples":["c2f24100-a3ee-4a4c-8d90-29a3fdeb02a2"]},"study_environment_site_uuid":{"type":"string","description":"Study environment site UUID.","examples":["d3f24100-a3ee-4a4c-8d90-29a3fdeb02a3"]},"total_items":{"type":"integer","format":"int32","description":"Total number of issues.","examples":[1]},"issues":{"type":"array","items":{"$ref":"#/components/schemas/SiteIssueResponse"},"description":"List of issues."}}},"StudyEnvironmentSiteMilestonesResponse":{"type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","examples":["123e4567-e89b-12d3-a456-426614174000"]},"study_environment_country_uuid":{"type":"string","description":"Study environment country UUID.","examples":["123e4567-e89b-12d3-a456-426614174001"]},"study_environment_site_uuid":{"type":"string","description":"Study environment site UUID.","examples":["123e4567-e89b-12d3-a456-426614174002"]},"milestones":{"type":"array","items":{"$ref":"#/components/schemas/MilestoneResponse"},"description":"List of milestones for the study environment site."}}},"StudyEnvironmentSiteSubmissionsResponse":{"type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","examples":["123e4567-e89b-12d3-a456-426614174000"]},"study_environment_country_uuid":{"type":"string","description":"Study environment country UUID.","examples":["123e4567-e89b-12d3-a456-426614174001"]},"study_environment_site_uuid":{"type":"string","description":"Study environment site UUID.","examples":["123e4567-e89b-12d3-a456-426614174002"]},"total_items":{"type":"integer","format":"int32","description":"Total number of submissions.","examples":[1]},"submissions":{"type":"array","items":{"$ref":"#/components/schemas/SubmissionResponse"},"description":"List of submissions for the study environment site."}}},"StudyEnvironmentSubmissionsResponse":{"type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","examples":["123e4567-e89b-12d3-a456-426614174000"]},"total_items":{"type":"integer","format":"int32","description":"Total number of submissions.","examples":[1]},"submissions":{"type":"array","items":{"$ref":"#/components/schemas/SubmissionResponse"},"description":"List of submissions for the study environment."}}},"StudyEnvironmentCountrySubmissionsResponse":{"type":"object","properties":{"study_environment_uuid":{"type":"string","description":"Study environment UUID.","examples":["123e4567-e89b-12d3-a456-426614174000"]},"study_environment_country_uuid":{"type":"string","description":"Study environment country UUID.","examples":["123e4567-e89b-12d3-a456-426614174001"]},"total_items":{"type":"integer","format":"int32","description":"Total number of submissions.","examples":[1]},"submissions":{"type":"array","items":{"$ref":"#/components/schemas/SubmissionResponse"},"description":"List of submissions for the study environment country."}}},"TranslationObject":{"description":"Object containing localized translations for a given field. Properties are a\n subset of ISO 639-2 codes representing names of languages.","type":"object","properties":{"eng":{"type":"string","description":"English translation.","examples":["Text in English"]},"jpn":{"type":"string","description":"Japanese translation.","examples":["Text in Japanese"]},"kor":{"type":"string","description":"Korean translation.","examples":["Text in Korean"]},"chi":{"type":"string","description":"Chinese translation.","examples":["Text in Chinese"]}}}}},"info":{"description":"This API documentation is an early preview of the Medidata CTMS API. This is a draft version and is subject to change.\n\nThe information in this document and any attachments are confidential.\n\nYou are hereby notified that any unauthorized distribution or copying of this document or its attachments is prohibited.\n\nIf you have received this document in error, please notify the sender.\n","license":{"name":"Proprietary","url":"https://www.mdsol.com"},"title":"(DRAFT) Medidata CTMS APIs","version":"1.0.0"},"tags":[{"name":"Issues","description":"Issues retrieval endpoints."},{"name":"Actions","description":"Actions data retrieval endpoints."},{"name":"Milestones","description":"Milestone management and retrieval endpoints."},{"name":"Submissions","description":"Submission retrieval endpoints."},{"name":"Operational Data","description":"Operational data retrieval endpoints."}],"servers":[{"url":"https://ctms-api{stage}.imedidata{region}.{tld}{basePath}","description":"Medidata CTMS API Server - Dynamic Environment","variables":{"stage":{"description":"Environment stage","enum":["-sandbox"],"default":"-sandbox"},"tld":{"description":"Top-level domain","enum":["net"],"default":"net"},"basePath":{"description":"API base path","default":"/api"}}},{"url":"http://localhost:8080","description":"Local Development Server"}],"paths":{"/v1/ctms/study_environment/{study_environment_uuid}/actions":{"get":{"summary":"Get All Action Data for a Study Environment","description":"Returns a list of action data for the given\nstudy environment UUID.","operationId":"actions.indexByStudyEnvironment","tags":["Actions"],"parameters":[{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"The page number to retrieve. Must be a positive integer starting from 1.","required":true,"schema":{"minimum":1},"name":"page","in":"query"}],"responses":{"200":{"description":"Action data for the given study environment UUID\nreturned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentActionsResponse"}}}},"404":{"description":"Study environment UUID not found."},"422":{"description":"One of the following occurred:\n - missing page, study environment UUID, or\n - provided page, study environment UUID is invalid.\n"},"500":{"description":"Internal server error."}}}},"/v1/ctms/study_environment/{study_environment_uuid}/country/{country_uuid}/actions":{"get":{"summary":"Get All Action Data for a Study Environment Country","description":"Returns a list of action data for the given study environment country UUID.\n","operationId":"actions.indexByCountry","tags":["Actions"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"The page number to retrieve. Must be a positive integer starting from 1.","required":true,"schema":{"minimum":1},"name":"page","in":"query"}],"responses":{"200":{"description":"Action data for the given study environment country UUID\nreturned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentCountryActionsResponse"}}}},"404":{"description":"Study environment country UUID not found."},"422":{"description":"One of the following occurred:\n - missing page, study environment UUID, or study environment country UUID, or\n - provided page, study environment UUID, or study environment country UUID is invalid.\n"},"500":{"description":"Internal server error."}}}},"/v1/ctms/study_environment/{study_environment_uuid}/country/{country_uuid}/issues":{"get":{"summary":"Get All Issues for a Study Environment Country","description":"Returns the list of issues for the given study environment country UUID.","operationId":"getIssuesByStudyEnvironmentCountry","tags":["Issues"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"The page number to retrieve. Must be a positive integer starting from 1.","required":true,"schema":{"minimum":1},"name":"page","in":"query"}],"responses":{"200":{"description":"Issues for the given study environment country UUID returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentCountryIssuesResponse"}}}},"404":{"description":"Study environment country UUID not found."},"422":{"description":"One of the following occurred:\n - missing page, study environment UUID, study environment country UUID, or\n - provided page, study environment UUID or study environment country UUID is invalid."},"500":{"description":"Internal server error."}}}},"/v1/ctms/study_environments/{study_environment_uuid}/countries/{country_uuid}/milestones":{"get":{"summary":"Get All Milestones for a Study Environment Country","description":"Returns the list of milestones for the given\n study environment country UUID.","operationId":"milestones.indexByCountry","tags":["Milestones"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"responses":{"200":{"description":"Successfully retrieved milestones.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentCountryMilestonesResponse"}}}},"400":{"description":"Invalid request parameters."},"404":{"description":"Study environment country not found."}}},"patch":{"summary":"Update Study Environment Country Milestones","description":"Updates milestones for the given study environment country UUID.","operationId":"milestones.updateByCountry","tags":["Milestones"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"requestBody":{"description":"Milestone fields to update.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestonePatchRequest"}}}},"responses":{"200":{"description":"Successfully updated milestones.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentCountryMilestonesResponse"}}}},"404":{"description":"Study environment country not found."},"422":{"description":"Invalid milestones update request."}}}},"/v1/ctms/study_environments/{study_environment_uuid}/countries/{country_uuid}/submissions":{"get":{"summary":"Get All Submissions for a Study Environment Country","description":"Returns the list of submissions for the given\n study environment country UUID.","operationId":"submissions.indexByCountry","tags":["Submissions"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"The page number to retrieve. Must be a positive integer starting from 1.","required":true,"schema":{"minimum":1},"name":"page","in":"query"}],"responses":{"200":{"description":"Submissions for the given study environment country UUID returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentCountrySubmissionsResponse"}}}},"404":{"description":"Study environment country UUID not found."},"422":{"description":"One of the following occurred:\n - missing page, study environment UUID, study environment country UUID, or\n - provided page, study environment UUID or study environment country UUID is invalid."}}},"post":{"summary":"Create a New Submission for a Study Environment Country","description":"Creates a new submission for the given study environment country UUID.","operationId":"submissions.createByCountry","tags":["Submissions"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"requestBody":{"description":"Submission to create.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionPostRequest"}}}},"responses":{"201":{"description":"Successfully created submission.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentCountrySubmissionsResponse"}}}},"404":{"description":"Study environment country not found."},"422":{"description":"Invalid submissions create request."}}},"patch":{"summary":"Update Submissions for a Study Environment Country","description":"Updates submissions for the given study environment country UUID.","operationId":"submissions.updateByCountry","tags":["Submissions"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"requestBody":{"description":"Submission fields to update.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionPatchRequest"}}}},"responses":{"200":{"description":"Successfully updated submissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentCountrySubmissionsResponse"}}}},"404":{"description":"Study environment country not found."},"422":{"description":"Invalid submissions update request."}}}},"/v1/ctms/study_environment/{study_environment_uuid}/country/{country_uuid}/operational_data":{"get":{"summary":"Get All Operational Data for a Study Environment Country","description":"Returns the operational data for the given\n  study environment country UUID.","operationId":"operationalData.indexByStudyEnvironmentCountry","tags":["Operational Data"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"responses":{"200":{"description":"Operational data for the given study environment country UUID\nreturned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationalDataCountryResponse"}}}},"400":{"description":"Invalid request parameters."},"404":{"description":"Study environment or study environment country not found."},"422":{"description":"One of the following occurred:\n- missing study environment UUID, or study environment country UUID, or\n- provided study environment UUID, or study environment country UUID is invalid."},"500":{"description":"Internal server error."}}}},"/v1/ctms/study_environment/{study_environment_uuid}/country/{country_uuid}/site/{site_uuid}/actions":{"get":{"summary":"Get All Action Data for a Study Environment Site","description":"Returns a list of action data for the given\nstudy environment site UUID.","operationId":"actions.indexBySite","tags":["Actions"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the site.","required":true,"name":"site_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"The page number to retrieve. Must be a positive integer starting from 1.","required":true,"schema":{"minimum":1},"name":"page","in":"query"}],"responses":{"200":{"description":"Action data for the given study environment site UUID\nreturned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSiteActionsResponse"}}}},"404":{"description":"Study environment site UUID not found."},"422":{"description":"One of the following occurred:\n - missing page, study environment UUID, study environment country UUID, or study environment site UUID, or\n - provided page, study environment UUID, study environment country UUID, or study environment site UUID is invalid."},"500":{"description":"Internal server error."}}}},"/v1/ctms/study_environment/{study_environment_uuid}/country/{country_uuid}/site/{site_uuid}/issues":{"get":{"summary":"Get All Issues for a Study Environment Site","description":"Returns the list of issues for the given study environment site UUID.","operationId":"getIssuesByStudyEnvironmentSite","tags":["Issues"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the site.","required":true,"name":"site_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"The page number to retrieve. Must be a positive integer starting from 1.","required":true,"schema":{"minimum":1},"name":"page","in":"query"}],"responses":{"200":{"description":"Issues for the given study environment site UUID returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSiteIssuesResponse"}}}},"404":{"description":"Study environment site UUID not found."},"422":{"description":"One of the following occurred:\n - missing page, study environment UUID, study environment country UUID, or study environment site UUID, or\n - provided page, study environment UUID, study environment country UUID, or study environment site UUID is invalid."},"500":{"description":"Internal server error."}}}},"/v1/ctms/study_environments/{study_environment_uuid}/countries/{country_uuid}/sites/{site_uuid}/milestones":{"get":{"summary":"Get All Milestones for a Study Environment Site","description":"Returns the list of milestones for the given\n study environment site UUID.","operationId":"milestones.indexBySite","tags":["Milestones"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the site.","required":true,"name":"site_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"responses":{"200":{"description":"Successfully retrieved milestones.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSiteMilestonesResponse"}}}},"400":{"description":"Invalid request parameters."},"404":{"description":"Study environment site not found."}}},"patch":{"summary":"Update Study Environment Site Milestones","description":"Updates milestones for the given study environment site UUID.","operationId":"milestones.updateBySite","tags":["Milestones"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the site.","required":true,"name":"site_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"requestBody":{"description":"Milestone fields to update.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestonePatchRequest"}}}},"responses":{"200":{"description":"Successfully updated milestones.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSiteMilestonesResponse"}}}},"404":{"description":"Study environment site not found."},"422":{"description":"Invalid milestones update request."}}}},"/v1/ctms/study_environments/{study_environment_uuid}/countries/{country_uuid}/sites/{site_uuid}/submissions":{"get":{"summary":"Get All Submissions for a Study Environment Site","description":"Returns the list of submissions for the given\n study environment site UUID.","operationId":"submissions.indexBySite","tags":["Submissions"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the site.","required":true,"name":"site_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"The page number to retrieve. Must be a positive integer starting from 1.","required":true,"schema":{"minimum":1},"name":"page","in":"query"}],"responses":{"200":{"description":"Submissions for the given study environment site UUID returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSiteSubmissionsResponse"}}}},"404":{"description":"Study environment site UUID not found."},"422":{"description":"One of the following occurred:\n - missing page, study environment UUID, study environment country UUID, or study environment site UUID, or\n - provided page, study environment UUID, study environment country UUID, or study environment site UUID is invalid."}}},"post":{"summary":"Create a New Submission for a Study Environment Site","description":"Creates a new submission for the given study environment site UUID.","operationId":"submissions.createBySite","tags":["Submissions"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the site.","required":true,"name":"site_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"requestBody":{"description":"Submission to create.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionPostRequest"}}}},"responses":{"201":{"description":"Successfully created submission.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSiteSubmissionsResponse"}}}},"404":{"description":"Study environment site not found."},"422":{"description":"Invalid submissions create request."}}},"patch":{"summary":"Update Submissions for a Study Environment Site","description":"Updates submissions for the given study environment site UUID.","operationId":"submissions.updateBySite","tags":["Submissions"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the site.","required":true,"name":"site_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"requestBody":{"description":"Submission fields to update.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionPatchRequest"}}}},"responses":{"200":{"description":"Successfully updated submissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSiteSubmissionsResponse"}}}},"404":{"description":"Study environment site not found."},"422":{"description":"Invalid submissions update request."}}}},"/v1/ctms/study_environment/{study_environment_uuid}/country/{country_uuid}/site/{site_uuid}/operational_data":{"get":{"summary":"Get All Operational Data for a Study Environment Site","description":"Returns the operational data for the given\nstudy environment site UUID.","operationId":"operationalData.indexByStudyEnvironmentSite","tags":["Operational Data"],"parameters":[{"description":"UUID of the country.","required":true,"name":"country_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the site.","required":true,"name":"site_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"responses":{"200":{"description":"Operational data for the given study environment site UUID\nreturned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationalDataSiteResponse"}}}},"400":{"description":"Invalid request parameters."},"404":{"description":"Study environment, study environment country,\nor study environment site not found."},"422":{"description":"One of the following occurred:\n - missing study environment UUID, study environment country UUID, or study environment site UUID, or\n - provided study environment UUID, study environment country UUID, or study environment site UUID is invalid."},"500":{"description":"Internal server error."}}}},"/v1/ctms/study_environment/{study_environment_uuid}/issues":{"get":{"summary":"Get All Issues for a Study Environment","description":"Returns the list of issues for the given study environment UUID.","operationId":"getIssuesByStudyEnvironment","tags":["Issues"],"parameters":[{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"The page number to retrieve. Must be a positive integer starting from 1.","required":true,"schema":{"minimum":1},"name":"page","in":"query"}],"responses":{"200":{"description":"Issues for the given study environment UUID returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentIssuesResponse"}}}},"404":{"description":"Study environment UUID not found."},"422":{"description":"One of the following occurred:\n - missing page or study environment UUID, or\n - provided page or study environment UUID is invalid."},"500":{"description":"Internal server error."}}}},"/v1/ctms/study_environments/{study_environment_uuid}/milestones":{"get":{"summary":"Get All Milestones by Study Environment","description":"Returns the list of milestones for the given\n study environment UUID.","operationId":"milestones.indexByStudyEnvironment","tags":["Milestones"],"parameters":[{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"responses":{"200":{"description":"Successfully retrieved milestones.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentMilestonesResponse"}}}},"400":{"description":"Invalid request parameters."},"404":{"description":"Study environment not found."}}},"patch":{"summary":"Update Study Environment Milestones","description":"Updates milestones for the given study environment UUID.","operationId":"milestones.updateByStudyEnvironment","tags":["Milestones"],"parameters":[{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"requestBody":{"description":"Milestone fields to update.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestonePatchRequest"}}}},"responses":{"200":{"description":"Successfully updated milestones.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentMilestonesResponse"}}}},"404":{"description":"Study environment not found."},"422":{"description":"Invalid milestones update request."}}}},"/v1/ctms/study_environments/{study_environment_uuid}/submissions":{"get":{"summary":"Get All Submissions for a Study Environment","description":"Returns the list of submissions for the given study environment UUID.","operationId":"submissions.indexByStudyEnvironment","tags":["Submissions"],"parameters":[{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}},{"description":"The page number to retrieve. Must be a positive integer starting from 1.","required":true,"schema":{"minimum":1},"name":"page","in":"query"}],"responses":{"200":{"description":"Submissions for the given study environment UUID returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSubmissionsResponse"}}}},"404":{"description":"Study environment UUID not found."},"422":{"description":"One of the following occurred:\n - missing page or study environment UUID, or\n - provided page or study environment UUID is invalid."}}},"post":{"summary":"Create a New Submission for a Study Environment","description":"Creates a new submission for the given study environment UUID.","operationId":"submissions.createByStudyEnvironment","tags":["Submissions"],"parameters":[{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"requestBody":{"description":"Submission to create.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionPostRequest"}}}},"responses":{"201":{"description":"Successfully created submission.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSubmissionsResponse"}}}},"404":{"description":"Study environment not found."},"422":{"description":"Invalid submissions create request."}}},"patch":{"summary":"Update Submissions for a Study Environment","description":"Updates submissions for the given study environment UUID.","operationId":"submissions.updateByStudyEnvironment","tags":["Submissions"],"parameters":[{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"requestBody":{"description":"Submission fields to update.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionPatchRequest"}}}},"responses":{"200":{"description":"Successfully updated submissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyEnvironmentSubmissionsResponse"}}}},"404":{"description":"Study environment not found."},"422":{"description":"Invalid submissions update request."}}}},"/v1/ctms/study_environment/{study_environment_uuid}/operational_data":{"get":{"summary":"Get All Operational Data for a Study Environment","description":"Returns the operational data for the given\nstudy environment UUID.","operationId":"operationalData.indexByStudyEnvironment","tags":["Operational Data"],"parameters":[{"description":"UUID of the study environment.","required":true,"name":"study_environment_uuid","in":"path","schema":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}],"responses":{"200":{"description":"Operational data for the given study environment UUID\nreturned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationalDataStudyEnvironmentResponse"}}}},"400":{"description":"Invalid request parameters."},"404":{"description":"Study environment not found."},"422":{"description":"One of the following occurred:\n - missing study environment UUID, or\n - provided study environment UUID is invalid."}}}}}}