Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pulseox openapi3 yaml
title: User
type: object
properties:
uid:
type: string
description: Possibly received from our auth frontend.
diagnoses:
type: object
required:
- timestamp
properties:
timestamp:
type: string
format: date-time
questions:
type: array
items:
type: object
properties:
questionID:
type: string
answer:
type: string
timestamp:
type: string
format: date-time
required:
- questionID
- answer
- timestamp
status:
type: array
items:
type: object
properties:
action:
type: string
status:
type: string
timestamp:
type: string
format: date-time
required:
- action
- status
- timestamp
symptoms:
type: array
items:
type: object
properties:
symptom:
type: string
status:
type: array
items:
type: object
properties:
timestamp:
type: string
format: date-time
severity:
type: string
required:
- timestamp
- severity
required:
- symptom
readings:
type: array
items:
type: object
properties:
BPM:
type: string
SPO2:
type: string
Temperature:
type: string
location:
type: object
properties:
type:
type: string
enum:
- Point
coordinates:
type: array
maxItems: 2
minItems: 2
items:
type: number
timestamp:
type: string
format: date-time
required:
- type
- coordinates
- timestamp
required:
- BPM
- SPO2
- Temperature
age:
type: number
role:
type: string
gender:
type: string
schema_version:
type: integer
required:
- uid
- age
- gender
- schema_version
x-examples: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment