{ "$schema": "http://json-schema.org/draft-07/schema#", "description": "This schema represents a person's heart rate.", "type": "object", "references": [ { "description": "The SNOMED code represents Pulse rate (observable entity)", "url": "http://purl.bioontology.org/ontology/SNOMEDCT/78564009" } ], "definitions": { "unit_value": { "$ref": "unit-value-1.x.json" }, "time_frame": { "$ref": "time-frame-1.x.json" }, "descriptive_statistic": { "$ref": "descriptive-statistic-1.x.json" }, "temporal_relationship_to_physical_activity": { "$ref": "temporal-relationship-to-physical-activity-1.x.json" }, "temporal_relationship_to_sleep": { "$ref": "temporal-relationship-to-sleep-1.x.json" } }, "properties": { "heart_rate": { "allOf": [ { "$ref": "#/definitions/unit_value" }, { "properties": { "unit": { "enum": [ "beats/min" ] } } } ] }, "effective_time_frame": { "$ref": "#/definitions/time_frame" }, "descriptive_statistic": { "$ref": "#/definitions/descriptive_statistic" }, "temporal_relationship_to_physical_activity": { "$ref": "#/definitions/temporal_relationship_to_physical_activity" }, "temporal_relationship_to_sleep": { "$ref": "#/definitions/temporal_relationship_to_sleep" } }, "required": [ "heart_rate", "effective_time_frame" ] }