post:
    operationId: saveDemographicUserAssessmentSelf
    summary: Save/overwrite all demographics for a user
    description: Save/overwrite all demographics for a user (study-level, posted by the user), uses the assessment JSON model
    tags:
        - Study Participants
        - _For Consented Users
    security:
        - BridgeSecurity: []
    parameters:
        - $ref: ../../index.yml#/parameters/studyId
        - name: DemographicUser
          required: true
          in: body
          schema:
                $ref: ../../definitions/demographic_user.yml
    responses:
        200:
            description: OK
            schema:
                $ref: ../../definitions/demographic_user.yml
        400:
            $ref: ../../responses/400_message.yml # also $ref: ../../responses/400_invalid_entity.yml
        401:
            $ref: ../../responses/401.yml
        404:
            description: Account does not exist or is not in this study.
            schema:
                $ref: ../../definitions/message.yml
        410:
            $ref: ../../responses/410.yml
        412:
            $ref: ../../responses/412.yml

post:
    operationId: saveDemographicUserAssessmentSelf
    summary: Save/overwrite all demographics for a user
    description: Save/overwrite all demographics for a user (study-level, posted by the user), uses the assessment JSON model
    tags:
        - Study Participants
        - _For Consented Users
    security:
        - BridgeSecurity: []
    parameters:
        - $ref: ../../index.yml#/parameters/studyId
        - name: DemographicUser
          required: true
          in: body
          schema:
                $ref: ../../definitions/demographic_user_assessment.yml
    responses:
        200:
            description: OK
            schema:
                $ref: ../../definitions/demographic_user.yml
        400:
            $ref: ../../responses/400_message.yml # also $ref: ../../responses/400_invalid_entity.yml
        401:
            $ref: ../../responses/401.yml
        404:
            description: Account does not exist or is not in this study.
            schema:
                $ref: ../../definitions/message.yml
        410:
            $ref: ../../responses/410.yml
        412:
            $ref: ../../responses/412.yml

Fix input for assessment endpoint
Fix input for assessment endpoint
