$schema: "https://json-schema.org/draft/2020-12/schema"
title: "Blood Pressure"
type: "object"
required:
  - diastolic_blood_pressure
  - systolic_blood_pressure
  - antihypertension_medication_use
properties:
  diastolic_blood_pressure:
    $ref: '#/definitions/DiastolicBloodPressure'
  systolic_blood_pressure:
    $ref: '#/definitions/SystolicBloodPressure'
  antihypertension_medication_use:
    $ref: '#/definitions/AntiHyperTensionMedicationUse'
additionalProperties: false

definitions:
  DiastolicBloodPressure:
    title: Diastolic Blood Pressure
    description: mm HG (must be between 60 - 130)
    type: number
    minimum: 60
    maximum: 130
  SystolicBloodPressure:
    title: Systolic Blood Pressure
    description: mm HG (must be between 90 - 200)
    type: number
    minimum: 90
    maximum: 200
  AntiHyperTensionMedicationUse:
    title: Treatment For Hypertension
    type: boolean
