description: Success
content:
  application/json:
    schema:
      allOf:
        - type: object
          properties:
            outcome:
              type: string
              nullable: false
              enum:
                - SUCCESS
                - FAILURE
          required:
            - outcome
        - type: object
          properties:
            errors:
              type: array
              nullable: false
              items:
                $ref: "../schemas/SingleError.yaml"
    examples:
      successOutcome:
        value:
          outcome: SUCCESS
      failureOutcome:
        value:
          outcome: FAILURE
          errors:
            - title: Could not connect to database.
              detail: Password authentication attempt was rejected.
