# Join Attendance Challenge

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/members/me/attendance_challenge/join:
    post:
      summary: Join Attendance Challenge
      deprecated: false
      description: |
        Registers the Member to the Attendance Challenge.
      tags:
        - API Reference/Public API/Member/AttendanceChallenge
      parameters:
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberStatus'
              example:
                edition:
                  start_date: 2026-02
                  end_date: 2026-08
                  stages:
                    - 2026-02
                    - 2026-03
                    - 2026-04
                    - 2026-05
                    - 2026-06
                    - 2026-07
                    - 2026-08
                  starts_at: '2026-02-01T09:00:00.000000+02:00'
                  ends_at: '2026-08-01T08:59:59.999999+01:00'
                  stages_streak_goal: 3
                  monthly_attendances_goal: 4
                  daily_value_goal: 100
                  entries_limit: 2
                  first_stage_reward_id: 1442920
                  streak_reward_value: 150
                  title: Win in 2026
                  rules: string
                  goals_description: string
                  rewards_description: string
                  membership:
                    status: active
                    entries: 1
                    first_stage_reward_granted: true
                    notifications:
                      - type: extra_period_ending
                        properties:
                          days: 3
                        severity: info
                    stages_completed: 1
                    stages_left: 2
                    stages_pending: 1
                    stages:
                      current:
                        name: 2026-05
                        starts_at: '2026-05-01T09:00:00.000000+02:00'
                        ends_at: '2026-06-01T08:59:59.999999+02:00'
                        extra_period_ends_at: '2026-06-11T08:59:59.999999+01:00'
                        attendances_completed: 2
                        attendances_left: 2
                        attendances_pending: 1
                        attendances:
                          - date: '2026-05-11'
                            complete: true
                            value: 100
                            value_missing: 0
                            value_pending: 0
                          - date: '2026-05-12'
                            complete: true
                            value: 15
                            value_missing: 85
                            value_pending: 0
                          - date: '2026-05-15'
                            complete: false
                            value: 95.21
                            value_missing: 4.79
                            value_pending: 4.79
                          - date: '2026-05-21'
                            complete: false
                            value: 83.11
                            value_missing: 16.89
                            value_pending: 0
                        completed: false
                        pending: true
                        extended_period: true
                      past:
                        - name: 2026-04
                          starts_at: '2026-04-01T09:00:00.000000+02:00'
                          ends_at: '2026-05-02T08:59:59.999999+01:00'
                          extra_period_ends_at: '2026-05-11T08:59:59.999999+01:00'
                          attendances_completed: 4
                          attendances_pending: 0
                          attendances_left: 0
                          attendances:
                            - date: '2026-04-11'
                              complete: true
                              value: 100
                              value_missing: 0
                              value_pending: 0
                            - date: '2026-04-13'
                              complete: true
                              value: 100
                              value_missing: 0
                              value_pending: 0
                            - date: '2026-04-15'
                              complete: true
                              value: 100
                              value_missing: 0
                              value_pending: 0
                            - date: '2026-04-23'
                              complete: true
                              value: 100
                              value_missing: 0
                              value_pending: 0
                      future:
                        - name: 2026-06
                          starts_at: '2026-06-01T09:00:00.000000+02:00'
                          ends_at: '2026-07-01T23:59:59.999999+01:00'
                          extra_period_ends_at: '2026-07-11T08:59:59.999999+01:00'
                          attendances_completed: 0
                          attendances_pending: 0
                          attendances_left: 4
                          attendances: []
          headers: {}
          x-apidog-name: Success
        '404':
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  error:
                    type: string
                    examples:
                      - Record not found
                x-apidog-orders:
                  - error
                required:
                  - error
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: No current Edition
        '405':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Edition can't be joined
      security: []
      x-apidog-folder: API Reference/Public API/Member/AttendanceChallenge
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-4423271-run
components:
  schemas:
    MemberStatus:
      type: object
      properties:
        edition:
          type: object
          properties:
            start_date: &ref_31
              type: string
              description: The month determining the start of the Edition
              format: regex
              minLength: 1
              pattern: ^(0[1-9]|1[0-2])-\d{4}$
              examples:
                - 2026-04
            end_date: &ref_32
              type: string
              description: The month determining the end of the Edition
              format: regex
              minLength: 1
              pattern: ^(0[1-9]|1[0-2])-\d{4}$
              examples:
                - 2026-11
            stages:
              type: array
              items:
                type: object
                properties:
                  date: &ref_33
                    type: string
                    description: The month of the Edition
                    minLength: 1
                    pattern: ^(0[1-9]|1[0-2])-\d{4}$
                    examples:
                      - 2026-05
                  starts_at: &ref_34
                    type: string
                    format: date-time
                    examples:
                      - '2026-04-01T00:00:00.000000+02:00'
                    readOnly: true
                    description: >-
                      The actual time (reflecting the Customer's timezone and
                      start hour of the Edition) when the Edition starts.
                  ends_at: &ref_35
                    type: string
                    format: date-time
                    examples:
                      - '2026-11-31T23:59:59.999999+01:00'
                    readOnly: true
                    description: >-
                      The actual time (reflecting the Customer's timezone and
                      start hour of the Edition) when the Edition ends.
                  extra_period_ends_at: &ref_36
                    type: string
                    format: date-time
                    examples:
                      - '2026-12-10T23:59:59.999999+01:00'
                    readOnly: true
                    description: >-
                      The time (reflecting the Customer's timezone and start
                      hour of the Edition) when the extra period ends.
                x-apidog-orders: &ref_37
                  - date
                  - starts_at
                  - ends_at
                  - extra_period_ends_at
                required:
                  - date
                x-apidog-ignore-properties: []
              description: Stages (names of months). Enumerated.
              minItems: 1
              uniqueItems: true
              readOnly: true
            starts_at: &ref_38
              type: string
              format: date-time
              examples:
                - '2026-04-01T00:00:00.000000+02:00'
              readOnly: true
              description: >-
                The actual time (reflecting the Customer's timezone and start
                hour of the Edition) when the Edition starts.
            ends_at: &ref_39
              type: string
              format: date-time
              examples:
                - '2026-11-31T23:59:59.999999+01:00'
              readOnly: true
              description: >-
                The actual time (reflecting the Customer's timezone, start hour
                of the Edition and the extra days) when the Edition ends.
            nominal_ends_at: &ref_40
              type: string
              format: date-time
              examples:
                - '2026-11-31T23:59:59.999999+01:00'
              readOnly: true
              description: >-
                The actual nominal (end of month) time (reflecting the
                Customer's timezone, start hour of the Edition) when the Edition
                ends.
            stages_streak_goal: &ref_41
              type: integer
              minimum: 1
              examples:
                - 3
              description: >-
                Number of subsequently completed stages required for member to
                get a reward
            monthly_attendances_goal: &ref_42
              type: integer
              description: >-
                Number of the attendances completed during a stage required to
                have this stage completed by a member
              minimum: 1
              examples:
                - 8
            daily_value_goal: &ref_43
              type: number
              description: >-
                Total amount money on scanned (and verified) receipts made by
                member on a single day to mark the day as completed
              minimum: 0.01
              examples:
                - 100
            entries_limit: &ref_44
              type: integer
              description: >-
                Maximum number of entries of a single member to the Edition.
                When null, there is no limit.
              minimum: 1
              default: 1
              examples:
                - 2
              nullable: true
            first_stage_reward_id:
              description: >-
                ID of MPC exclusive Offer granted to Member when he completes
                his first stage of the Edition 
              examples: &ref_45
                - 5513
              anyOf:
                - &ref_46
                  $ref: '#/components/schemas/id'
                  description: >-
                    ID of MPC exclusive Offer granted to Member when he
                    completes histfirst stage of the Edition 
                - &ref_47
                  type: 'null'
            first_stage_reward_name: &ref_48
              type: string
              readOnly: true
              description: Name of MPC exclusive Offer
            streak_reward_value: &ref_49
              type: integer
              description: Amount of money granted to Member after completing the streak
              examples:
                - 150
              minimum: 1
            title: &ref_50
              type: string
              examples:
                - Win in 2026
              nullable: true
            rules: &ref_51
              type: string
              description: I.e. Terms and Conditions. HTML
            onboarding_description: &ref_52
              type: string
              description: HTML
            membership:
              oneOf:
                - $ref: '#/components/schemas/Active'
                - $ref: '#/components/schemas/Unavailable'
                - $ref: '#/components/schemas/Available'
                - $ref: '#/components/schemas/Completed'
              description: >-
                Describes participation status of current Member to the Edition.
                Has many states/types.
          x-apidog-orders:
            - 01KYAA6C05E0SF04H663QP510N
            - membership
          description: Empty when there is no ongoing Edition
          required:
            - start_date
            - end_date
            - stages
            - starts_at
            - ends_at
            - stages_streak_goal
            - monthly_attendances_goal
            - daily_value_goal
            - entries_limit
            - first_stage_reward_id
            - first_stage_reward_name
            - streak_reward_value
            - rules
            - onboarding_description
            - membership
          x-apidog-refs:
            01KYAA6C05E0SF04H663QP510N:
              $ref: '#/components/schemas/Edition'
          x-apidog-ignore-properties:
            - start_date
            - end_date
            - stages
            - starts_at
            - ends_at
            - nominal_ends_at
            - stages_streak_goal
            - monthly_attendances_goal
            - daily_value_goal
            - entries_limit
            - first_stage_reward_id
            - first_stage_reward_name
            - streak_reward_value
            - title
            - rules
            - onboarding_description
          nullable: true
      x-apidog-orders:
        - edition
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Completed:
      type: object
      properties:
        status:
          type: string
          const: completed
        entries: &ref_0
          type: integer
          description: Total number of entries of the member to the Edition
          minimum: 0
          examples:
            - 1
        first_stage_reward_granted: &ref_1
          type: boolean
          description: >-
            Has the reward for the first completed Stage has been granted to the
            Member
        notifications:
          type: array
          items:
            type: object
            properties:
              type: &ref_2
                type: string
                description: Symbol of notification to display. Actual list TBD
                enum:
                  - extra_period_ending
                  - next_stage_blocked
                x-apidog-enum:
                  - value: extra_period_ending
                    name: ''
                    description: ''
                  - value: next_stage_blocked
                    name: ''
                    description: ''
                examples:
                  - extra_period_ending
              properties:
                type: object
                properties: {}
                x-apidog-orders: &ref_3 []
                description: >-
                  Data to be displayed in the notification. Set of actual
                  properties on the type.
                x-apidog-ignore-properties: []
            x-apidog-orders: &ref_4
              - type
              - properties
            required:
              - type
              - properties
            x-apidog-ignore-properties: []
          description: >-
            A list of notifications that may be displayed to the Member, based
            on the current state of the Membership.

            See: [Notifications](api-4393862#notifications)
      x-apidog-orders:
        - status
        - 01KV65B23RAP3E651V58BNFB37
      required:
        - status
        - entries
        - first_stage_reward_granted
        - notifications
      x-apidog-refs:
        01KV65B23RAP3E651V58BNFB37: &ref_7
          $ref: '#/components/schemas/_Core'
      description: When the Member has fulfilled all the Edition's requirements
      x-apidog-ignore-properties:
        - entries
        - first_stage_reward_granted
        - notifications
      x-apidog-folder: ''
    _Core:
      type: object
      properties:
        entries: *ref_0
        first_stage_reward_granted: *ref_1
        notifications:
          type: array
          items:
            type: object
            properties:
              type: *ref_2
              properties:
                type: object
                properties: {}
                x-apidog-orders: *ref_3
                description: >-
                  Data to be displayed in the notification. Set of actual
                  properties on the type.
                x-apidog-ignore-properties: []
            x-apidog-orders: *ref_4
            required:
              - type
              - properties
            x-apidog-ignore-properties: []
          description: >-
            A list of notifications that may be displayed to the Member, based
            on the current state of the Membership.

            See: [Notifications](api-4393862#notifications)
      x-apidog-orders:
        - entries
        - first_stage_reward_granted
        - notifications
      required:
        - entries
        - first_stage_reward_granted
        - notifications
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Available:
      type: object
      properties:
        status:
          type: string
          const: available
        entries: *ref_0
        first_stage_reward_granted: *ref_1
        notifications:
          type: array
          items:
            type: object
            properties:
              type: *ref_2
              properties:
                type: object
                properties: {}
                x-apidog-orders: *ref_3
                description: >-
                  Data to be displayed in the notification. Set of actual
                  properties on the type.
                x-apidog-ignore-properties: []
            x-apidog-orders: *ref_4
            required:
              - type
              - properties
            x-apidog-ignore-properties: []
          description: >-
            A list of notifications that may be displayed to the Member, based
            on the current state of the Membership.

            See: [Notifications](api-4393862#notifications)
        stages:
          type: object
          properties:
            current:
              description: The current Stage.
              type: object
              x-apidog-refs: &ref_22
                01KV8PWN44182MKJHC3DCBP45D: &ref_6
                  $ref: '#/components/schemas/Stage'
                  x-apidog-overrides:
                    name: &ref_5
                      type: string
                      description: Date of the Stage
                      format: regex
                      minLength: 1
                      pattern: ^(0[1-9]|1[0-2])-\d{4}$
                      examples:
                        - 2026-04
                  required:
                    - name
              properties:
                name: *ref_5
                starts_at: &ref_8
                  type: string
                  format: date-time
                  examples:
                    - '2026-04-01T00:00:00.000000+02:00'
                  readOnly: true
                  description: >-
                    The actual time (reflecting the Customer's timezone) when
                    the Stage starts.
                ends_at: &ref_9
                  type: string
                  format: date-time
                  examples:
                    - '2026-11-31T23:59:59.999999+01:00'
                  readOnly: true
                  description: >-
                    The actual time (reflecting the Customer's timezone) when
                    the Stage ends. 
                attendances_completed: &ref_10
                  type: integer
                  minimum: 0
                  examples:
                    - 2
                  description: The number of completed attendances
                attendances_pending: &ref_11
                  type: integer
                  description: The number of started, but not yet completed attendances
                  minimum: 0
                  examples:
                    - 0
                attendances_left: &ref_12
                  type: integer
                  minimum: 0
                  examples:
                    - 1
                  description: >-
                    The number of completed attendances required to fullfil the
                    Editon's monthly goal
                attendances:
                  type: array
                  items:
                    type: object
                    properties:
                      date: &ref_13
                        type: string
                        description: The day of the attendance
                        format: date
                        examples:
                          - '2026-04-15'
                      completed: &ref_14
                        type: boolean
                        examples:
                          - false
                        description: >-
                          Has the total value of the verified receipts fulfilled
                          the daily goal?
                      value: &ref_15
                        type: number
                        description: >-
                          Total value of the verified receipts on that day.
                          Rounded to 2 decimal places.
                        minimum: 0
                        exclusiveMinimum: true
                        examples:
                          - 95.33
                      value_left: &ref_16
                        type: number
                        description: >-
                          The difference between Edition's daily_value_goal and
                          the total value (verified) of the Visit
                      value_pending: &ref_17
                        type: number
                        description: >-
                          Total value of not-yet-verified receipts on that day.
                          It will never exceed the value_missing.
                        minimum: 0
                        exclusiveMinimum: true
                        examples:
                          - 3.66
                    x-apidog-orders: &ref_18
                      - date
                      - completed
                      - value
                      - value_left
                      - value_pending
                    required:
                      - date
                      - completed
                      - value
                      - value_left
                      - value_pending
                    x-apidog-ignore-properties: []
                  uniqueItems: true
                  description: A list of registered attendances during the stage
                completed: &ref_19
                  type: boolean
                  description: Is the Stage completed?
                pending: &ref_20
                  type: boolean
                  description: >-
                    Does the Stage has any attendances that have value_pending?
                    Always false when the Stage is completed
                extended_period: &ref_21
                  type: boolean
                  description: >-
                    If true, the month of the Stage has ended, but the Member
                    can still provide data for attendances from this month
              x-apidog-orders: &ref_23
                - 01KV8PWN44182MKJHC3DCBP45D
              required:
                - name
                - starts_at
                - ends_at
                - attendances_completed
                - attendances_pending
                - attendances_left
                - attendances
              x-apidog-ignore-properties:
                - name
                - starts_at
                - ends_at
                - attendances_completed
                - attendances_pending
                - attendances_left
                - attendances
                - completed
                - pending
                - extended_period
              nullable: true
            past: &ref_24
              type: array
              items: *ref_6
              description: >-
                A list of Stages that have been finished. Note: Past Stages are
                always completed, as unfulfilling the Stage requirements clears
                the Membership.
            future: &ref_25
              type: array
              items: *ref_6
              description: A list of Stages that cannot be started yet
          x-apidog-orders: &ref_26
            - current
            - past
            - future
          x-apidog-ignore-properties: []
        stages_completed: &ref_27
          type: integer
          minimum: 0
          examples:
            - 2
        stages_left: &ref_28
          type: integer
          examples:
            - 1
          minimum: 0
        stages_pending: &ref_29
          type: integer
          minimum: 0
      x-apidog-orders:
        - status
        - 01KV65B23RAP3E651V58BNFB37
        - 01KY2N06EJJ87XTK74C9JKJJQK
      required:
        - status
        - entries
        - first_stage_reward_granted
        - notifications
        - stages_completed
        - stages_left
        - stages_pending
      x-apidog-refs:
        01KV65B23RAP3E651V58BNFB37: *ref_7
        01KY2N06EJJ87XTK74C9JKJJQK: &ref_30
          $ref: '#/components/schemas/_Stages'
      description: When Member cannot participate in the Edition
      x-apidog-ignore-properties:
        - entries
        - first_stage_reward_granted
        - notifications
        - stages
        - stages_completed
        - stages_left
        - stages_pending
      x-apidog-folder: ''
    Stage:
      type: object
      properties:
        name:
          type: string
          description: Date of the Stage
          format: regex
          minLength: 1
          pattern: ^(0[1-9]|1[0-2])-\d{4}$
          examples:
            - 2026-04
        starts_at: *ref_8
        ends_at: *ref_9
        attendances_completed: *ref_10
        attendances_pending: *ref_11
        attendances_left: *ref_12
        attendances:
          type: array
          items:
            type: object
            properties:
              date: *ref_13
              completed: *ref_14
              value: *ref_15
              value_left: *ref_16
              value_pending: *ref_17
            x-apidog-orders: *ref_18
            required:
              - date
              - completed
              - value
              - value_left
              - value_pending
            x-apidog-ignore-properties: []
          uniqueItems: true
          description: A list of registered attendances during the stage
        completed: *ref_19
        pending: *ref_20
        extended_period: *ref_21
      x-apidog-orders:
        - name
        - starts_at
        - ends_at
        - attendances_completed
        - attendances_pending
        - attendances_left
        - attendances
        - completed
        - pending
        - extended_period
      required:
        - name
        - starts_at
        - ends_at
        - attendances_completed
        - attendances_pending
        - attendances_left
        - attendances
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    _Stages:
      type: object
      properties:
        stages:
          type: object
          properties:
            current:
              description: The current Stage.
              type: object
              x-apidog-refs: *ref_22
              properties:
                name: *ref_5
                starts_at: *ref_8
                ends_at: *ref_9
                attendances_completed: *ref_10
                attendances_pending: *ref_11
                attendances_left: *ref_12
                attendances:
                  type: array
                  items:
                    type: object
                    properties:
                      date: *ref_13
                      completed: *ref_14
                      value: *ref_15
                      value_left: *ref_16
                      value_pending: *ref_17
                    x-apidog-orders: *ref_18
                    required:
                      - date
                      - completed
                      - value
                      - value_left
                      - value_pending
                    x-apidog-ignore-properties: []
                  uniqueItems: true
                  description: A list of registered attendances during the stage
                completed: *ref_19
                pending: *ref_20
                extended_period: *ref_21
              x-apidog-orders: *ref_23
              required:
                - name
                - starts_at
                - ends_at
                - attendances_completed
                - attendances_pending
                - attendances_left
                - attendances
              x-apidog-ignore-properties:
                - name
                - starts_at
                - ends_at
                - attendances_completed
                - attendances_pending
                - attendances_left
                - attendances
                - completed
                - pending
                - extended_period
              nullable: true
            past: *ref_24
            future: *ref_25
          x-apidog-orders: *ref_26
          x-apidog-ignore-properties: []
        stages_completed: *ref_27
        stages_left: *ref_28
        stages_pending: *ref_29
      x-apidog-orders:
        - stages
        - stages_completed
        - stages_left
        - stages_pending
      required:
        - stages_completed
        - stages_left
        - stages_pending
      x-apidog-refs: {}
      description: Current participation in the Edition
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Unavailable:
      type: object
      properties:
        status:
          type: string
          const: unavailable
        blocker:
          type: string
          description: Reason why the Edition cannot be joined
          enum:
            - no_slots
            - too_late
            - max_entries_reached
            - already_joined
          x-apidog-enum:
            - value: no_slots
              name: ''
              description: ''
            - value: too_late
              name: ''
              description: ''
            - value: max_entries_reached
              name: ''
              description: ''
            - value: already_joined
              name: ''
              description: ''
          examples:
            - no_slots
        entries: *ref_0
        first_stage_reward_granted: *ref_1
        notifications:
          type: array
          items:
            type: object
            properties:
              type: *ref_2
              properties:
                type: object
                properties: {}
                x-apidog-orders: *ref_3
                description: >-
                  Data to be displayed in the notification. Set of actual
                  properties on the type.
                x-apidog-ignore-properties: []
            x-apidog-orders: *ref_4
            required:
              - type
              - properties
            x-apidog-ignore-properties: []
          description: >-
            A list of notifications that may be displayed to the Member, based
            on the current state of the Membership.

            See: [Notifications](api-4393862#notifications)
      x-apidog-orders:
        - status
        - blocker
        - 01KV65C76A39J1RH61JAT29M09
      required:
        - status
        - blocker
        - entries
        - first_stage_reward_granted
        - notifications
      x-apidog-refs:
        01KV65C76A39J1RH61JAT29M09: *ref_7
      description: When Member cannot participate in the Edition
      x-apidog-ignore-properties:
        - entries
        - first_stage_reward_granted
        - notifications
      x-apidog-folder: ''
    Active:
      type: object
      properties:
        status:
          type: string
          const: active
        entries: *ref_0
        first_stage_reward_granted: *ref_1
        notifications:
          type: array
          items:
            type: object
            properties:
              type: *ref_2
              properties:
                type: object
                properties: {}
                x-apidog-orders: *ref_3
                description: >-
                  Data to be displayed in the notification. Set of actual
                  properties on the type.
                x-apidog-ignore-properties: []
            x-apidog-orders: *ref_4
            required:
              - type
              - properties
            x-apidog-ignore-properties: []
          description: >-
            A list of notifications that may be displayed to the Member, based
            on the current state of the Membership.

            See: [Notifications](api-4393862#notifications)
        stages:
          type: object
          properties:
            current:
              description: The current Stage.
              type: object
              x-apidog-refs: *ref_22
              properties:
                name: *ref_5
                starts_at: *ref_8
                ends_at: *ref_9
                attendances_completed: *ref_10
                attendances_pending: *ref_11
                attendances_left: *ref_12
                attendances:
                  type: array
                  items:
                    type: object
                    properties:
                      date: *ref_13
                      completed: *ref_14
                      value: *ref_15
                      value_left: *ref_16
                      value_pending: *ref_17
                    x-apidog-orders: *ref_18
                    required:
                      - date
                      - completed
                      - value
                      - value_left
                      - value_pending
                    x-apidog-ignore-properties: []
                  uniqueItems: true
                  description: A list of registered attendances during the stage
                completed: *ref_19
                pending: *ref_20
                extended_period: *ref_21
              x-apidog-orders: *ref_23
              required:
                - name
                - starts_at
                - ends_at
                - attendances_completed
                - attendances_pending
                - attendances_left
                - attendances
              x-apidog-ignore-properties:
                - name
                - starts_at
                - ends_at
                - attendances_completed
                - attendances_pending
                - attendances_left
                - attendances
                - completed
                - pending
                - extended_period
              nullable: true
            past: *ref_24
            future: *ref_25
          x-apidog-orders: *ref_26
          x-apidog-ignore-properties: []
        stages_completed: *ref_27
        stages_left: *ref_28
        stages_pending: *ref_29
      x-apidog-orders:
        - status
        - 01KV65B23RAP3E651V58BNFB37
        - 01KY2MSGN8M9JS378FGYFGMV2E
      required:
        - status
        - entries
        - first_stage_reward_granted
        - notifications
        - stages_completed
        - stages_left
        - stages_pending
      x-apidog-refs:
        01KV65B23RAP3E651V58BNFB37: *ref_7
        01KY2MSGN8M9JS378FGYFGMV2E: *ref_30
      description: Current participation in the Edition
      x-apidog-ignore-properties:
        - entries
        - first_stage_reward_granted
        - notifications
        - stages
        - stages_completed
        - stages_left
        - stages_pending
      x-apidog-folder: ''
    id:
      type: integer
      title: ''
      description: Identifier
      examples:
        - 1
      minimum: 1
      x-apidog-folder: ''
    Edition:
      type: object
      properties:
        start_date: *ref_31
        end_date: *ref_32
        stages:
          type: array
          items:
            type: object
            properties:
              date: *ref_33
              starts_at: *ref_34
              ends_at: *ref_35
              extra_period_ends_at: *ref_36
            x-apidog-orders: *ref_37
            required:
              - date
            x-apidog-ignore-properties: []
          description: Stages (names of months). Enumerated.
          minItems: 1
          uniqueItems: true
          readOnly: true
        starts_at: *ref_38
        ends_at: *ref_39
        nominal_ends_at: *ref_40
        stages_streak_goal: *ref_41
        monthly_attendances_goal: *ref_42
        daily_value_goal: *ref_43
        entries_limit: *ref_44
        first_stage_reward_id:
          description: >-
            ID of MPC exclusive Offer granted to Member when he completes his
            first stage of the Edition 
          examples: *ref_45
          anyOf:
            - *ref_46
            - *ref_47
        first_stage_reward_name: *ref_48
        streak_reward_value: *ref_49
        title: *ref_50
        rules: *ref_51
        onboarding_description: *ref_52
      x-apidog-orders:
        - 01KV63Q894P5SFMHN20GB8140J
        - title
        - rules
        - onboarding_description
      description: Empty when there is no ongoing Edition
      required:
        - start_date
        - end_date
        - stages
        - starts_at
        - ends_at
        - stages_streak_goal
        - monthly_attendances_goal
        - daily_value_goal
        - entries_limit
        - first_stage_reward_id
        - first_stage_reward_name
        - streak_reward_value
        - rules
        - onboarding_description
      x-apidog-refs:
        01KV63Q894P5SFMHN20GB8140J:
          $ref: '#/components/schemas/Edition%20Core'
      x-apidog-ignore-properties:
        - start_date
        - end_date
        - stages
        - starts_at
        - ends_at
        - nominal_ends_at
        - stages_streak_goal
        - monthly_attendances_goal
        - daily_value_goal
        - entries_limit
        - first_stage_reward_id
        - first_stage_reward_name
        - streak_reward_value
      x-apidog-folder: ''
    Edition Core:
      type: object
      properties:
        start_date: *ref_31
        end_date: *ref_32
        stages:
          type: array
          items:
            type: object
            properties:
              date: *ref_33
              starts_at: *ref_34
              ends_at: *ref_35
              extra_period_ends_at: *ref_36
            x-apidog-orders: *ref_37
            required:
              - date
            x-apidog-ignore-properties: []
          description: Stages (names of months). Enumerated.
          minItems: 1
          uniqueItems: true
          readOnly: true
        starts_at: *ref_38
        ends_at: *ref_39
        nominal_ends_at: *ref_40
        stages_streak_goal: *ref_41
        monthly_attendances_goal: *ref_42
        daily_value_goal: *ref_43
        entries_limit: *ref_44
        first_stage_reward_id:
          description: >-
            ID of MPC exclusive Offer granted to Member when he completes his
            first stage of the Edition 
          examples: *ref_45
          anyOf:
            - *ref_46
            - *ref_47
        first_stage_reward_name: *ref_48
        streak_reward_value: *ref_49
      x-apidog-orders:
        - start_date
        - end_date
        - stages
        - starts_at
        - ends_at
        - nominal_ends_at
        - stages_streak_goal
        - monthly_attendances_goal
        - daily_value_goal
        - entries_limit
        - first_stage_reward_id
        - first_stage_reward_name
        - streak_reward_value
      required:
        - start_date
        - end_date
        - stages
        - starts_at
        - ends_at
        - stages_streak_goal
        - monthly_attendances_goal
        - daily_value_goal
        - entries_limit
        - first_stage_reward_id
        - first_stage_reward_name
        - streak_reward_value
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```