$schema: "https://json-schema.org/draft/2020-12/schema"
title: "Diabetes"
type: "object"
required:
  - diagnosed_with_type_2_diabetes
properties:
  diagnosed_with_type_2_diabetes:
    $ref: '#/definitions/DiagnosedWithType2Diabetes'
additionalProperties: false

definitions:
  DiagnosedWithType2Diabetes:
    title: Has the Patient Been Diagnosed With Type 2 Diabetes?
    type: boolean
