components:
  schemas:
    address.Address:
      properties:
        additional:
          description: ''
          type: string
        city:
          description: ''
          type: string
        country:
          description: ''
          type: string
        distribution:
          description: ''
          type: string
        extension:
          $ref: '#/components/schemas/address.AddressExtension'
          description: ''
        period:
          $ref: '#/components/schemas/period.Period'
          description: ''
        pod:
          description: ''
          type: string
        street:
          description: ''
          type: string
        use:
          description: ''
          type: string
        zip_code:
          description: ''
          type: string
    address.AddressExtension:
      properties:
        geo_iris_code:
          description: ''
          type: string
        geo_point:
          description: ''
          type: string
        insee_code:
          description: ''
          type: string
    attachment.Attachment:
      properties:
        content_type:
          description: ''
          type: string
        creation:
          description: ''
          type: string
        data:
          description: ''
          type: string
        duration:
          description: ''
          type: integer
        frames:
          description: ''
          type: integer
        hash:
          description: ''
          type: string
        height:
          description: ''
          type: integer
        language:
          description: ''
          type: string
        size:
          description: ''
          type: integer
        title:
          description: ''
          type: string
        url:
          description: ''
          type: string
        width:
          description: ''
          type: integer
    communication_language.CommunicationLanguage:
      properties:
        language:
          description: ''
          type: string
        preferred:
          description: ''
          type: boolean
    condition.Condition:
      properties:
        body_site:
          description: ''
          type: string
        category:
          description: ''
          type: string
        clinical_status:
          description: in Json for the moment no identifier
          type: string
        extension:
          $ref: '#/components/schemas/condition.ConditionExtension'
          description: ''
        identifier:
          $ref: '#/components/schemas/condition.ConditionIdentifierSlices'
          description: ''
        note:
          description: ''
          type: string
        severity:
          description: ''
          type: string
        subject:
          description: patient primary_id key
          type: string
        verification_status:
          description: ''
          type: string
      required:
      - extension
    condition.ConditionExtension:
      properties:
        body_site_other:
          description: ''
          type: string
    condition.ConditionIdentifierSlices:
      properties:
        primary_id:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
      required:
      - primary_id
    contact_point.ContactPoint:
      properties:
        period:
          $ref: '#/components/schemas/period.Period'
          description: ''
        rank:
          description: ''
          type: integer
        system:
          description: ''
          type: string
        use:
          description: ''
          type: string
        value:
          description: ''
          type: string
    human_name.HumanName:
      properties:
        family:
          description: ''
          type: string
        given:
          description: ''
          type: string
        prefix:
          description: ''
          type: string
        suffix:
          description: ''
          type: string
        text:
          description: ''
          type: string
        use:
          description: ''
          type: string
    identifier.Identifier:
      properties:
        assigner:
          description: ''
          type: string
        period:
          $ref: '#/components/schemas/period.Period'
          description: ''
        type:
          description: ''
          type: string
        uri:
          description: ''
          type: string
        use:
          description: ''
          type: string
        value:
          description: ''
          type: string
      required:
      - value
    insee_ape.InseeAPE:
      properties:
        code:
          description: ''
          type: string
        name:
          description: ''
          type: string
    list_subscription.ListSubscription:
      properties:
        contact:
          description: person primary_id value
          type: string
        created:
          description: ''
          type: string
        identifier:
          $ref: '#/components/schemas/list_subscription.ListSubscriptionIdentifierSlices'
          description: ''
        mailinglist:
          description: TODO Mailing List
          type: string
        platform:
          description: ''
          type: string
        rgpd_bases:
          description: processing_basis primary_id value
          type: string
        status:
          description: ''
          type: string
        updated:
          description: ''
          type: string
    list_subscription.ListSubscriptionIdentifierSlices:
      properties:
        platform:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
        primary_id:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
      required:
      - platform
      - primary_id
    organization.Organization:
      properties:
        active:
          description: ''
          type: boolean
        contact:
          $ref: '#/components/schemas/organization.OrganizationContactSlices'
          description: ''
        created:
          description: ''
          type: string
        description:
          description: ''
          type: string
        extension:
          $ref: '#/components/schemas/organization.OrganizationExtension'
          description: ''
        identifier:
          $ref: '#/components/schemas/organization.OrganizationIdentifierSlices'
          description: ''
        name:
          description: ''
          type: string
        part_of:
          description: Organization primary id value
          type: string
        qualification:
          $ref: '#/components/schemas/qualification.Qualification'
          description: ''
        type:
          description: ''
          type: string
        updated:
          description: ''
          type: string
      required:
      - identifier
    organization.OrganizationContactSlices:
      properties:
        billing:
          description: TODO ExtendedContactDetail
          type: string
        details:
          description: TODO ExtendedContactDetail
          type: string
    organization.OrganizationExtension:
      properties:
        billing_accounting_id:
          description: ''
          type: string
        billing_information:
          description: ''
          type: string
        insee_ape:
          $ref: '#/components/schemas/insee_ape.InseeAPE'
          description: ''
        research_unit:
          description: ''
          type: string
        short_name:
          description: ''
          type: string
        sirene_legal_form:
          $ref: '#/components/schemas/sirene_legal_form.SireneLegalForm'
          description: ''
    organization.OrganizationIdentifierSlices:
      properties:
        finess:
          description: ''
          type: string
        primary_id:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
        siret:
          description: ''
          type: string
        vat:
          description: ''
          type: string
      required:
      - primary_id
    patient.Patient:
      properties:
        active:
          description: primary_id generated by the system
          type: boolean
        address:
          $ref: '#/components/schemas/address.Address'
          description: ''
        birth_date:
          description: ''
          type: string
        communication:
          $ref: '#/components/schemas/communication_language.CommunicationLanguage'
          description: ''
        contact:
          $ref: '#/components/schemas/contact_point.ContactPoint'
          description: contact primary_id value
        created:
          description: ''
          type: string
        deceased:
          description: ''
          type: string
        extension:
          $ref: '#/components/schemas/patient.PatientExtension'
          description: ''
        gender:
          description: ''
          type: string
        identifier:
          $ref: '#/components/schemas/patient.PatientIdentifierSlices'
          description: ''
        link:
          additionalProperties: {}
          description: ''
          type: object
        managing_organization:
          description: Organization primary_id value
          type: string
        marital_status:
          description: ''
          type: string
        name:
          $ref: '#/components/schemas/human_name.HumanName'
          description: ''
        photo:
          $ref: '#/components/schemas/attachment.Attachment'
          description: ''
        telecom:
          $ref: '#/components/schemas/patient.PatientTelecomSlices'
          description: ''
        updated:
          description: ''
          type: string
      required:
      - extension
      - telecom
    patient.PatientExtension:
      properties:
        activated:
          description: ''
          type: boolean
        aggregated_comments:
          description: ''
          type: integer
        aggregated_events_attended:
          description: ''
          type: integer
        aggregated_events_registrations:
          description: ''
          type: integer
        aggregated_kit_brochures:
          description: ''
          type: integer
        aggregated_kit_last:
          description: ''
          type: string
        aggregated_kit_orders:
          description: ''
          type: integer
        aggregated_kit_posters:
          description: ''
          type: integer
        aggregated_profile:
          description: ''
          type: boolean
        aggregated_profile_adminurl:
          description: ''
          type: string
        aggregated_profile_date:
          description: ''
          type: string
        aggregated_profile_id:
          description: ''
          type: string
        aggregated_studies:
          description: ''
          type: integer
        aggregated_studies_first:
          description: ''
          type: string
        aggregated_studies_last:
          description: ''
          type: string
        condition_cancer_id:
          $ref: '#/components/schemas/condition.Condition'
          description: ''
        is_pro:
          description: ''
          type: boolean
        is_relative:
          description: ''
          type: boolean
        pro_institute:
          description: ''
          type: string
        pro_specialty:
          description: ''
          type: string
        registration_date:
          description: ''
          type: string
        rgpd_bases:
          description: ''
          type: string
        segmentation_degreelevel:
          description: ''
          type: string
        segmentation_degreelevel_other:
          description: ''
          type: string
        segmentation_geoorigin:
          description: ''
          type: string
        segmentation_optout:
          description: ''
          type: boolean
        segmentation_optout_date:
          description: ''
          type: string
        segmentation_psc:
          description: ''
          type: string
        segmentation_psc_other:
          description: ''
          type: string
        segmentation_studylevel:
          description: ''
          type: string
    patient.PatientIdentifierSlices:
      properties:
        legacy:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
        primary_id:
          $ref: '#/components/schemas/identifier.Identifier'
          description: generated by the system on creation
    patient.PatientTelecomSlices:
      properties:
        email:
          $ref: '#/components/schemas/contact_point.ContactPoint'
          description: ''
        mobile:
          $ref: '#/components/schemas/contact_point.ContactPoint'
          description: ''
        phone:
          $ref: '#/components/schemas/contact_point.ContactPoint'
          description: ''
    period.Period:
      properties:
        end:
          description: ''
          type: string
        start:
          description: ''
          type: string
    person.PersonExtension:
      properties:
        categories:
          description: ''
          type: string
        organizations:
          description: TODO should be link to
          items:
            $ref: '#/components/schemas/organization.Organization'
          type: array
        rgpd_bases:
          description: TODO should be link to ProcessingBasis
          type: string
    person.PersonIdentifierSlices:
      properties:
        legacy:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
        primary_id:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
      required:
      - primary_id
    person.PersonLinkSlices:
      properties:
        patient:
          description: TODO should be link to Patient
          type: string
        practitioner:
          description: TODO should be link to Practitioner
          type: string
    person.PersonTelecomSlices:
      properties:
        email:
          $ref: '#/components/schemas/contact_point.ContactPoint'
          description: ''
        mobile:
          $ref: '#/components/schemas/contact_point.ContactPoint'
          description: ''
        phone:
          $ref: '#/components/schemas/contact_point.ContactPoint'
          description: ''
    processing_basis.ProcessingBasis:
      properties:
        author:
          description: person primary_id value
          type: string
        basis:
          description: ''
          type: string
        created:
          description: primary_id is created by Zato
          type: string
        identifier:
          $ref: '#/components/schemas/processing_basis.ProcessingBasisIdentifierSlices'
          description: ''
        medium:
          description: ''
          type: string
        method:
          description: ''
          type: string
        origin:
          description: ''
          type: string
        ressource:
          description: ''
          type: string
        revocation_date:
          description: ''
          type: string
        revocation_reason:
          description: ''
          type: string
        revoked:
          description: ''
          type: boolean
        site:
          description: ''
          type: string
        subject:
          description: person primary_id value
          type: string
    processing_basis.ProcessingBasisIdentifierSlices:
      properties:
        primary_id:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
      required:
      - primary_id
    progress_status.ProgressStatus:
      properties:
        actual:
          description: ''
          type: boolean
        period:
          $ref: '#/components/schemas/period.Period'
          description: ''
        state:
          description: ''
          type: string
    qualification.Qualification:
      properties:
        identifier:
          $ref: '#/components/schemas/qualification.QualificationIdentifierSlices'
          description: ''
        issuer:
          description: ''
          type: string
        period:
          $ref: '#/components/schemas/period.Period'
          description: ''
      required:
      - identifier
    qualification.QualificationIdentifierSlices:
      properties:
        primary_id:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
      required:
      - primary_id
    recruitment.Recruitment:
      properties:
        actual_number:
          description: ''
          type: integer
        extension:
          $ref: '#/components/schemas/recruitment.RecruitmentExtension'
          description: ''
        target_number:
          description: ''
          type: integer
      required:
      - extension
    recruitment.RecruitmentExtension:
      properties:
        eligibility_age_max:
          description: ''
          type: integer
        eligibility_age_min:
          description: ''
          type: integer
        eligibility_condition_body_site:
          description: ''
          type: integer
        eligibility_condition_clinical_status:
          description: ''
          type: string
        eligibility_description:
          description: ''
          type: string
        eligibility_gender:
          description: ''
          type: string
        eligibility_study_excl:
          description: Study
          type: string
        eligibility_study_incl:
          description: Study
          type: string
        eligibility_topic:
          description: ''
          type: string
        max_number:
          description: ''
          type: integer
    request_api_helpdesk_ticket_create_helpdesk_ticket_create:
      properties:
        processing_basis:
          $ref: '#/components/schemas/processing_basis.ProcessingBasis'
          description: ''
        ticket:
          $ref: '#/components/schemas/ticket.Ticket'
          description: ''
      required:
      - processing_basis
      - ticket
      title: Request object for api-helpdesk-ticket-create.helpdesk-ticket-create
      type: object
    request_api_patient_create_patient_create:
      properties:
        list_subscription:
          $ref: '#/components/schemas/list_subscription.ListSubscription'
          description: ''
        patient:
          $ref: '#/components/schemas/patient.Patient'
          description: ''
        processing_basis:
          $ref: '#/components/schemas/processing_basis.ProcessingBasis'
          description: 'WARNING : URI have to be authorized by keycloak to work'
        resource_owner:
          $ref: '#/components/schemas/resource_owner.ResourceOwner'
          description: ''
        resource_owner_email_verify_redirect_uri:
          description: ''
          type: string
      required:
      - list_subscription
      - patient
      - processing_basis
      - resource_owner
      title: Request object for api-patient-create.patient-create
      type: object
    request_api_patient_exists_patient_exists:
      properties:
        email:
          description: ''
          type: string
      required:
      - email
      title: Request object for api-patient-exists.patient-exists
      type: object
    request_api_study_create_study_create:
      properties:
        created:
          description: ''
          type: string
        date:
          description: ''
          type: string
        description:
          description: ''
          type: string
        description_summary:
          description: ''
          type: string
        extension:
          description: ''
          type: string
        identifier:
          description: ''
          type: string
        keyword:
          description: ''
          type: string
        name:
          description: ''
          type: string
        note:
          description: ''
          type: string
        part_of:
          description: study primary_id value
          type: string
        period:
          $ref: '#/components/schemas/period.Period'
          description: ''
        phase:
          description: ''
          type: string
        primary_purpose_type:
          description: ''
          type: string
        progress_status:
          $ref: '#/components/schemas/progress_status.ProgressStatus'
          description: ''
        recruitment:
          $ref: '#/components/schemas/recruitment.Recruitment'
          description: ''
        region:
          description: ''
          type: string
        site:
          description: Organization primary_id value
          type: string
        status:
          description: ''
          type: string
        title:
          description: ''
          type: string
        version:
          description: primary_id generated by the system
          type: string
      required:
      - extension
      title: Request object for api-study-create.study-create
      type: object
    request_api_study_participant_create_study_participant_create:
      properties:
        created:
          description: ''
          type: string
        date:
          description: ''
          type: string
        extension:
          $ref: '#/components/schemas/study_participant.StudyParticipantExtension'
          description: ''
        identifier:
          $ref: '#/components/schemas/study_participant.StudyParticipantIdentifierSlices'
          description: ''
        part_of:
          description: Study primary_id value
          type: string
        progress_status:
          description: ''
          type: string
        questionnaire_response:
          description: ''
          type: string
        rgpd_bases:
          description: processing_basis_primary_id_value ?
          type: string
        state:
          description: ''
          type: string
        subject:
          description: Patient primary_id value
          type: string
      required:
      - part_of
      - subject
      title: Request object for api-study-participant-create.study-participant-create
      type: object
    request_api_study_participant_get_study_participant_get:
      properties:
        part_of:
          description: study primary_id value
          type: string
        subject:
          description: patient primary_id value
          type: string
      required:
      - subject
      title: Request object for api-study-participant-get.study-participant-get
      type: object
    resource_owner.ResourceOwner:
      properties:
        activated:
          description: not in input
          type: boolean
        created:
          description: 'identifier: ResourceOwnerIdentifierSlices'
          type: string
        email:
          description: ''
          type: string
        family_name:
          description: ''
          type: string
        given_name:
          description: ''
          type: string
        legacy_password:
          description: ''
          type: string
        mobile:
          description: ''
          type: string
        password:
          description: ''
          type: string
        twofactor_method:
          description: not implemented yet
          type: string
        updated:
          description: ''
          type: string
        verified_email:
          description: not in input
          type: boolean
        verified_mobile:
          description: not in input
          type: boolean
    response_api_helpdesk_ticket_create_helpdesk_ticket_create:
      properties:
        category:
          description: ''
          type: string
        closed:
          description: ''
          type: string
        comment_pubid:
          description: 'Accepted values: ACCESS, RECTIFICATION, DELETION'
          type: string
        comment_puburl:
          description: ''
          type: string
        contact:
          description: 'Accepted values: B2C_CONTACT, B2C_SUPPORT, B2C_KIT, B2C_REVIEW,
            B2C_PROFILE, B2B_CONTACT, RGPD'
          type: string
        contact_address:
          $ref: '#/components/schemas/address.Address'
          description: ''
        contact_email:
          description: ''
          type: string
        contact_firstname:
          description: ''
          type: string
        contact_lastname:
          description: ''
          type: string
        contact_mobile:
          description: ''
          type: string
        created:
          description: ''
          type: string
        description:
          description: ''
          type: string
        identifier:
          $ref: '#/components/schemas/ticket.TicketIdentifierSlices'
          description: ''
        kit_brochures:
          description: ''
          type: integer
        kit_posters:
          description: ''
          type: integer
        name:
          description: ''
          type: string
        profile_adminurl:
          description: ''
          type: string
        profile_id:
          description: ''
          type: string
        rgpd_bases:
          description: processing_basis primary_id value
          type: string
        rgpd_type:
          description: ''
          type: string
        stage:
          description: ''
          type: string
        stage_cancel_reason:
          description: ''
          type: string
        team:
          $ref: '#/components/schemas/ticket.HelpDeskTeam'
          description: ''
        updated:
          description: ''
          type: string
        user:
          description: Object Person
          type: string
      title: Response object for api-helpdesk-ticket-create.helpdesk-ticket-create
      type: object
    response_api_patient_create_patient_create:
      properties:
        active:
          description: ''
          type: boolean
        address:
          $ref: '#/components/schemas/address.Address'
          description: ''
        birth_date:
          description: 'gender: optional[GenderEnum]'
          type: string
        communication:
          $ref: '#/components/schemas/communication_language.CommunicationLanguage'
          description: ''
        created:
          description: ''
          type: string
        deceased:
          description: ''
          type: string
        extension:
          $ref: '#/components/schemas/person.PersonExtension'
          description: ''
        identifier:
          $ref: '#/components/schemas/person.PersonIdentifierSlices'
          description: ''
        link:
          $ref: '#/components/schemas/person.PersonLinkSlices'
          description: ''
        managing_organization:
          $ref: '#/components/schemas/organization.Organization'
          description: ''
        name:
          $ref: '#/components/schemas/human_name.HumanName'
          description: ''
        photo:
          $ref: '#/components/schemas/attachment.Attachment'
          description: 'marital_status: optional[MaritalStatusEnum]'
        telecom:
          $ref: '#/components/schemas/person.PersonTelecomSlices'
          description: ''
        updated:
          description: ''
          type: string
      required:
      - identifier
      - telecom
      title: Response object for api-patient-create.patient-create
      type: object
    response_api_patient_exists_patient_exists:
      properties:
        status_code:
          description: ''
          type: integer
        text:
          description: ''
          type: string
      required:
      - status_code
      - text
      title: Response object for api-patient-exists.patient-exists
      type: object
    response_api_study_create_study_create:
      properties:
        created:
          description: ''
          type: string
        date:
          description: ''
          type: string
        description:
          description: ''
          type: string
        description_summary:
          description: ''
          type: string
        extension:
          description: ''
          type: string
        identifier:
          description: ''
          type: string
        keyword:
          description: ''
          type: string
        name:
          description: ''
          type: string
        note:
          description: ''
          type: string
        part_of:
          description: study primary_id value
          type: string
        period:
          $ref: '#/components/schemas/period.Period'
          description: ''
        phase:
          description: ''
          type: string
        primary_purpose_type:
          description: ''
          type: string
        progress_status:
          $ref: '#/components/schemas/progress_status.ProgressStatus'
          description: ''
        recruitment:
          $ref: '#/components/schemas/recruitment.Recruitment'
          description: ''
        region:
          description: ''
          type: string
        site:
          description: Organization primary_id value
          type: string
        status:
          description: ''
          type: string
        title:
          description: ''
          type: string
        version:
          description: primary_id generated by the system
          type: string
      required:
      - extension
      title: Response object for api-study-create.study-create
      type: object
    response_api_study_participant_create_study_participant_create:
      properties:
        created:
          description: ''
          type: string
        date:
          description: ''
          type: string
        extension:
          $ref: '#/components/schemas/study_participant.StudyParticipantExtension'
          description: ''
        identifier:
          $ref: '#/components/schemas/study_participant.StudyParticipantIdentifierSlices'
          description: ''
        part_of:
          description: Study primary_id value
          type: string
        progress_status:
          description: ''
          type: string
        questionnaire_response:
          description: ''
          type: string
        rgpd_bases:
          description: processing_basis_primary_id_value ?
          type: string
        state:
          description: ''
          type: string
        subject:
          description: Patient primary_id value
          type: string
      required:
      - part_of
      - subject
      title: Response object for api-study-participant-create.study-participant-create
      type: object
    response_api_study_participant_get_study_participant_get:
      properties:
        study_participants:
          description: ''
          items:
            $ref: '#/components/schemas/study_participant.StudyParticipant'
          type: array
      required:
      - study_participants
      title: Response object for api-study-participant-get.study-participant-get
      type: object
    sirene_legal_form.SireneLegalForm:
      properties:
        code:
          description: ''
          type: string
        level1:
          description: ''
          type: string
        level2:
          description: ''
          type: string
    study_participant.StudyParticipant:
      properties:
        created:
          description: ''
          type: string
        date:
          description: ''
          type: string
        extension:
          $ref: '#/components/schemas/study_participant.StudyParticipantExtension'
          description: ''
        identifier:
          $ref: '#/components/schemas/study_participant.StudyParticipantIdentifierSlices'
          description: ''
        part_of:
          description: Study primary_id value
          type: string
        progress_status:
          description: ''
          type: string
        questionnaire_response:
          description: ''
          type: string
        rgpd_bases:
          description: processing_basis_primary_id_value ?
          type: string
        state:
          description: ''
          type: string
        subject:
          description: Patient primary_id value
          type: string
      required:
      - part_of
      - subject
    study_participant.StudyParticipantExtension:
      properties:
        aggregated_testimony:
          description: ''
          type: boolean
        aggregated_testimony_adminurl:
          description: ''
          type: string
        aggregated_testimony_date:
          description: ''
          type: string
        aggregated_testimony_id:
          description: ''
          type: string
    study_participant.StudyParticipantIdentifierSlices:
      properties:
        author:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
        primary_id:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
      required:
      - primary_id
    ticket.HelpDeskTeam:
      properties:
        name:
          description: ''
          type: string
      required:
      - name
    ticket.Ticket:
      properties:
        category:
          description: ''
          type: string
        closed:
          description: ''
          type: string
        comment_pubid:
          description: 'Accepted values: ACCESS, RECTIFICATION, DELETION'
          type: string
        comment_puburl:
          description: ''
          type: string
        contact:
          description: 'Accepted values: B2C_CONTACT, B2C_SUPPORT, B2C_KIT, B2C_REVIEW,
            B2C_PROFILE, B2B_CONTACT, RGPD'
          type: string
        contact_address:
          $ref: '#/components/schemas/address.Address'
          description: ''
        contact_email:
          description: ''
          type: string
        contact_firstname:
          description: ''
          type: string
        contact_lastname:
          description: ''
          type: string
        contact_mobile:
          description: ''
          type: string
        created:
          description: ''
          type: string
        description:
          description: ''
          type: string
        identifier:
          $ref: '#/components/schemas/ticket.TicketIdentifierSlices'
          description: ''
        kit_brochures:
          description: ''
          type: integer
        kit_posters:
          description: ''
          type: integer
        name:
          description: ''
          type: string
        profile_adminurl:
          description: ''
          type: string
        profile_id:
          description: ''
          type: string
        rgpd_bases:
          description: processing_basis primary_id value
          type: string
        rgpd_type:
          description: ''
          type: string
        stage:
          description: ''
          type: string
        stage_cancel_reason:
          description: ''
          type: string
        team:
          $ref: '#/components/schemas/ticket.HelpDeskTeam'
          description: ''
        updated:
          description: ''
          type: string
        user:
          description: Object Person
          type: string
    ticket.TicketIdentifierSlices:
      properties:
        primary_id:
          $ref: '#/components/schemas/identifier.Identifier'
          description: ''
      required:
      - primary_id
  securitySchemes:
    BasicAuth:
      scheme: basic
      type: http
