repository
stringclasses 528
values | commit
stringlengths 40
40
| commitDate
timestamp[s] | path
stringlengths 11
149
| repoStars
int64 5
94.9k
| repoLastFetched
stringclasses 528
values | content
stringlengths 48
736k
| license
stringclasses 14
values | language
stringclasses 7
values |
---|---|---|---|---|---|---|---|---|
cph-cachet/carp.core-kotlin | 7b9f0006e17a90fdcbc435a3a944877dd94185bc | 2022-10-14T09:25:20 | rpc/schemas/common/data/Data.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"SensorData": {
"$anchor": "SensorData",
"properties": {
"sensorSpecificData": {
"oneOf": [
{
"$ref": "Data.json"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"properties": {
"__type": {
"$ref": "../NamespacedId.json"
}
},
"required": [
"__type"
],
"type": "object"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.geolocation"
}
}
},
"then": {
"$ref": "Geolocation.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.stepcount"
}
}
},
"then": {
"$ref": "StepCount.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.ecg"
}
}
},
"then": {
"$ref": "ECG.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.ppg"
}
}
},
"then": {
"$ref": "PPG.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.heartrate"
}
}
},
"then": {
"$ref": "HeartRate.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.interbeatinterval"
}
}
},
"then": {
"$ref": "InterbeatInterval.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.sensorskincontact"
}
}
},
"then": {
"$ref": "SensorSkinContact.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.nongravitationalacceleration"
}
}
},
"then": {
"$ref": "NonGravitationalAcceleration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.eda"
}
}
},
"then": {
"$ref": "EDA.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.acceleration"
}
}
},
"then": {
"$ref": "Acceleration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.angularvelocity"
}
}
},
"then": {
"$ref": "AngularVelocity.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.signalstrength"
}
}
},
"then": {
"$ref": "SignalStrength.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.triggeredtask"
}
}
},
"then": {
"$ref": "TriggeredTask.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.completedtask"
}
}
},
"then": {
"$ref": "CompletedTask.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.input.custom"
}
}
},
"then": {
"$ref": "input/CustomInput.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.input.sex"
}
}
},
"then": {
"$ref": "input/Sex.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/sampling/SamplingConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"SamplingConfiguration": {
"$anchor": "SamplingConfiguration",
"properties": {
"__type": true
},
"required": [
"__type"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/SamplingConfiguration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.BatteryAwareSamplingConfiguration"
}
}
},
"then": {
"$ref": "BatteryAwareSamplingConfiguration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.GranularitySamplingConfiguration"
}
}
},
"then": {
"$ref": "GranularitySamplingConfiguration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.IntervalSamplingConfiguration"
}
}
},
"then": {
"$ref": "IntervalSamplingConfiguration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.NoOptionsSamplingConfiguration"
}
}
},
"then": {
"$ref": "NoOptionsSamplingConfiguration.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/data/ECG.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.ecg"
},
"milliVolt": {
"type": "number"
}
},
"required": [
"__type",
"milliVolt"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/studies/RecruitmentService/RecruitmentServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"AddParticipant": {
"$anchor": "AddParticipant",
"Response": {
"$anchor": "AddParticipant-Response",
"$ref": "../users/Participant.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.AddParticipant"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"email": {
"format": "email",
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"email"
],
"type": "object"
},
"ApiVersion": {
"const": "1.0"
},
"GetParticipant": {
"$anchor": "GetParticipant",
"Response": {
"$anchor": "GetParticipant-Response",
"$ref": "../users/Participant.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.GetParticipant"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"participantId": {
"format": "uuid",
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"participantId"
],
"type": "object"
},
"GetParticipantGroupStatusList": {
"$anchor": "GetParticipantGroupStatusList",
"Response": {
"$anchor": "GetParticipantGroupStatusList-Response",
"items": {
"$ref": "../users/ParticipantGroupStatus.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.GetParticipantGroupStatusList"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"GetParticipants": {
"$anchor": "GetParticipants",
"Response": {
"$anchor": "GetParticipants-Response",
"items": {
"$ref": "../users/Participant.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.GetParticipants"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"InviteNewParticipantGroup": {
"$anchor": "InviteNewParticipantGroup",
"Response": {
"$anchor": "InviteNewParticipantGroup-Response",
"$ref": "../users/ParticipantGroupStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.InviteNewParticipantGroup"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"group": {
"items": {
"$ref": "../users/AssignParticipantDevices.json"
},
"type": "array"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"group"
],
"type": "object"
},
"StopParticipantGroup": {
"$anchor": "StopParticipantGroup",
"Response": {
"$anchor": "StopParticipantGroup-Response",
"$ref": "../users/ParticipantGroupStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.StopParticipantGroup"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"groupId": {
"format": "uuid",
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"groupId"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/AddParticipant"
},
{
"$ref": "#/$defs/GetParticipant"
},
{
"$ref": "#/$defs/GetParticipants"
},
{
"$ref": "#/$defs/InviteNewParticipantGroup"
},
{
"$ref": "#/$defs/GetParticipantGroupStatusList"
},
{
"$ref": "#/$defs/StopParticipantGroup"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 0aa4b775f23d16e1a6ff60c97d89692588cd4dd0 | 2022-10-14T09:25:20 | rpc/schemas/data/DataStreamService/DataStreamServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"ApiVersion": {
"const": "1.1"
},
"AppendToDataStreams": {
"$anchor": "AppendToDataStreams",
"Response": {
"$anchor": "AppendToDataStreams-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.AppendToDataStreams"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"batch": {
"$ref": "../DataStreamBatch.json"
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyDeploymentId",
"batch"
],
"type": "object"
},
"CloseDataStreams": {
"$anchor": "CloseDataStreams",
"Response": {
"$anchor": "CloseDataStreams-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.CloseDataStreams"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"__type",
"apiVersion",
"studyDeploymentIds"
],
"type": "object"
},
"GetDataStream": {
"$anchor": "GetDataStream",
"Response": {
"$anchor": "GetDataStream-Response",
"$ref": "../DataStreamBatch.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.GetDataStream"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"dataStream": {
"$ref": "../DataStreamId.json"
},
"fromSequenceId": {
"type": "integer"
},
"toSequenceIdInclusive": {
"type": [
"integer",
"null"
]
}
},
"required": [
"__type",
"apiVersion",
"dataStream",
"fromSequenceId"
],
"type": "object"
},
"OpenDataStreams": {
"$anchor": "OpenDataStreams",
"Response": {
"$anchor": "OpenDataStreams-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.OpenDataStreams"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"configuration": {
"$ref": "../DataStreamsConfiguration.json"
}
},
"required": [
"__type",
"apiVersion",
"configuration"
],
"type": "object"
},
"RemoveDataStreams": {
"Response": {
"$anchor": "RemoveDataStreams-Response",
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.RemoveDataStreams"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"__type",
"apiVersion",
"studyDeploymentIds"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/OpenDataStreams"
},
{
"$ref": "#/$defs/AppendToDataStreams"
},
{
"$ref": "#/$defs/GetDataStream"
},
{
"$ref": "#/$defs/CloseDataStreams"
},
{
"$ref": "#/$defs/RemoveDataStreams"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | b7c726ef65bb046f3a975012fbd03ae6665ba564 | 2024-03-16T21:19:31 | rpc/schemas/common/devices/DeviceRegistration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"$anchor": "DeviceRegistration",
"properties": {
"__type": true,
"deviceDisplayName": {
"type": [
"string",
"null"
]
},
"deviceId": {
"type": "string"
},
"registrationCreatedOn": {
"format": "date-time",
"type": "string"
}
},
"required": [
"__type",
"deviceId",
"deviceDisplayName",
"registrationCreatedOn"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/DeviceRegistration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.AltBeaconDeviceRegistration"
}
}
},
"then": {
"$ref": "AltBeacon.json#DeviceRegistration"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.BLESerialNumberDeviceRegistration"
}
}
},
"then": {
"$ref": "BLESerialNumberDeviceRegistration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.DefaultDeviceRegistration"
}
}
},
"then": {
"$ref": "DefaultDeviceRegistration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.MACAddressDeviceRegistration"
}
}
},
"then": {
"$ref": "MACAddressDeviceRegistration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.WebsiteDeviceRegistration"
}
}
},
"then": {
"$ref": "WebsiteDeviceRegistration.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 17153775ef281124fa73f312dfe73f8a92c8b040 | 2022-02-01T13:04:22 | rpc/schemas/common/users/AccountIdentity.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 62918eccff5578579d1d07db744635d33102ef04 | 2022-02-01T13:04:22 | rpc/schemas/common/data/Data.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "../Polymorphic.json"
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.freeformtext"
}
}
},
"then": {
"$ref": "FreeFormText.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.geolocation"
}
}
},
"then": {
"$ref": "Geolocation.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.stepcount"
}
}
},
"then": {
"$ref": "StepCount.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.ecg"
}
}
},
"then": {
"$ref": "ECG.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.heartrate"
}
}
},
"then": {
"$ref": "HeartRate.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.rrinterval"
}
}
},
"then": {
"$ref": "RRInterval.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.sensorskincontact"
}
}
},
"then": {
"$ref": "SensorSkinContact.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.nongravitationalacceleration"
}
}
},
"then": {
"$ref": "NonGravitationalAcceleration.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.angularvelocity"
}
}
},
"then": {
"$ref": "AngularVelocity.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.signalstrength"
}
}
},
"then": {
"$ref": "SignalStrength.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.triggeredtask"
}
}
},
"then": {
"$ref": "TriggeredTask.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.completedtask"
}
}
},
"then": {
"$ref": "CompletedTask.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 62918eccff5578579d1d07db744635d33102ef04 | 2022-02-01T13:04:22 | rpc/schemas/common/data/StepCount.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.stepcount"
},
"steps": {
"type": "integer"
}
},
"required": [
"$type",
"steps"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/devices/DefaultDeviceRegistration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "DeviceRegistration.json#DeviceRegistration"
}
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/tasks/WebTask.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "TaskDescriptor.json#/$defs/TaskDescriptor"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.tasks.WebTask"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/protocols/ProtocolService/ProtocolServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"Add": {
"$anchor": "Add",
"Response": {
"$anchor": "Add-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.Add"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocol": {
"$ref": "../StudyProtocolSnapshot.json"
},
"versionTag": {
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocol"
],
"type": "object"
},
"AddVersion": {
"$anchor": "AddVersion",
"Response": {
"$anchor": "AddVersion-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.AddVersion"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocol": {
"$ref": "../StudyProtocolSnapshot.json"
},
"versionTag": {
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocol"
],
"type": "object"
},
"ApiVersion": {
"const": "1.0"
},
"GetAllForOwner": {
"$anchor": "GetAllForOwner",
"Response": {
"$anchor": "GetAllForOwner-Response",
"items": {
"$ref": "../StudyProtocolSnapshot.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetAllForOwner"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"ownerId"
],
"type": "object"
},
"GetBy": {
"$anchor": "GetBy",
"Response": {
"$anchor": "GetBy-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetBy"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocolId": {
"format": "uuid",
"type": "string"
},
"versionTag": {
"type": [
"string",
"null"
]
}
},
"required": [
"__type",
"apiVersion",
"protocolId"
],
"type": "object"
},
"GetVersionHistoryFor": {
"$anchor": "GetVersionHistoryFor",
"Response": {
"$anchor": "GetVersionHistoryFor-Response",
"items": {
"$ref": "../ProtocolVersion.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetVersionHistoryFor"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocolId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocolId"
],
"type": "object"
},
"UpdateParticipantDataConfiguration": {
"$anchor": "UpdateParticipantDataConfiguration",
"Response": {
"$anchor": "UpdateParticipantDataConfiguration-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.UpdateParticipantDataConfiguration"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"expectedParticipantData": {
"items": {
"$ref": "../../common/users/ParticipantAttribute.json"
},
"type": "array"
},
"protocolId": {
"format": "uuid",
"type": "string"
},
"versionTag": {
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocolId",
"versionTag",
"expectedParticipantData"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/Add"
},
{
"$ref": "#/$defs/AddVersion"
},
{
"$ref": "#/$defs/UpdateParticipantDataConfiguration"
},
{
"$ref": "#/$defs/GetBy"
},
{
"$ref": "#/$defs/GetAllForOwner"
},
{
"$ref": "#/$defs/GetVersionHistoryFor"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 922cbb43f408ee4d3171a10889f821601652923c | 2022-02-01T13:04:22 | rpc/schemas/deployments/StudyDeploymentStatus.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeployingDevices": {
"$anchor": "DeployingDevices",
"allOf": [
{
"$ref": "#/$defs/StudyDeploymentStatus"
}
],
"properties": {
"$type": {
"const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.DeployingDevices"
}
},
"unevaluatedProperties": false
},
"Invited": {
"$anchor": "Invited",
"allOf": [
{
"$ref": "#/$defs/StudyDeploymentStatus"
}
],
"properties": {
"$type": {
"const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.Invited"
}
},
"unevaluatedProperties": false
},
"Running": {
"$anchor": "Running",
"allOf": [
{
"$ref": "#/$defs/StudyDeploymentStatus"
}
],
"properties": {
"$type": {
"const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.Running"
},
"startedOn": {
"format": "date-time",
"type": "string"
}
},
"unevaluatedProperties": false
},
"Stopped": {
"$anchor": "Stopped",
"allOf": [
{
"$ref": "#/$defs/StudyDeploymentStatus"
}
],
"properties": {
"$type": {
"const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.Stopped"
},
"stoppedOn": {
"format": "date-time",
"type": "string"
}
},
"required": [
"stoppedOn"
],
"unevaluatedProperties": false
},
"StudyDeploymentStatus": {
"properties": {
"createdOn": {
"format": "date-time",
"type": "string"
},
"devicesStatus": {
"items": {
"$ref": "DeviceDeploymentStatus.json"
},
"type": "array"
},
"participantsStatus": {
"items": {
"$ref": "users/ParticipantStatus.json"
},
"type": "array"
},
"startedOn": {
"oneOf": [
{
"type": "null"
},
{
"format": "date-time",
"type": "string"
}
]
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"createdOn",
"studyDeploymentId",
"devicesStatus",
"participantsStatus",
"startedOn"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/Invited"
},
{
"$ref": "#/$defs/DeployingDevices"
},
{
"$ref": "#/$defs/Running"
},
{
"$ref": "#/$defs/Stopped"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | c6d594d894599db3da7f90205da47b5018431559 | 2022-04-04T10:00:19 | rpc/schemas/protocols/ProtocolService/ProtocolServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"Add": {
"$anchor": "Add",
"Response": {
"$anchor": "Add-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.Add"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocol": {
"$ref": "../StudyProtocolSnapshot.json"
},
"versionTag": {
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocol"
],
"type": "object"
},
"AddVersion": {
"$anchor": "AddVersion",
"Response": {
"$anchor": "AddVersion-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.AddVersion"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocol": {
"$ref": "../StudyProtocolSnapshot.json"
},
"versionTag": {
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocol"
],
"type": "object"
},
"ApiVersion": {
"const": "1.0"
},
"GetAllForOwner": {
"$anchor": "GetAllForOwner",
"Response": {
"$anchor": "GetAllForOwner-Response",
"items": {
"$ref": "../StudyProtocolSnapshot.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetAllForOwner"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"ownerId"
],
"type": "object"
},
"GetBy": {
"$anchor": "GetBy",
"Response": {
"$anchor": "GetBy-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetBy"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocolId": {
"format": "uuid",
"type": "string"
},
"versionTag": {
"type": [
"string",
"null"
]
}
},
"required": [
"__type",
"apiVersion",
"protocolId"
],
"type": "object"
},
"GetVersionHistoryFor": {
"$anchor": "GetVersionHistoryFor",
"Response": {
"$anchor": "GetVersionHistoryFor-Response",
"items": {
"$ref": "../ProtocolVersion.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetVersionHistoryFor"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocolId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocolId"
],
"type": "object"
},
"UpdateParticipantDataConfiguration": {
"$anchor": "UpdateParticipantDataConfiguration",
"Response": {
"$anchor": "UpdateParticipantDataConfiguration-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.UpdateParticipantDataConfiguration"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"expectedParticipantData": {
"items": {
"$ref": "../../common/users/ExpectedParticipantData.json"
},
"type": "array"
},
"protocolId": {
"format": "uuid",
"type": "string"
},
"versionTag": {
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocolId",
"versionTag",
"expectedParticipantData"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/Add"
},
{
"$ref": "#/$defs/AddVersion"
},
{
"$ref": "#/$defs/UpdateParticipantDataConfiguration"
},
{
"$ref": "#/$defs/GetBy"
},
{
"$ref": "#/$defs/GetAllForOwner"
},
{
"$ref": "#/$defs/GetVersionHistoryFor"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | f938c7adb61b9c7b24ca2a353570c340d8a173e1 | 2022-04-04T10:00:19 | rpc/schemas/deployments/users/Participation.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"assignedRoles": {
"$ref": "../../common/users/AssignedTo.json"
},
"participantId": {
"format": "uuid",
"type": "string"
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"studyDeploymentId",
"assignedRoles",
"participantId"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/data/Geolocation.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.geolocation"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
},
"required": [
"__type",
"latitude",
"longitude"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/data/CompletedTask.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.completedtask"
},
"taskData": {
"oneOf": [
{
"$ref": "Data.json"
},
{
"type": "null"
}
]
},
"taskName": {
"type": "string"
}
},
"required": [
"__type",
"taskName"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 6a4735095c99e8a8382c327c5b640b5de285ac30 | 2022-03-03T09:26:49 | rpc/schemas/deployments/StudyDeploymentStatus.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeployingDevices": {
"$anchor": "DeployingDevices",
"allOf": [
{
"$ref": "#/$defs/StudyDeploymentStatus"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.DeployingDevices"
}
},
"unevaluatedProperties": false
},
"Invited": {
"$anchor": "Invited",
"allOf": [
{
"$ref": "#/$defs/StudyDeploymentStatus"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.Invited"
}
},
"unevaluatedProperties": false
},
"Running": {
"$anchor": "Running",
"allOf": [
{
"$ref": "#/$defs/StudyDeploymentStatus"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.Running"
},
"startedOn": {
"format": "date-time",
"type": "string"
}
},
"unevaluatedProperties": false
},
"Stopped": {
"$anchor": "Stopped",
"allOf": [
{
"$ref": "#/$defs/StudyDeploymentStatus"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.Stopped"
},
"stoppedOn": {
"format": "date-time",
"type": "string"
}
},
"required": [
"stoppedOn"
],
"unevaluatedProperties": false
},
"StudyDeploymentStatus": {
"properties": {
"__type": true,
"createdOn": {
"format": "date-time",
"type": "string"
},
"deviceStatusList": {
"items": {
"$ref": "DeviceDeploymentStatus.json"
},
"type": "array"
},
"participantStatusList": {
"items": {
"$ref": "users/ParticipantStatus.json"
},
"type": "array"
},
"startedOn": {
"oneOf": [
{
"type": "null"
},
{
"format": "date-time",
"type": "string"
}
]
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"createdOn",
"studyDeploymentId",
"deviceStatusList",
"participantStatusList",
"startedOn"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/Invited"
},
{
"$ref": "#/$defs/DeployingDevices"
},
{
"$ref": "#/$defs/Running"
},
{
"$ref": "#/$defs/Stopped"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 647b4583561f86893baafd78d498fc2c55a8f800 | 2022-02-01T13:04:22 | rpc/schemas/common/data/input/CustomInput.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.input.custom"
},
"dataType": {
"type": "string"
},
"input": true
},
"required": [
"$type",
"dataType",
"input"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 55284d12439fc74b89e80301dd245877f7024c0b | 2022-02-12T03:15:16 | rpc/schemas/common/devices/Smartphone.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"$anchor": "DeviceRegistration",
"$ref": "DefaultDeviceRegistration.json"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "PrimaryDeviceConfiguration.json#/$defs/PrimaryDeviceConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.Smartphone"
}
},
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/sampling/SamplingConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"SamplingConfiguration": {
"properties": {
"__type": true
},
"required": [
"__type"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/SamplingConfiguration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.BatteryAwareSamplingConfiguration"
}
}
},
"then": {
"$ref": "BatteryAwareSamplingConfiguration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.GranularitySamplingConfiguration"
}
}
},
"then": {
"$ref": "GranularitySamplingConfiguration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.IntervalSamplingConfiguration"
}
}
},
"then": {
"$ref": "IntervalSamplingConfiguration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.NoOptionsSamplingConfiguration"
}
}
},
"then": {
"$ref": "NoOptionsSamplingConfiguration.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 647b4583561f86893baafd78d498fc2c55a8f800 | 2022-02-01T13:04:22 | rpc/schemas/common/devices/DeviceRegistration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"properties": {
"$type": true,
"deviceDisplayName": {
"type": [
"string",
"null"
]
},
"deviceId": {
"type": "string"
},
"registrationCreatedOn": {
"format": "date-time",
"type": "string"
}
},
"required": [
"$type",
"deviceId",
"deviceDisplayName",
"registrationCreatedOn"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/DeviceRegistration"
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.common.application.devices.AltBeaconDeviceRegistration"
}
}
},
"then": {
"$ref": "AltBeacon.json#/$defs/DeviceRegistration"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.common.application.devices.BLESerialNumberDeviceRegistration"
}
}
},
"then": {
"$ref": "BLESerialNumberDeviceRegistration.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.common.application.devices.DefaultDeviceRegistration"
}
}
},
"then": {
"$ref": "DefaultDeviceRegistration.json"
}
},
{
"if": {
"properties": {
"$type": {
"const": "dk.cachet.carp.common.application.devices.MACAddressDeviceRegistration"
}
}
},
"then": {
"$ref": "MACAddressDeviceRegistration.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 7ea6ba7386abefcd3c8badf7fb9a6427f3de2b91 | 2022-02-01T13:04:22 | rpc/schemas/common/NamespacedId.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"pattern": "^([a-z_0-9]+\\.?)+[a-z_0-9]$",
"type": "string"
} | MIT | en |
cph-cachet/carp.core-kotlin | 647b4583561f86893baafd78d498fc2c55a8f800 | 2022-02-01T13:04:22 | rpc/schemas/common/data/input/Sex.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.input.sex"
},
"value": {
"enum": [
"Male",
"Female",
"Intersex"
]
}
},
"required": [
"$type",
"value"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/protocols/ProtocolFactoryService/ProtocolFactoryServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"ApiVersion": {
"const": "1.0"
},
"CreateCustomProtocol": {
"$anchor": "CreateCustomProtocol",
"Response": {
"$anchor": "CreateCustomProtocol-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolFactoryServiceRequest.CreateCustomProtocol"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"customProtocol": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"ownerId",
"name",
"customProtocol",
"description"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/CreateCustomProtocol"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | b194b814525d96fb33748ffe85be746625c99e80 | 2022-02-01T13:04:22 | rpc/schemas/deployments/users/ParticipantDataMap.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "../../common/data/Data.json"
}
]
},
"propertyNames": {
"$ref": "../../common/NamespacedId.json"
},
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 62918eccff5578579d1d07db744635d33102ef04 | 2022-02-01T13:04:22 | rpc/schemas/common/data/TriggeredTask.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.triggeredtask"
},
"control": {
"$ref": "../triggers/TaskControl.json#Control"
},
"destinationDeviceRoleName": {
"type": "string"
},
"taskName": {
"type": "string"
},
"triggerData": {
"oneOf": [
{
"$ref": "Data.json"
},
{
"type": "null"
}
]
},
"triggerId": {
"type": "integer"
}
},
"required": [
"$type",
"triggerId",
"taskName",
"destinationDeviceRoleName",
"control"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 9cb2e3bfe46da948e0fc0a0f67fa70a6f5169b7e | 2022-04-04T10:00:19 | rpc/schemas/protocols/ProtocolService/ProtocolServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"Add": {
"$anchor": "Add",
"Response": {
"$anchor": "Add-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.Add"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocol": {
"$ref": "../StudyProtocolSnapshot.json"
},
"versionTag": {
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocol"
],
"type": "object"
},
"AddVersion": {
"$anchor": "AddVersion",
"Response": {
"$anchor": "AddVersion-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.AddVersion"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocol": {
"$ref": "../StudyProtocolSnapshot.json"
},
"versionTag": {
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocol"
],
"type": "object"
},
"ApiVersion": {
"const": "1.0"
},
"GetAllForOwner": {
"$anchor": "GetAllForOwner",
"Response": {
"$anchor": "GetAllForOwner-Response",
"items": {
"$ref": "../StudyProtocolSnapshot.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetAllForOwner"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"ownerId"
],
"type": "object"
},
"GetBy": {
"$anchor": "GetBy",
"Response": {
"$anchor": "GetBy-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetBy"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocolId": {
"format": "uuid",
"type": "string"
},
"versionTag": {
"type": [
"string",
"null"
]
}
},
"required": [
"__type",
"apiVersion",
"protocolId"
],
"type": "object"
},
"GetVersionHistoryFor": {
"$anchor": "GetVersionHistoryFor",
"Response": {
"$anchor": "GetVersionHistoryFor-Response",
"items": {
"$ref": "../ProtocolVersion.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetVersionHistoryFor"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocolId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocolId"
],
"type": "object"
},
"UpdateParticipantDataConfiguration": {
"$anchor": "UpdateParticipantDataConfiguration",
"Response": {
"$anchor": "UpdateParticipantDataConfiguration-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.UpdateParticipantDataConfiguration"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"expectedParticipantData": {
"items": {
"$ref": "../users/ExpectedParticipantData.json"
},
"type": "array"
},
"protocolId": {
"format": "uuid",
"type": "string"
},
"versionTag": {
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"protocolId",
"versionTag",
"expectedParticipantData"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/Add"
},
{
"$ref": "#/$defs/AddVersion"
},
{
"$ref": "#/$defs/UpdateParticipantDataConfiguration"
},
{
"$ref": "#/$defs/GetBy"
},
{
"$ref": "#/$defs/GetAllForOwner"
},
{
"$ref": "#/$defs/GetVersionHistoryFor"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/data/input/CustomInput.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.input.custom"
},
"dataType": {
"type": "string"
},
"input": true
},
"required": [
"__type",
"dataType",
"input"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 7b9f0006e17a90fdcbc435a3a944877dd94185bc | 2022-10-14T09:25:20 | rpc/schemas/common/data/HeartRate.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "Data.json#SensorData"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.heartrate"
},
"bpm": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"__type",
"bpm"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/devices/PrimaryDeviceConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"PrimaryDeviceConfiguration": {
"$anchor": "PrimaryDeviceConfiguration",
"allOf": [
{
"$ref": "DeviceConfiguration.json#DeviceConfiguration"
}
],
"properties": {
"isPrimaryDevice": {
"const": true
}
},
"required": [
"isPrimaryDevice"
]
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/PrimaryDeviceConfiguration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.Smartphone"
}
}
},
"then": {
"$ref": "Smartphone.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 7ea6ba7386abefcd3c8badf7fb9a6427f3de2b91 | 2022-02-01T13:04:22 | rpc/schemas/data/DataStreamService/DataStreamServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.OpenDataStreams"
},
"configuration": {
"$ref": "../DataStreamsConfiguration.json"
}
},
"required": [
"$type",
"configuration"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.AppendToDataStreams"
},
"batch": {
"$ref": "../DataStreamBatch.json"
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"studyDeploymentId",
"batch"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.GetDataStream"
},
"dataStream": {
"$ref": "../DataStreamId.json"
},
"fromSequenceId": {
"type": "integer"
},
"toSequenceIdInclusive": {
"type": [
"integer",
"null"
]
}
},
"required": [
"$type",
"dataStream",
"fromSequenceId"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.CloseDataStreams"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"$type",
"studyDeploymentIds"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.RemoveDataStreams"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"$type",
"studyDeploymentIds"
],
"type": "object"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | de9c1e79146d5cfa493c361e373121f11a70eb21 | 2022-02-11T22:23:59 | rpc/schemas/studies/RecruitmentService/RecruitmentServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"AddParticipant": {
"$anchor": "AddParticipant",
"Response": {
"$anchor": "AddParticipant-Response",
"$ref": "../users/Participant.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.AddParticipant"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"email": {
"format": "email",
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"apiVersion",
"studyId",
"email"
],
"type": "object"
},
"ApiVersion": {
"const": "1.0"
},
"GetParticipant": {
"$anchor": "GetParticipant",
"Response": {
"$anchor": "GetParticipant-Response",
"$ref": "../users/Participant.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.GetParticipant"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"participantId": {
"format": "uuid",
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"apiVersion",
"studyId",
"participantId"
],
"type": "object"
},
"GetParticipantGroupStatusList": {
"$anchor": "GetParticipantGroupStatusList",
"Response": {
"$anchor": "GetParticipantGroupStatusList-Response",
"items": {
"$ref": "../users/ParticipantGroupStatus.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.GetParticipantGroupStatusList"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"apiVersion",
"studyId"
],
"type": "object"
},
"GetParticipants": {
"$anchor": "GetParticipants",
"Response": {
"$anchor": "GetParticipants-Response",
"items": {
"$ref": "../users/Participant.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.GetParticipants"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"apiVersion",
"studyId"
],
"type": "object"
},
"InviteNewParticipantGroup": {
"$anchor": "InviteNewParticipantGroup",
"Response": {
"$anchor": "InviteNewParticipantGroup-Response",
"$ref": "../users/ParticipantGroupStatus.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.InviteNewParticipantGroup"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"group": {
"items": {
"$ref": "../users/AssignParticipantDevices.json"
},
"type": "array"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"apiVersion",
"studyId",
"group"
],
"type": "object"
},
"StopParticipantGroup": {
"$anchor": "StopParticipantGroup",
"Response": {
"$anchor": "StopParticipantGroup-Response",
"$ref": "../users/ParticipantGroupStatus.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.StopParticipantGroup"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"groupId": {
"format": "uuid",
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"apiVersion",
"studyId",
"groupId"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/AddParticipant"
},
{
"$ref": "#/$defs/GetParticipant"
},
{
"$ref": "#/$defs/GetParticipants"
},
{
"$ref": "#/$defs/InviteNewParticipantGroup"
},
{
"$ref": "#/$defs/GetParticipantGroupStatusList"
},
{
"$ref": "#/$defs/StopParticipantGroup"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 55284d12439fc74b89e80301dd245877f7024c0b | 2022-02-12T03:15:16 | rpc/schemas/common/devices/AltBeacon.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"$anchor": "DeviceRegistration",
"allOf": [
{
"$ref": "DeviceRegistration.json#/$defs/DeviceRegistration"
}
],
"properties": {
"majorId": {
"$ref": "../Short.json"
},
"manufacturerId": {
"$ref": "../Short.json"
},
"minorId": {
"$ref": "../Short.json"
},
"organizationId": {
"format": "uuid",
"type": "string"
},
"referenceRssi": {
"maximum": 0,
"minimum": -127,
"type": "integer"
}
},
"required": [
"manufacturerId",
"organizationId",
"majorId",
"minorId",
"referenceRssi"
],
"unevaluatedProperties": false
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "DeviceConfiguration.json#/$defs/DeviceConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.AltBeacon"
}
},
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 55284d12439fc74b89e80301dd245877f7024c0b | 2022-02-12T03:15:16 | rpc/schemas/protocols/StudyProtocolSnapshot.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceConnection": {
"additionalProperties": false,
"properties": {
"connectedToRoleName": {
"type": "string"
},
"roleName": {
"type": "string"
}
},
"required": [
"roleName",
"connectedToRoleName"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"applicationData": {
"$ref": "../common/ApplicationData.json"
},
"connectedDevices": {
"items": {
"$ref": "../common/devices/DeviceConfiguration.json"
},
"type": "array"
},
"connections": {
"items": {
"$ref": "#/$defs/DeviceConnection"
},
"type": "array"
},
"createdOn": {
"format": "date-time",
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"expectedParticipantData": {
"items": {
"$ref": "../common/users/ParticipantAttribute.json"
},
"type": "array"
},
"id": {
"format": "uuid",
"type": "string"
},
"name": {
"type": "string"
},
"ownerId": {
"format": "uuid",
"type": "string"
},
"primaryDevices": {
"items": {
"$ref": "../common/devices/PrimaryDeviceConfiguration.json"
},
"type": "array"
},
"taskControls": {
"items": {
"$ref": "../common/triggers/TaskControl.json"
},
"type": "array"
},
"tasks": {
"items": {
"$ref": "../common/tasks/TaskDescriptor.json"
},
"type": "array"
},
"triggers": {
"additionalProperties": {
"$ref": "../common/triggers/Trigger.json"
},
"propertyNames": {
"pattern": "^\\d$"
},
"type": "object"
}
},
"required": [
"id",
"createdOn",
"ownerId",
"name"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | b7c726ef65bb046f3a975012fbd03ae6665ba564 | 2024-03-16T21:19:31 | rpc/schemas/common/devices/Website.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"$anchor": "DeviceRegistration",
"$ref": "WebsiteDeviceRegistration.json"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "PrimaryDeviceConfiguration.json#PrimaryDeviceConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.Website"
}
},
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | af76acdc26619e9ad882959097685f555211d53a | 2022-03-18T15:19:26 | rpc/schemas/common/data/Data.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"properties": {
"__type": {
"$ref": "../NamespacedId.json"
}
},
"required": [
"__type"
],
"type": "object"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.geolocation"
}
}
},
"then": {
"$ref": "Geolocation.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.stepcount"
}
}
},
"then": {
"$ref": "StepCount.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.ecg"
}
}
},
"then": {
"$ref": "ECG.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.heartrate"
}
}
},
"then": {
"$ref": "HeartRate.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.rrinterval"
}
}
},
"then": {
"$ref": "RRInterval.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.sensorskincontact"
}
}
},
"then": {
"$ref": "SensorSkinContact.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.nongravitationalacceleration"
}
}
},
"then": {
"$ref": "NonGravitationalAcceleration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.angularvelocity"
}
}
},
"then": {
"$ref": "AngularVelocity.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.signalstrength"
}
}
},
"then": {
"$ref": "SignalStrength.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.triggeredtask"
}
}
},
"then": {
"$ref": "TriggeredTask.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.completedtask"
}
}
},
"then": {
"$ref": "CompletedTask.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.input.custom"
}
}
},
"then": {
"$ref": "input/CustomInput.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.input.sex"
}
}
},
"then": {
"$ref": "input/Sex.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/data/SignalStrength.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.signalstrength"
},
"rssi": {
"$ref": "../Short.json"
}
},
"required": [
"__type",
"rssi"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 7b9f0006e17a90fdcbc435a3a944877dd94185bc | 2022-10-14T09:25:20 | rpc/schemas/common/data/NonGravitationalAcceleration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "Data.json#SensorData"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.nongravitationalacceleration"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
},
"required": [
"__type",
"x",
"y",
"z"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 7b9f0006e17a90fdcbc435a3a944877dd94185bc | 2022-10-14T09:25:20 | rpc/schemas/common/data/PPG.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "Data.json#SensorData"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.ppg"
},
"lightSources": {
"additionalProperties": {
"type": "number"
},
"minProperties": 1,
"type": "object"
}
},
"required": [
"__type",
"lightSources"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/tasks/BackgroundTask.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "TaskConfiguration.json#TaskConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.tasks.BackgroundTask"
},
"duration": {
"format": "duration",
"type": "string"
}
},
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 62918eccff5578579d1d07db744635d33102ef04 | 2022-02-01T13:04:22 | rpc/schemas/common/data/NonGravitationalAcceleration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.nongravitationalacceleration"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
},
"required": [
"$type",
"x",
"y",
"z"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 7d6b495188dc7d135b667f7bedbd5ede9a8bea73 | 2022-03-01T14:39:21 | rpc/schemas/deployments/PrimaryDeviceDeployment.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"applicationData": {
"$ref": "../common/ApplicationData.json"
},
"connectedDeviceRegistrations": {
"additionalProperties": {
"$ref": "../common/devices/DeviceRegistration.json"
},
"type": "object"
},
"connectedDevices": {
"items": {
"$ref": "../common/devices/DeviceConfiguration.json"
},
"type": "array"
},
"deviceConfiguration": {
"$ref": "../common/devices/PrimaryDeviceConfiguration.json"
},
"registration": {
"$ref": "../common/devices/DeviceRegistration.json"
},
"taskControls": {
"items": {
"$ref": "../common/triggers/TaskControl.json"
},
"type": "array"
},
"tasks": {
"items": {
"$ref": "../common/tasks/TaskConfiguration.json"
},
"type": "array"
},
"triggers": {
"additionalProperties": {
"$ref": "../common/triggers/TriggerConfiguration.json"
},
"propertyNames": {
"pattern": "^\\d$"
},
"type": "object"
}
},
"required": [
"deviceConfiguration",
"registration"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/studies/StudyService/StudyServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"ApiVersion": {
"const": "1.0"
},
"CreateStudy": {
"$anchor": "CreateStudy",
"Response": {
"$anchor": "CreateStudy-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.CreateStudy"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"description": {
"type": [
"string",
"null"
]
},
"invitation": {
"oneOff": [
{
"type": "null"
},
{
"$ref": "../../deployments/users/StudyInvitation.json"
}
]
},
"name": {
"type": "string"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"ownerId",
"name"
],
"type": "object"
},
"GetStudiesOverview": {
"$anchor": "GetStudiesOverview",
"Response": {
"$anchor": "GetStudiesOverview-Response",
"items": {
"$ref": "../StudyStatus.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.GetStudiesOverview"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"ownerId"
],
"type": "object"
},
"GetStudyDetails": {
"$anchor": "GetStudyDetails",
"Response": {
"$anchor": "GetStudyDetails-Response",
"$ref": "../StudyDetails.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.GetStudyDetails"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"GetStudyStatus": {
"$anchor": "GetStudyStatus",
"Response": {
"$anchor": "GetStudyStatus-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.GetStudyStatus"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"GoLive": {
"$anchor": "GoLive",
"Response": {
"$anchor": "GoLive-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.GoLive"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"Remove": {
"$anchor": "Remove",
"Response": {
"$anchor": "Remove-Response",
"type": "boolean"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.Remove"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"SetInternalDescription": {
"$anchor": "SetInternalDescription",
"Response": {
"$anchor": "SetInternalDescription-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.SetInternalDescription"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"name",
"description"
],
"type": "object"
},
"SetInvitation": {
"$anchor": "SetInvitation",
"Response": {
"$anchor": "SetInvitation-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.SetInvitation"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"invitation": {
"$ref": "../../deployments/users/StudyInvitation.json"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"invitation"
],
"type": "object"
},
"SetProtocol": {
"$anchor": "SetProtocol",
"Response": {
"$anchor": "SetProtocol-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.SetProtocol"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocol": {
"$ref": "../../protocols/StudyProtocolSnapshot.json"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"protocol"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/CreateStudy"
},
{
"$ref": "#/$defs/SetInternalDescription"
},
{
"$ref": "#/$defs/GetStudyDetails"
},
{
"$ref": "#/$defs/GetStudyStatus"
},
{
"$ref": "#/$defs/GetStudiesOverview"
},
{
"$ref": "#/$defs/SetInvitation"
},
{
"$ref": "#/$defs/SetProtocol"
},
{
"$ref": "#/$defs/GoLive"
},
{
"$ref": "#/$defs/Remove"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 55284d12439fc74b89e80301dd245877f7024c0b | 2022-02-12T03:15:16 | rpc/schemas/deployments/users/ActiveParticipationInvitation.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"assignedDevices": {
"items": {
"$ref": "../users/AssignedPrimaryDevice.json"
},
"type": "array"
},
"invitation": {
"$ref": "../users/StudyInvitation.json"
},
"participation": {
"$ref": "../users/Participation.json"
}
},
"required": [
"participation",
"invitation",
"assignedDevices"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | b194b814525d96fb33748ffe85be746625c99e80 | 2022-02-01T13:04:22 | rpc/schemas/deployments/users/ActiveParticipationInvitation.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"assignedDevices": {
"items": {
"$ref": "../users/AssignedMasterDevice.json"
},
"type": "array"
},
"invitation": {
"$ref": "../users/StudyInvitation.json"
},
"participation": {
"$ref": "../users/Participation.json"
}
},
"required": [
"participation",
"invitation",
"assignedDevices"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/devices/AltBeacon.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"$anchor": "DeviceRegistration",
"allOf": [
{
"$ref": "DeviceRegistration.json#DeviceRegistration"
}
],
"properties": {
"majorId": {
"$ref": "../Short.json"
},
"manufacturerId": {
"$ref": "../Short.json"
},
"minorId": {
"$ref": "../Short.json"
},
"organizationId": {
"format": "uuid",
"type": "string"
},
"referenceRssi": {
"maximum": 0,
"minimum": -127,
"type": "integer"
}
},
"required": [
"manufacturerId",
"organizationId",
"majorId",
"minorId",
"referenceRssi"
],
"unevaluatedProperties": false
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "DeviceConfiguration.json#DeviceConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.AltBeacon"
}
},
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/devices/DeviceConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceConfiguration": {
"$anchor": "DeviceConfiguration",
"properties": {
"__type": true,
"defaultSamplingConfiguration": {
"additionalProperties": {
"$ref": "../sampling/SamplingConfiguration.json"
},
"propertyNames": {
"$ref": "../NamespacedId.json"
},
"type": "object"
},
"isOptional": {
"type": "boolean"
},
"roleName": {
"type": "string"
}
},
"required": [
"__type",
"roleName"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/DeviceConfiguration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.AltBeacon"
}
}
},
"then": {
"$ref": "AltBeacon.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.BLEHeartRateDevice"
}
}
},
"then": {
"$ref": "BLEHeartRateDevice.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.CustomProtocolDevice"
}
}
},
"then": {
"$ref": "CustomProtocolDevice.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | d3be008529f3add4d0d59b7cedafe69a288d7baa | 2022-03-11T13:41:21 | rpc/schemas/data/DataStreamService/DataStreamServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"ApiVersion": {
"const": "1.0"
},
"AppendToDataStreams": {
"$anchor": "AppendToDataStreams",
"Response": {
"$anchor": "AppendToDataStreams-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.AppendToDataStreams"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"batch": {
"$ref": "../DataStreamBatch.json"
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyDeploymentId",
"batch"
],
"type": "object"
},
"CloseDataStreams": {
"$anchor": "CloseDataStreams",
"Response": {
"$anchor": "CloseDataStreams-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.CloseDataStreams"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"__type",
"apiVersion",
"studyDeploymentIds"
],
"type": "object"
},
"GetDataStream": {
"$anchor": "GetDataStream",
"Response": {
"$anchor": "GetDataStream-Response",
"$ref": "../DataStreamBatch.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.GetDataStream"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"dataStream": {
"$ref": "../DataStreamId.json"
},
"fromSequenceId": {
"type": "integer"
},
"toSequenceIdInclusive": {
"type": [
"integer",
"null"
]
}
},
"required": [
"__type",
"apiVersion",
"dataStream",
"fromSequenceId"
],
"type": "object"
},
"OpenDataStreams": {
"$anchor": "OpenDataStreams",
"Response": {
"$anchor": "OpenDataStreams-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.OpenDataStreams"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"configuration": {
"$ref": "../DataStreamsConfiguration.json"
}
},
"required": [
"__type",
"apiVersion",
"configuration"
],
"type": "object"
},
"RemoveDataStreams": {
"Response": {
"$anchor": "RemoveDataStreams-Response",
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.RemoveDataStreams"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"__type",
"apiVersion",
"studyDeploymentIds"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/OpenDataStreams"
},
{
"$ref": "#/$defs/AppendToDataStreams"
},
{
"$ref": "#/$defs/GetDataStream"
},
{
"$ref": "#/$defs/CloseDataStreams"
},
{
"$ref": "#/$defs/RemoveDataStreams"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | cc445ba45a90d832a7a53775967c78f27ed0dc6d | 2022-02-01T13:04:22 | rpc/schemas/data/DataStreamService/DataStreamServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"AppendToDataStreams": {
"$anchor": "AppendToDataStreams",
"Response": {
"$anchor": "AppendToDataStreams-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.AppendToDataStreams"
},
"batch": {
"$ref": "../DataStreamBatch.json"
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"studyDeploymentId",
"batch"
],
"type": "object"
},
"CloseDataStreams": {
"$anchor": "CloseDataStreams",
"Response": {
"$anchor": "CloseDataStreams-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.CloseDataStreams"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"$type",
"studyDeploymentIds"
],
"type": "object"
},
"GetDataStream": {
"$anchor": "GetDataStream",
"Response": {
"$anchor": "GetDataStream-Response",
"$ref": "../DataStreamBatch.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.GetDataStream"
},
"dataStream": {
"$ref": "../DataStreamId.json"
},
"fromSequenceId": {
"type": "integer"
},
"toSequenceIdInclusive": {
"type": [
"integer",
"null"
]
}
},
"required": [
"$type",
"dataStream",
"fromSequenceId"
],
"type": "object"
},
"OpenDataStreams": {
"$anchor": "OpenDataStreams",
"Response": {
"$anchor": "OpenDataStreams-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.OpenDataStreams"
},
"configuration": {
"$ref": "../DataStreamsConfiguration.json"
}
},
"required": [
"$type",
"configuration"
],
"type": "object"
},
"RemoveDataStreams": {
"Response": {
"$anchor": "RemoveDataStreams-Response",
"type": "boolean"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.RemoveDataStreams"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"$type",
"studyDeploymentIds"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/OpenDataStreams"
},
{
"$ref": "#/$defs/AppendToDataStreams"
},
{
"$ref": "#/$defs/GetDataStream"
},
{
"$ref": "#/$defs/CloseDataStreams"
},
{
"$ref": "#/$defs/RemoveDataStreams"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/data/TriggeredTask.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.triggeredtask"
},
"control": {
"$ref": "../triggers/TaskControl.json#/$defs/Control"
},
"destinationDeviceRoleName": {
"type": "string"
},
"taskName": {
"type": "string"
},
"triggerData": {
"oneOf": [
{
"$ref": "Data.json"
},
{
"type": "null"
}
]
},
"triggerId": {
"type": "integer"
}
},
"required": [
"__type",
"triggerId",
"taskName",
"destinationDeviceRoleName",
"control"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 7ea6ba7386abefcd3c8badf7fb9a6427f3de2b91 | 2022-02-01T13:04:22 | rpc/schemas/data/SyncPoint.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"relativeClockSpeed": {
"type": "number"
},
"sensorTimestampAtSyncPoint": {
"type": "integer"
},
"synchronizedOn": {
"format": "date-time",
"type": "string"
}
},
"required": [
"synchronizedOn",
"sensorTimestampAtSyncPoint",
"relativeClockSpeed"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/tasks/WebTask.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "TaskConfiguration.json#TaskConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.tasks.WebTask"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 647b4583561f86893baafd78d498fc2c55a8f800 | 2022-02-01T13:04:22 | rpc/schemas/common/devices/BLEHeartRateDevice.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"$anchor": "DeviceRegistration",
"$ref": "MACAddressDeviceRegistration.json"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "DeviceDescriptor.json#/$defs/DeviceDescriptor"
}
],
"properties": {
"$type": {
"const": "dk.cachet.carp.common.application.devices.BLEHeartRateDevice"
}
},
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | d235b13a63211ff6ca74e57d6a8d729c3e2f0209 | 2022-04-04T12:13:16 | rpc/schemas/studies/StudyService/StudyServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"ApiVersion": {
"const": "1.0"
},
"CreateStudy": {
"$anchor": "CreateStudy",
"Response": {
"$anchor": "CreateStudy-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.CreateStudy"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"description": {
"type": [
"string",
"null"
]
},
"invitation": {
"oneOff": [
{
"type": "null"
},
{
"$ref": "../../deployments/users/StudyInvitation.json"
}
]
},
"name": {
"type": "string"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"ownerId",
"name"
],
"type": "object"
},
"GetStudiesOverview": {
"$anchor": "GetStudiesOverview",
"Response": {
"$anchor": "GetStudiesOverview-Response",
"items": {
"$ref": "../StudyStatus.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.GetStudiesOverview"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"ownerId"
],
"type": "object"
},
"GetStudyDetails": {
"$anchor": "GetStudyDetails",
"Response": {
"$anchor": "GetStudyDetails-Response",
"$ref": "../StudyDetails.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.GetStudyDetails"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"GetStudyStatus": {
"$anchor": "GetStudyStatus",
"Response": {
"$anchor": "GetStudyStatus-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.GetStudyStatus"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"GoLive": {
"$anchor": "GoLive",
"Response": {
"$anchor": "GoLive-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.GoLive"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"Remove": {
"$anchor": "Remove",
"Response": {
"$anchor": "Remove-Response",
"type": "boolean"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.Remove"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"RemoveProtocol": {
"$anchor": "RemoveProtocol",
"Response": {
"$anchor": "RemoveProtocol-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.RemoveProtocol"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId"
],
"type": "object"
},
"SetInternalDescription": {
"$anchor": "SetInternalDescription",
"Response": {
"$anchor": "SetInternalDescription-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.SetInternalDescription"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"description": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"name",
"description"
],
"type": "object"
},
"SetInvitation": {
"$anchor": "SetInvitation",
"Response": {
"$anchor": "SetInvitation-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.SetInvitation"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"invitation": {
"$ref": "../../deployments/users/StudyInvitation.json"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"invitation"
],
"type": "object"
},
"SetProtocol": {
"$anchor": "SetProtocol",
"Response": {
"$anchor": "SetProtocol-Response",
"$ref": "../StudyStatus.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.SetProtocol"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"protocol": {
"$ref": "../../protocols/StudyProtocolSnapshot.json"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyId",
"protocol"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/CreateStudy"
},
{
"$ref": "#/$defs/SetInternalDescription"
},
{
"$ref": "#/$defs/GetStudyDetails"
},
{
"$ref": "#/$defs/GetStudyStatus"
},
{
"$ref": "#/$defs/GetStudiesOverview"
},
{
"$ref": "#/$defs/SetInvitation"
},
{
"$ref": "#/$defs/SetProtocol"
},
{
"$ref": "#/$defs/RemoveProtocol"
},
{
"$ref": "#/$defs/GoLive"
},
{
"$ref": "#/$defs/Remove"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 664cd714e09c6edb0cc97d6b8368d76f4d0e8de3 | 2022-02-01T13:04:22 | rpc/schemas/studies/RecruitmentService/RecruitmentServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"AddParticipant": {
"$anchor": "AddParticipant",
"Response": {
"$anchor": "AddParticipant-Response",
"$ref": "../users/Participant.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.AddParticipant"
},
"email": {
"format": "email",
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"studyId",
"email"
],
"type": "object"
},
"GetParticipant": {
"$anchor": "GetParticipant",
"Response": {
"$anchor": "GetParticipant-Response",
"$ref": "../users/Participant.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.GetParticipant"
},
"participantId": {
"format": "uuid",
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"studyId",
"participantId"
],
"type": "object"
},
"GetParticipantGroupStatusList": {
"$anchor": "GetParticipantGroupStatusList",
"Response": {
"$anchor": "GetParticipantGroupStatusList-Response",
"items": {
"$ref": "../users/ParticipantGroupStatus.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.GetParticipantGroupStatusList"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"studyId"
],
"type": "object"
},
"GetParticipants": {
"$anchor": "GetParticipants",
"Response": {
"$anchor": "GetParticipants-Response",
"items": {
"$ref": "../users/Participant.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.GetParticipants"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"studyId"
],
"type": "object"
},
"InviteNewParticipantGroup": {
"$anchor": "InviteNewParticipantGroup",
"Response": {
"$anchor": "InviteNewParticipantGroup-Response",
"$ref": "../users/ParticipantGroupStatus.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.InviteNewParticipantGroup"
},
"group": {
"items": {
"$ref": "../users/AssignParticipantDevices.json"
},
"type": "array"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"studyId",
"group"
],
"type": "object"
},
"StopParticipantGroup": {
"$anchor": "StopParticipantGroup",
"Response": {
"$anchor": "StopParticipantGroup-Response",
"$ref": "../users/ParticipantGroupStatus.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.studies.infrastructure.RecruitmentServiceRequest.StopParticipantGroup"
},
"groupId": {
"format": "uuid",
"type": "string"
},
"studyId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"studyId",
"groupId"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/AddParticipant"
},
{
"$ref": "#/$defs/GetParticipant"
},
{
"$ref": "#/$defs/GetParticipants"
},
{
"$ref": "#/$defs/InviteNewParticipantGroup"
},
{
"$ref": "#/$defs/GetParticipantGroupStatusList"
},
{
"$ref": "#/$defs/StopParticipantGroup"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 55284d12439fc74b89e80301dd245877f7024c0b | 2022-02-12T03:15:16 | rpc/schemas/deployments/users/ParticipantInvitation.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"assignedPrimaryDeviceRoleNames": {
"items": {
"type": "string"
},
"type": "array"
},
"identity": {
"$ref": "../../common/users/AccountIdentity.json"
},
"invitation": {
"$ref": "../users/StudyInvitation.json"
},
"participantId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"participantId",
"assignedPrimaryDeviceRoleNames",
"identity",
"invitation"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 7ea6ba7386abefcd3c8badf7fb9a6427f3de2b91 | 2022-02-01T13:04:22 | rpc/schemas/data/ExpectedDataStream.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"dataType": {
"$ref": "../common/NamespacedId.json"
},
"deviceRoleName": {
"type": "string"
}
},
"required": [
"deviceRoleName",
"dataType"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 7b9f0006e17a90fdcbc435a3a944877dd94185bc | 2022-10-14T09:25:20 | rpc/schemas/common/data/ECG.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "Data.json#SensorData"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.ecg"
},
"milliVolt": {
"type": "number"
}
},
"required": [
"__type",
"milliVolt"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/devices/DeviceRegistration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"$anchor": "DeviceRegistration",
"properties": {
"__type": true,
"deviceDisplayName": {
"type": [
"string",
"null"
]
},
"deviceId": {
"type": "string"
},
"registrationCreatedOn": {
"format": "date-time",
"type": "string"
}
},
"required": [
"__type",
"deviceId",
"deviceDisplayName",
"registrationCreatedOn"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/DeviceRegistration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.AltBeaconDeviceRegistration"
}
}
},
"then": {
"$ref": "AltBeacon.json#DeviceRegistration"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.BLESerialNumberDeviceRegistration"
}
}
},
"then": {
"$ref": "BLESerialNumberDeviceRegistration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.DefaultDeviceRegistration"
}
}
},
"then": {
"$ref": "DefaultDeviceRegistration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.MACAddressDeviceRegistration"
}
}
},
"then": {
"$ref": "MACAddressDeviceRegistration.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/data/NonGravitationalAcceleration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.nongravitationalacceleration"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
},
"required": [
"__type",
"x",
"y",
"z"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 92a71ba31152faef091e017dcd66990584f61ce2 | 2022-02-01T13:04:22 | rpc/schemas/data/DataStreamService/DataStreamServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"AppendToDataStreams": {
"$anchor": "AppendToDataStreams",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.AppendToDataStreams"
},
"batch": {
"$ref": "../DataStreamBatch.json"
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"studyDeploymentId",
"batch"
],
"type": "object"
},
"CloseDataStreams": {
"$anchor": "CloseDataStreams",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.CloseDataStreams"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"$type",
"studyDeploymentIds"
],
"type": "object"
},
"GetDataStream": {
"$anchor": "GetDataStream",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.GetDataStream"
},
"dataStream": {
"$ref": "../DataStreamId.json"
},
"fromSequenceId": {
"type": "integer"
},
"toSequenceIdInclusive": {
"type": [
"integer",
"null"
]
}
},
"required": [
"$type",
"dataStream",
"fromSequenceId"
],
"type": "object"
},
"OpenDataStreams": {
"$anchor": "OpenDataStreams",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.OpenDataStreams"
},
"configuration": {
"$ref": "../DataStreamsConfiguration.json"
}
},
"required": [
"$type",
"configuration"
],
"type": "object"
},
"RemoveDataStreams": {
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.data.infrastructure.DataStreamServiceRequest.RemoveDataStreams"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"$type",
"studyDeploymentIds"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/OpenDataStreams"
},
{
"$ref": "#/$defs/AppendToDataStreams"
},
{
"$ref": "#/$defs/GetDataStream"
},
{
"$ref": "#/$defs/CloseDataStreams"
},
{
"$ref": "#/$defs/RemoveDataStreams"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 647b4583561f86893baafd78d498fc2c55a8f800 | 2022-02-01T13:04:22 | rpc/schemas/common/sampling/IntervalSamplingConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "SamplingConfiguration.json#/$defs/SamplingConfiguration"
}
],
"properties": {
"$type": {
"const": "dk.cachet.carp.common.application.sampling.IntervalSamplingConfiguration"
},
"interval": {
"format": "duration",
"type": "string"
}
},
"required": [
"interval"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/data/TriggeredTask.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.triggeredtask"
},
"control": {
"$ref": "../triggers/TaskControl.json#Control"
},
"destinationDeviceRoleName": {
"type": "string"
},
"taskName": {
"type": "string"
},
"triggerData": {
"oneOf": [
{
"$ref": "Data.json"
},
{
"type": "null"
}
]
},
"triggerId": {
"type": "integer"
}
},
"required": [
"__type",
"triggerId",
"taskName",
"destinationDeviceRoleName",
"control"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/data/input/elements/InputElement.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"SelectOne": {
"$anchor": "SelectOne",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.data.input.elements.SelectOne"
},
"options": {
"items": {
"type": "string"
},
"type": "array"
},
"prompt": {
"type": "string"
}
},
"required": [
"__type",
"prompt",
"options"
],
"type": "object"
},
"Text": {
"$anchor": "Text",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.data.input.elements.Text"
},
"prompt": {
"type": "string"
}
},
"required": [
"__type",
"prompt"
]
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/SelectOne"
},
{
"$ref": "#/$defs/Text"
}
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/sampling/IntervalSamplingConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "SamplingConfiguration.json#SamplingConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.IntervalSamplingConfiguration"
},
"interval": {
"format": "duration",
"type": "string"
}
},
"required": [
"interval"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 080dbdcae16e46ff7c558b8cea9400136991d095 | 2022-02-28T18:14:01 | rpc/schemas/common/tasks/CustomProtocolTask.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "TaskConfiguration.json#/$defs/TaskConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.tasks.CustomProtocolTask"
},
"studyProtocol": {
"type": "string"
}
},
"required": [
"studyProtocol"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/data/HeartRate.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.heartrate"
},
"bpm": {
"type": "integer"
}
},
"required": [
"__type",
"bpm"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 7ea6ba7386abefcd3c8badf7fb9a6427f3de2b91 | 2022-02-01T13:04:22 | rpc/schemas/common/data/Data.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "../Polymorphic.json"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 55284d12439fc74b89e80301dd245877f7024c0b | 2022-02-12T03:15:16 | rpc/schemas/common/devices/DeviceConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceConfiguration": {
"properties": {
"__type": true,
"defaultSamplingConfiguration": {
"additionalProperties": {
"$ref": "../sampling/SamplingConfiguration.json"
},
"propertyNames": {
"$ref": "../NamespacedId.json"
},
"type": "object"
},
"isOptional": {
"type": "boolean"
},
"roleName": {
"type": "string"
}
},
"required": [
"__type",
"roleName"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/DeviceConfiguration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.AltBeacon"
}
}
},
"then": {
"$ref": "AltBeacon.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.BLEHeartRateDevice"
}
}
},
"then": {
"$ref": "BLEHeartRateDevice.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.CustomProtocolDevice"
}
}
},
"then": {
"$ref": "CustomProtocolDevice.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | de9c1e79146d5cfa493c361e373121f11a70eb21 | 2022-02-11T22:23:59 | rpc/schemas/protocols/ProtocolFactoryService/ProtocolFactoryServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"ApiVersion": {
"const": "1.0"
},
"CreateCustomProtocol": {
"$anchor": "CreateCustomProtocol",
"Response": {
"$anchor": "CreateCustomProtocol-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolFactoryServiceRequest.CreateCustomProtocol"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"customProtocol": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"apiVersion",
"ownerId",
"name",
"customProtocol",
"description"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/CreateCustomProtocol"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | b7c726ef65bb046f3a975012fbd03ae6665ba564 | 2024-03-16T21:19:31 | rpc/schemas/common/devices/PrimaryDeviceConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"PrimaryDeviceConfiguration": {
"$anchor": "PrimaryDeviceConfiguration",
"allOf": [
{
"$ref": "DeviceConfiguration.json#DeviceConfiguration"
}
],
"properties": {
"isPrimaryDevice": {
"const": true
}
},
"required": [
"isPrimaryDevice"
]
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/PrimaryDeviceConfiguration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.Smartphone"
}
}
},
"then": {
"$ref": "Smartphone.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.Website"
}
}
},
"then": {
"$ref": "Website.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/devices/CustomProtocolDevice.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"$anchor": "DeviceRegistration",
"$ref": "DefaultDeviceRegistration.json"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "DeviceDescriptor.json#/$defs/DeviceDescriptor"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.CustomProtocolDevice"
}
},
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 62918eccff5578579d1d07db744635d33102ef04 | 2022-02-01T13:04:22 | rpc/schemas/common/data/Geolocation.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.geolocation"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
},
"required": [
"$type",
"latitude",
"longitude"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/sampling/BatteryAwareSamplingConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "SamplingConfiguration.json#SamplingConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.BatteryAwareSamplingConfiguration"
},
"critical": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "SamplingConfiguration.json"
}
]
},
"low": {
"$ref": "SamplingConfiguration.json"
},
"normal": {
"$ref": "SamplingConfiguration.json"
}
},
"required": [
"normal",
"low"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 647b4583561f86893baafd78d498fc2c55a8f800 | 2022-02-01T13:04:22 | rpc/schemas/common/devices/DefaultDeviceRegistration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "DeviceRegistration.json#/$defs/DeviceRegistration"
}
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 7d6b495188dc7d135b667f7bedbd5ede9a8bea73 | 2022-03-01T14:39:21 | rpc/schemas/common/triggers/ScheduledTrigger.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "TriggerConfiguration.json#/$defs/TriggerConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.triggers.ScheduledTrigger"
},
"recurrenceRule": {
"$ref": "../RecurrenceRule.json"
},
"time": {
"$ref": "../TimeOfDay.json"
}
},
"required": [
"time",
"recurrenceRule"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 17153775ef281124fa73f312dfe73f8a92c8b040 | 2022-02-01T13:04:22 | rpc/schemas/common/ApplicationData.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"type": [
"object",
"string",
"null"
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 55284d12439fc74b89e80301dd245877f7024c0b | 2022-02-12T03:15:16 | rpc/schemas/deployments/users/ParticipantStatus.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"assignedPrimaryDeviceRoleNames": {
"items": {
"type": "string"
},
"type": "array"
},
"participantId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"participantId",
"assignedPrimaryDeviceRoleNames"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/sampling/GranularitySamplingConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "SamplingConfiguration.json#/$defs/SamplingConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.GranularitySamplingConfiguration"
},
"granularity": {
"enum": [
"Detailed",
"Balanced",
"Coarse"
]
}
},
"required": [
"granularity"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | a062c66690492fe0f477582d4bb4def4ea084f72 | 2022-02-01T13:04:22 | rpc/schemas/protocols/ProtocolService/ProtocolServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"Add": {
"$anchor": "Add",
"Response": {
"$anchor": "Add-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.Add"
},
"protocol": {
"$ref": "../StudyProtocolSnapshot.json"
},
"versionTag": {
"type": "string"
}
},
"required": [
"$type",
"protocol"
],
"type": "object"
},
"AddVersion": {
"$anchor": "AddVersion",
"Response": {
"$anchor": "AddVersion-Response",
"$ref": "../../common/Unit.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.AddVersion"
},
"protocol": {
"$ref": "../StudyProtocolSnapshot.json"
},
"versionTag": {
"type": "string"
}
},
"required": [
"$type",
"protocol"
],
"type": "object"
},
"GetAllForOwner": {
"$anchor": "GetAllForOwner",
"Response": {
"$anchor": "GetAllForOwner-Response",
"items": {
"$ref": "../StudyProtocolSnapshot.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetAllForOwner"
},
"ownerId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"ownerId"
],
"type": "object"
},
"GetBy": {
"$anchor": "GetBy",
"Response": {
"$anchor": "GetBy-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetBy"
},
"protocolId": {
"format": "uuid",
"type": "string"
},
"versionTag": {
"type": [
"string",
"null"
]
}
},
"required": [
"$type",
"protocolId"
],
"type": "object"
},
"GetVersionHistoryFor": {
"$anchor": "GetVersionHistoryFor",
"Response": {
"$anchor": "GetVersionHistoryFor-Response",
"items": {
"$ref": "../ProtocolVersion.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.GetVersionHistoryFor"
},
"protocolId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"$type",
"protocolId"
],
"type": "object"
},
"UpdateParticipantDataConfiguration": {
"$anchor": "UpdateParticipantDataConfiguration",
"Response": {
"$anchor": "UpdateParticipantDataConfiguration-Response",
"$ref": "../StudyProtocolSnapshot.json"
},
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.protocols.infrastructure.ProtocolServiceRequest.UpdateParticipantDataConfiguration"
},
"expectedParticipantData": {
"items": {
"$ref": "../../common/users/ParticipantAttribute.json"
},
"type": "array"
},
"protocolId": {
"format": "uuid",
"type": "string"
},
"versionTag": {
"type": "string"
}
},
"required": [
"$type",
"protocolId",
"versionTag",
"expectedParticipantData"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/Add"
},
{
"$ref": "#/$defs/AddVersion"
},
{
"$ref": "#/$defs/UpdateParticipantDataConfiguration"
},
{
"$ref": "#/$defs/GetBy"
},
{
"$ref": "#/$defs/GetAllForOwner"
},
{
"$ref": "#/$defs/GetVersionHistoryFor"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 17153775ef281124fa73f312dfe73f8a92c8b040 | 2022-02-01T13:04:22 | rpc/schemas/deployments/DeviceDeploymentStatus.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"Deployed": {
"$anchor": "Deployed",
"properties": {
"$type": {
"const": "dk.cachet.carp.deployments.application.DeviceDeploymentStatus.Deployed"
}
},
"required": [
"$type"
],
"type": "object"
},
"NeedsRedeployment": {
"$anchor": "NeedsRedeployment",
"properties": {
"$type": {
"const": "dk.cachet.carp.deployments.application.DeviceDeploymentStatus.NeedsRedeployment"
},
"remainingDevicesToRegisterBeforeDeployment": {
"items": {
"type": "string"
},
"type": "array"
},
"remainingDevicesToRegisterToObtainDeployment": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"$type",
"remainingDevicesToRegisterToObtainDeployment",
"remainingDevicesToRegisterBeforeDeployment"
],
"type": "object"
},
"Registered": {
"$anchor": "Registered",
"properties": {
"$type": {
"const": "dk.cachet.carp.deployments.application.DeviceDeploymentStatus.Registered"
},
"canBeDeployed": {
"type": "boolean"
},
"remainingDevicesToRegisterBeforeDeployment": {
"items": {
"type": "string"
},
"type": "array"
},
"remainingDevicesToRegisterToObtainDeployment": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"$type",
"canBeDeployed",
"remainingDevicesToRegisterToObtainDeployment",
"remainingDevicesToRegisterBeforeDeployment"
],
"type": "object"
},
"Unregistered": {
"$anchor": "Unregistered",
"properties": {
"$type": {
"const": "dk.cachet.carp.deployments.application.DeviceDeploymentStatus.Unregistered"
},
"canBeDeployed": {
"type": "boolean"
},
"remainingDevicesToRegisterBeforeDeployment": {
"items": {
"type": "string"
},
"type": "array"
},
"remainingDevicesToRegisterToObtainDeployment": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"$type",
"canBeDeployed",
"remainingDevicesToRegisterToObtainDeployment",
"remainingDevicesToRegisterBeforeDeployment"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"properties": {
"device": {
"$ref": "../common/devices/DeviceDescriptor.json"
}
},
"required": [
"device"
],
"type": "object"
},
{
"oneOf": [
{
"$ref": "#/$defs/Unregistered"
},
{
"$ref": "#/$defs/Registered"
},
{
"$ref": "#/$defs/Deployed"
},
{
"$ref": "#/$defs/NeedsRedeployment"
}
]
}
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 7341a7dff61c1543cc1ae2835e630bbabb1848e6 | 2022-10-07T12:15:04 | rpc/schemas/common/data/HeartRate.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.heartrate"
},
"bpm": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"__type",
"bpm"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 55284d12439fc74b89e80301dd245877f7024c0b | 2022-02-12T03:15:16 | rpc/schemas/common/devices/PrimaryDeviceConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"PrimaryDeviceConfiguration": {
"allOf": [
{
"$ref": "DeviceConfiguration.json#/$defs/DeviceConfiguration"
}
],
"properties": {
"isPrimaryDevice": {
"const": true
}
},
"required": [
"isPrimaryDevice"
]
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/PrimaryDeviceConfiguration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.Smartphone"
}
}
},
"then": {
"$ref": "Smartphone.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 9cb2e3bfe46da948e0fc0a0f67fa70a6f5169b7e | 2022-04-04T10:00:19 | rpc/schemas/protocols/StudyProtocolSnapshot.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceConnection": {
"additionalProperties": false,
"properties": {
"connectedToRoleName": {
"type": "string"
},
"roleName": {
"type": "string"
}
},
"required": [
"roleName",
"connectedToRoleName"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"applicationData": {
"$ref": "../common/ApplicationData.json"
},
"connectedDevices": {
"items": {
"$ref": "../common/devices/DeviceConfiguration.json"
},
"type": "array"
},
"connections": {
"items": {
"$ref": "#/$defs/DeviceConnection"
},
"type": "array"
},
"createdOn": {
"format": "date-time",
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"expectedParticipantData": {
"items": {
"$ref": "./users/ExpectedParticipantData.json"
},
"type": "array"
},
"id": {
"format": "uuid",
"type": "string"
},
"name": {
"type": "string"
},
"ownerId": {
"format": "uuid",
"type": "string"
},
"primaryDevices": {
"items": {
"$ref": "../common/devices/PrimaryDeviceConfiguration.json"
},
"type": "array"
},
"taskControls": {
"items": {
"$ref": "../common/triggers/TaskControl.json"
},
"type": "array"
},
"tasks": {
"items": {
"$ref": "../common/tasks/TaskConfiguration.json"
},
"type": "array"
},
"triggers": {
"additionalProperties": {
"$ref": "../common/triggers/TriggerConfiguration.json"
},
"propertyNames": {
"pattern": "^\\d$"
},
"type": "object"
}
},
"required": [
"id",
"createdOn",
"ownerId",
"name"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 848ae2bf8cc30b9da448e82d414b94c649954243 | 2022-04-04T12:13:16 | rpc/schemas/common/data/Data.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"properties": {
"__type": {
"$ref": "../NamespacedId.json"
}
},
"required": [
"__type"
],
"type": "object"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.geolocation"
}
}
},
"then": {
"$ref": "Geolocation.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.stepcount"
}
}
},
"then": {
"$ref": "StepCount.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.ecg"
}
}
},
"then": {
"$ref": "ECG.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.heartrate"
}
}
},
"then": {
"$ref": "HeartRate.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.interbeatinterval"
}
}
},
"then": {
"$ref": "InterbeatInterval.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.sensorskincontact"
}
}
},
"then": {
"$ref": "SensorSkinContact.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.nongravitationalacceleration"
}
}
},
"then": {
"$ref": "NonGravitationalAcceleration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.acceleration"
}
}
},
"then": {
"$ref": "Acceleration.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.angularvelocity"
}
}
},
"then": {
"$ref": "AngularVelocity.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.signalstrength"
}
}
},
"then": {
"$ref": "SignalStrength.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.triggeredtask"
}
}
},
"then": {
"$ref": "TriggeredTask.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.completedtask"
}
}
},
"then": {
"$ref": "CompletedTask.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.input.custom"
}
}
},
"then": {
"$ref": "input/CustomInput.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.input.sex"
}
}
},
"then": {
"$ref": "input/Sex.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/devices/BLEHeartRateDevice.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"DeviceRegistration": {
"$anchor": "DeviceRegistration",
"$ref": "MACAddressDeviceRegistration.json"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "DeviceConfiguration.json#DeviceConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.devices.BLEHeartRateDevice"
}
},
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 863b82628f6f7e8e25aead40ed844c119eb8e52a | 2022-02-11T23:02:59 | rpc/schemas/common/sampling/NoOptionsSamplingConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "SamplingConfiguration.json#/$defs/SamplingConfiguration"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.sampling.NoOptionsSamplingConfiguration"
}
},
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
cph-cachet/carp.core-kotlin | 647b4583561f86893baafd78d498fc2c55a8f800 | 2022-02-01T13:04:22 | rpc/schemas/common/users/AccountIdentity.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"EmailAccountIdentity": {
"$anchor": "EmailAccountIdentity",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.common.application.users.EmailAccountIdentity"
},
"emailAddress": {
"format": "email",
"type": "string"
}
},
"required": [
"$type",
"emailAddress"
],
"type": "object"
},
"UsernameAccountIdentity": {
"$anchor": "UsernameAccountIdentity",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.common.application.users.UsernameAccountIdentity"
},
"username": {
"$ref": "../../common/users/Username.json"
}
},
"required": [
"$type"
]
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/EmailAccountIdentity"
},
{
"$ref": "#/$defs/UsernameAccountIdentity"
}
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 62918eccff5578579d1d07db744635d33102ef04 | 2022-02-01T13:04:22 | rpc/schemas/common/data/HeartRate.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"$type": {
"const": "dk.cachet.carp.heartrate"
},
"bpm": {
"type": "integer"
}
},
"required": [
"$type",
"bpm"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | 080dbdcae16e46ff7c558b8cea9400136991d095 | 2022-02-28T18:14:01 | rpc/schemas/deployments/PrimaryDeviceDeployment.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"applicationData": {
"$ref": "../common/ApplicationData.json"
},
"connectedDeviceRegistrations": {
"additionalProperties": {
"$ref": "../common/devices/DeviceRegistration.json"
},
"type": "object"
},
"connectedDevices": {
"items": {
"$ref": "../common/devices/DeviceConfiguration.json"
},
"type": "array"
},
"deviceConfiguration": {
"$ref": "../common/devices/PrimaryDeviceConfiguration.json"
},
"registration": {
"$ref": "../common/devices/DeviceRegistration.json"
},
"taskControls": {
"items": {
"$ref": "../common/triggers/TaskControl.json"
},
"type": "array"
},
"tasks": {
"items": {
"$ref": "../common/tasks/TaskConfiguration.json"
},
"type": "array"
},
"triggers": {
"additionalProperties": {
"$ref": "../common/triggers/Trigger.json"
},
"propertyNames": {
"pattern": "^\\d$"
},
"type": "object"
}
},
"required": [
"deviceConfiguration",
"registration"
],
"type": "object"
} | MIT | en |
cph-cachet/carp.core-kotlin | e3c8f46fe0ea8793db5daad5025f1504ca9c70fc | 2022-03-07T16:05:41 | rpc/schemas/common/triggers/TriggerConfiguration.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"TriggerConfiguration": {
"$anchor": "TriggerConfiguration",
"properties": {
"__type": true,
"sourceDeviceRoleName": {
"type": "string"
}
},
"required": [
"__type",
"sourceDeviceRoleName"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "#/$defs/TriggerConfiguration"
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.triggers.ElapsedTimeTrigger"
}
}
},
"then": {
"$ref": "ElapsedTimeTrigger.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.triggers.ManualTrigger"
}
}
},
"then": {
"$ref": "ManualTrigger.json"
}
},
{
"if": {
"properties": {
"__type": {
"const": "dk.cachet.carp.common.application.triggers.ScheduledTrigger"
}
}
},
"then": {
"$ref": "ScheduledTrigger.json"
}
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 89377442916c3072c4da696cece439291ee5e91a | 2022-04-04T10:00:19 | rpc/schemas/deployments/ParticipationService/ParticipationServiceRequest.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$defs": {
"ApiVersion": {
"const": "1.0"
},
"GetActiveParticipationInvitations": {
"$anchor": "GetActiveParticipationInvitations",
"Response": {
"$anchor": "GetActiveParticipationInvitations-Response",
"items": {
"$ref": "../users/ActiveParticipationInvitation.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.deployments.infrastructure.ParticipationServiceRequest.GetActiveParticipationInvitations"
},
"accountId": {
"format": "uuid",
"type": "string"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
}
},
"required": [
"__type",
"apiVersion",
"accountId"
],
"type": "object"
},
"GetParticipantData": {
"$anchor": "GetParticipantData",
"Response": {
"$anchor": "GetParticipantData-Response",
"$ref": "../users/ParticipantData.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.deployments.infrastructure.ParticipationServiceRequest.GetParticipantData"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyDeploymentId"
],
"type": "object"
},
"GetParticipantDataList": {
"$anchor": "GetParticipantDataList",
"Response": {
"$anchor": "GetParticipantDataList-Response",
"items": {
"$ref": "../users/ParticipantData.json"
},
"type": "array"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.deployments.infrastructure.ParticipationServiceRequest.GetParticipantDataList"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"studyDeploymentIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
}
},
"required": [
"__type",
"apiVersion",
"studyDeploymentIds"
],
"type": "object"
},
"SetParticipantData": {
"$anchor": "SetParticipantData",
"Response": {
"$anchor": "SetParticipantData-Response",
"$ref": "../users/ParticipantData.json"
},
"additionalProperties": false,
"properties": {
"__type": {
"const": "dk.cachet.carp.deployments.infrastructure.ParticipationServiceRequest.SetParticipantData"
},
"apiVersion": {
"$ref": "#/$defs/ApiVersion"
},
"data": {
"$ref": "../users/ParticipantDataMap.json"
},
"inputByParticipantRole": {
"type": [
"string",
"null"
]
},
"studyDeploymentId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"__type",
"apiVersion",
"studyDeploymentId",
"data"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"$ref": "#/$defs/GetActiveParticipationInvitations"
},
{
"$ref": "#/$defs/GetParticipantData"
},
{
"$ref": "#/$defs/GetParticipantDataList"
},
{
"$ref": "#/$defs/SetParticipantData"
}
]
} | MIT | en |
cph-cachet/carp.core-kotlin | 7b9f0006e17a90fdcbc435a3a944877dd94185bc | 2022-10-14T09:25:20 | rpc/schemas/common/data/InterbeatInterval.json | 20 | 2024-05-28T05:19:53.327709Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf": [
{
"$ref": "Data.json#SensorData"
}
],
"properties": {
"__type": {
"const": "dk.cachet.carp.interbeatinterval"
}
},
"required": [
"__type"
],
"type": "object",
"unevaluatedProperties": false
} | MIT | en |
gperdomor/nx-tools | 08ea098716e2287a875281b67b42f26f7f374724 | 2024-05-26T03:49:39 | plugins/nx-prisma/src/executors/pull/schema.json | 331 | 2024-05-28T04:22:13.75087Z | {
"$schema": "https://json-schema.org/schema",
"description": "The db pull command connects to your database and adds Prisma models to your Prisma schema that reflect the current database schema.",
"properties": {
"force": {
"description": "Force overwrite of manual changes made to schema. The generated schema will be based on the introspected schema only.",
"type": "boolean"
},
"print": {
"description": "Prints the created schema.prisma to the screen instead of writing it to the filesystem.",
"type": "boolean"
},
"schema": {
"description": "Specifies the path to the desired schema.prisma file to be processed instead of the default path. Both absolute and relative paths are supported.",
"type": "string"
}
},
"required": [],
"title": "Prisma db pull executor",
"type": "object",
"version": 2
} | MIT | en |
gperdomor/nx-tools | 08ea098716e2287a875281b67b42f26f7f374724 | 2024-05-26T03:49:39 | plugins/nx-prisma/src/executors/generate/schema.json | 331 | 2024-05-28T04:22:13.75087Z | {
"$schema": "https://json-schema.org/schema",
"description": "The generate command generates assets like Prisma Client based on the generator and data model blocks defined in your schema.prisma file.",
"properties": {
"data-proxy": {
"description": "The generate command will generate Prisma Client for use with the Data Proxy.",
"type": "boolean"
},
"generator": {
"description": "Specifies the generator to use for generating prisma client.",
"type": "string"
},
"schema": {
"description": "Specifies the path to the desired schema.prisma file to be processed instead of the default path. Both absolute and relative paths are supported.",
"type": "string"
},
"watch": {
"description": "The generate command will continue to watch the schema.prisma file and re-generate Prisma Client on file changes.",
"type": "boolean"
}
},
"required": [],
"title": "Prisma generate executor",
"type": "object",
"version": 2
} | MIT | en |
gperdomor/nx-tools | e7b073f95bf1c3d185537039a0b77f1734ac65d3 | 2024-05-26T03:51:18 | plugins/nx-graphql-codegen/src/executors/generate/schema.json | 331 | 2024-05-28T04:22:13.75087Z | {
"$schema": "https://json-schema.org/schema",
"description": "",
"properties": {
"config": {
"description": "Specifies the path to the desired graphql code generator config file to be processed instead of the default path. Both absolute and relative paths are supported.",
"type": "string"
}
},
"required": [],
"title": "Generate executor",
"type": "object",
"version": 2
} | MIT | en |
gperdomor/nx-tools | e76e9561a6be8e47a46f50bf813bcf5912195f7e | 2024-05-26T03:45:31 | plugins/nx-container/src/executors/build/schema.json | 331 | 2024-05-28T04:22:13.75087Z | {
"$schema": "https://json-schema.org/schema",
"description": "Builds an image using instructions from the Dockerfile and a specified build context directory.",
"properties": {
"add-hosts": {
"description": "List of customs host-to-IP mapping (e.g., docker:10.180.0.1)",
"items": {
"type": "string"
},
"type": "array"
},
"allow": {
"description": "List of extra privileged entitlement (eg. network.host,security.insecure)",
"items": {
"type": "string"
},
"type": "array"
},
"build-args": {
"description": "List of build-time variables",
"items": {
"type": "string"
},
"type": "array"
},
"builder": {
"description": "Builder instance (see setup-buildx action)",
"type": "string"
},
"cache-from": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
],
"description": "List of external cache sources for buildx (eg. user/app:cache, type=local,src=path/to/dir)"
},
"cache-to": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
],
"description": "List of cache export destinations for buildx (eg. user/app:cache, type=local,dest=path/to/dir)"
},
"cgroup-parent": {
"description": "Optional parent cgroup for the container used in the build",
"items": {
"type": "string"
},
"type": "array"
},
"context": {
"description": "Build's context is the set of files located in the specified PATH or URL (default .)",
"type": "string"
},
"engine": {
"default": "docker",
"type": "string"
},
"file": {
"description": "Path to the Dockerfile (default Dockerfile)",
"type": "string"
},
"labels": {
"description": "List of metadata for an image",
"items": {
"type": "string"
},
"type": "array"
},
"load": {
"default": false,
"description": "Load is a shorthand for --output=type=docker (default false)",
"type": "boolean"
},
"metadata": {
"description": "Extract metadata from CI context",
"properties": {
"bake-target": {
"default": "container-metadata-action",
"description": "Bake target name (default container-metadata-action)",
"type": "string"
},
"flavor": {
"description": "Flavors to apply",
"items": {
"type": "string"
},
"type": "array"
},
"images": {
"description": "List of Docker images to use as base name for tags. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"description": "List of custom labels",
"items": {
"type": "string"
},
"type": "array"
},
"sep-labels": {
"default": "\n",
"description": "Separator to use for labels output (default '\\n')",
"type": "string"
},
"sep-tags": {
"default": "\n",
"description": "Separator to use for tags output (default '\\n')",
"type": "string"
},
"tags": {
"description": "List of tags as key-value pair attributes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"network": {
"description": "Set the networking mode for the RUN instructions during build",
"type": "string"
},
"no-cache": {
"default": false,
"description": "Do not use cache when building the image (default false)",
"type": "boolean"
},
"outputs": {
"description": "List of output destinations (format: type=local,dest=path)",
"items": {
"type": "string"
},
"type": "array"
},
"platforms": {
"description": "List of target platforms for build",
"items": {
"type": "string"
},
"type": "array"
},
"provenance": {
"description": "Change or disable provenance attestations for the build result",
"type": "string"
},
"pull": {
"default": false,
"description": "Always attempt to pull a newer version of the image (default false)",
"type": "boolean"
},
"push": {
"default": false,
"description": "Push is a shorthand for --output=type=registry (default false)",
"type": "boolean"
},
"quiet": {
"default": false,
"type": "boolean"
},
"secret-files": {
"description": "List of secret files to expose to the build (eg. key=filename, MY_SECRET=./secret.txt)",
"items": {
"type": "string"
},
"type": "array"
},
"secrets": {
"description": "List of secrets to expose to the build (eg. key=string, GIT_AUTH_TOKEN=mytoken, NPM_TOKEN=${NPM_TOKEN})",
"items": {
"type": "string"
},
"type": "array"
},
"shm-size": {
"description": "Size of /dev/shm (e.g., 2g)",
"type": "string"
},
"ssh": {
"description": "List of SSH agent socket or keys to expose to the build",
"items": {
"type": "string"
},
"type": "array"
},
"tags": {
"description": "List of tags",
"items": {
"type": "string"
},
"type": "array"
},
"target": {
"description": "Sets the target stage to build",
"type": "string"
},
"ulimit": {
"description": "Ulimit options (e.g., nofile=1024:1024)",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"title": "Docker Build executor",
"type": "object",
"version": 2
} | MIT | en |
gperdomor/nx-tools | 08ea098716e2287a875281b67b42f26f7f374724 | 2024-05-26T03:49:39 | plugins/nx-prisma/src/generators/configuration/schema.json | 331 | 2024-05-28T04:22:13.75087Z | {
"$id": "Configuration",
"$schema": "https://json-schema.org/schema",
"properties": {
"database": {
"default": "postgresql",
"description": "The database provider for your schema.",
"enum": [
"cockroachdb",
"mongodb",
"mysql",
"postgresql",
"sqlite",
"sqlserver"
],
"type": "string",
"x-priority": "important",
"x-prompt": {
"items": [
{
"label": "CockroachDB",
"value": "cockroachdb"
},
{
"label": "MongoDB",
"value": "mongodb"
},
{
"label": "MySQL",
"value": "mysql"
},
{
"label": "PostgreSQL",
"value": "postgresql"
},
{
"label": "SQLite",
"value": "sqlite"
},
{
"label": "Microsoft SQL Server",
"value": "sqlserver"
}
],
"message": "Which data source connectors would you like to use?.",
"type": "list"
}
},
"directory": {
"description": "A directory where the prisma schema is placed.",
"type": "string"
},
"project": {
"description": "The name of the project to add the Prisma setup to.",
"type": "string",
"x-dropdown": "projects",
"x-priority": "important",
"x-prompt": "What project would you like to add the Prisma setup to?"
},
"skipFormat": {
"description": "Skips formatting the workspace after the generator completes.",
"type": "boolean"
},
"skipPackageJson": {
"default": false,
"description": "Do not add dependencies to `package.json`",
"type": "boolean"
}
},
"required": [
"project"
],
"title": "",
"type": "object"
} | MIT | en |
gperdomor/nx-tools | 08ea098716e2287a875281b67b42f26f7f374724 | 2024-05-26T03:49:39 | plugins/nx-prisma/src/executors/studio/schema.json | 331 | 2024-05-28T04:22:13.75087Z | {
"$schema": "https://json-schema.org/schema",
"description": "The studio command allows you to interact with and manage your data interactively. It does this by starting a local web server with a web app configured with your project's data schema and records.",
"properties": {
"browser": {
"description": "The browser to auto-open Studio in.",
"type": "string"
},
"port": {
"default": 5555,
"description": "The port number to start Studio on.",
"type": "number"
},
"schema": {
"description": "Specifies the path to the desired schema.prisma file to be processed instead of the default path. Both absolute and relative paths are supported.",
"type": "string"
}
},
"required": [],
"title": "Prisma studio executor",
"type": "object",
"version": 2
} | MIT | en |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.