WeightTrackerUpdated
v1.0.0

An event raised whenever a user logs his weight in weight tracker
WeightTrackerUpdated Schema (yml)
openapi: 3.0.0
info:
  version: "1.0.0"
  title: WeightTrackerUpdated
paths: {}
components:
  schemas:
    WeightTrackerUpdated:
      type: object
      required:
        - metadata
        - data
      properties:
        data:
          "$ref": "#/components/schemas/Data"
        metadata:
          "$ref": "#/components/schemas/Metadata"
    Data:
      type: object
      required:
        - id
        - email
        - goal
        - weight
        - targetWeight
        - initialWeight
        - previousWeight

      properties:
        id:
          type: string
        email:
          type: string
        goal:
          type: string
        targetWeight:
          type: number
        initialWeight:
          type: number
        previousWeight:
          type: number
        weight: 
          type: number

    Metadata:
      type: object
      required:
        - serviceFunction
        - version
      properties:
        serviceFunction:
          type: string
        version:
          type: string
Edit this pageLast updated on 2024/4/2