info:
  title: API spec
  version: '1.0'
openapi: 3.0.3
paths:
  /helpdesk/v0.2/ticket:
    post:
      operationId: post__helpdesk_v0_2_ticket
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_helpdesk_ticket_create_helpdesk_ticket_create'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_helpdesk_ticket_create_helpdesk_ticket_create'
          description: ''
  /patient/v0.2/create:
    post:
      operationId: post__patient_v0_2_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_patient_create_patient_create'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_patient_create_patient_create'
          description: ''
  /patient/v0.2/exists:
    post:
      operationId: post__patient_v0_2_exists
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_patient_exists_patient_exists'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_patient_exists_patient_exists'
          description: ''
  /study/v0.2:
    post:
      operationId: post__study_v0_2
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_study_create_study_create'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_study_create_study_create'
          description: ''
  /study/v0.2/participant/:
    post:
      operationId: post__study_v0_2_participant_
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_study_participant_create_study_participant_create'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_study_participant_create_study_participant_create'
          description: ''
  /study/v0.2/participant/{subject}:
    post:
      operationId: post__study_v0_2_participant__subject_
      parameters:
      - description: ''
        in: path
        name: subject
        required: true
        schema:
          format: string
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_study_participant_get_study_participant_get'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_study_participant_get_study_participant_get'
          description: ''
  /study/v0.2/{study_primary_id_value}:
    post:
      operationId: post__study_v0_2__study_primary_id_value_
      parameters:
      - description: ''
        in: path
        name: study_primary_id_value
        required: true
        schema:
          format: string
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_study_get_study_get'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_study_get_study_get'
          description: ''
  /zato/api/invoke/api-helpdesk-ticket-create.helpdesk-ticket-create:
    post:
      operationId: post__zato_api_invoke_api_helpdesk_ticket_create_helpdesk_ticket_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_helpdesk_ticket_create_helpdesk_ticket_create'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_helpdesk_ticket_create_helpdesk_ticket_create'
          description: ''
  /zato/api/invoke/api-patient-create.patient-create:
    post:
      operationId: post__zato_api_invoke_api_patient_create_patient_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_patient_create_patient_create'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_patient_create_patient_create'
          description: ''
  /zato/api/invoke/api-patient-exists.patient-exists:
    post:
      operationId: post__zato_api_invoke_api_patient_exists_patient_exists
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_patient_exists_patient_exists'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_patient_exists_patient_exists'
          description: ''
  /zato/api/invoke/api-study-create.study-create:
    post:
      operationId: post__zato_api_invoke_api_study_create_study_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_study_create_study_create'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_study_create_study_create'
          description: ''
  /zato/api/invoke/api-study-get.study-get:
    post:
      operationId: post__zato_api_invoke_api_study_get_study_get
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_study_get_study_get'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_study_get_study_get'
          description: ''
  /zato/api/invoke/api-study-participant-create.study-participant-create:
    post:
      operationId: post__zato_api_invoke_api_study_participant_create_study_participant_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_study_participant_create_study_participant_create'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_study_participant_create_study_participant_create'
          description: ''
  /zato/api/invoke/api-study-participant-get.study-participant-get:
    post:
      operationId: post__zato_api_invoke_api_study_participant_get_study_participant_get
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/request_api_study_participant_get_study_participant_get'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/response_api_study_participant_get_study_participant_get'
          description: ''
security:
- BasicAuth: []
servers:
- url: http://127.0.0.1:17010
