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
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
rpc/schemas/common/RecurrenceRule.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "pattern": "^RRULE:FREQ=(SECONDLY|MINUTELY|HOURLY|DAILY|WEEKLY|MONTHLY|YEARLY)(;(INTERVAL|UNTIL|COUNT)=\\d+)*$", "type": "string" }
MIT
en
cph-cachet/carp.core-kotlin
f938c7adb61b9c7b24ca2a353570c340d8a173e1
2022-04-04T10:00:19
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/AssignParticipantRoles.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
a062c66690492fe0f477582d4bb4def4ea084f72
2022-02-01T13:04:22
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": { "type": [ "object", "null" ] }, "connectedDevices": { "items": { "$ref": "../common/devices/DeviceDescriptor.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" }, "masterDevices": { "items": { "$ref": "../common/devices/MasterDeviceDescriptor.json" }, "type": "array" }, "name": { "type": "string" }, "ownerId": { "format": "uuid", "type": "string" }, "taskControls": { "items": { "$ref": "../common/triggers/TaskControl.json" }, "type": "array" }, "tasks": { "items": { "$ref": "../common/tasks/TaskDescriptor.json" }, "type": "array" }, "triggers": { "patternProperties": { "^\\d$": { "$ref": "../common/triggers/Trigger.json" } }, "propertyNames": { "pattern": "^\\d$" }, "type": "object" } }, "required": [ "id", "createdOn", "ownerId", "name" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
rpc/schemas/common/tasks/BackgroundTask.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.BackgroundTask" }, "duration": { "format": "duration", "type": "string" } }, "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
7ea6ba7386abefcd3c8badf7fb9a6427f3de2b91
2022-02-01T13:04:22
rpc/schemas/data/DataStreamSequence.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "dataStream": { "$ref": "DataStreamId.json" }, "firstSequenceId": { "minimum": 0, "type": "integer" }, "measurements": { "description": "Measurements in this sequence. All data types of measurement data needs to correspond to data type of `dataStream`.", "items": { "$ref": "Measurement.json" }, "type": "array" }, "syncPoint": { "$ref": "SyncPoint.json" }, "triggerIds": { "items": { "type": "integer" }, "minItems": 1, "type": "array" } }, "required": [ "dataStream", "firstSequenceId", "measurements", "triggerIds" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
rpc/schemas/common/tasks/CustomProtocolTask.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.CustomProtocolTask" }, "studyProtocol": { "type": "string" } }, "required": [ "studyProtocol" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
17153775ef281124fa73f312dfe73f8a92c8b040
2022-02-01T13:04:22
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/DeviceDescriptor.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" }, "masterDevices": { "items": { "$ref": "../common/devices/MasterDeviceDescriptor.json" }, "type": "array" }, "name": { "type": "string" }, "ownerId": { "format": "uuid", "type": "string" }, "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
55284d12439fc74b89e80301dd245877f7024c0b
2022-02-12T03:15:16
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": "DeviceConfiguration.json#/$defs/DeviceConfiguration" } ], "properties": { "__type": { "const": "dk.cachet.carp.common.application.devices.CustomProtocolDevice" } }, "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
de9c1e79146d5cfa493c361e373121f11a70eb21
2022-02-11T22:23: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
a062c66690492fe0f477582d4bb4def4ea084f72
2022-02-01T13:04:22
rpc/schemas/common/triggers/TaskControl.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "Control": { "$anchor": "Control", "enum": [ "Start", "Stop" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "control": { "$ref": "#/$defs/Control" }, "destinationDeviceRoleName": { "type": "string" }, "taskName": { "type": "string" }, "triggerId": { "type": "integer" } }, "required": [ "triggerId", "taskName", "destinationDeviceRoleName", "control" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
62918eccff5578579d1d07db744635d33102ef04
2022-02-01T13:04:22
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
7d6b495188dc7d135b667f7bedbd5ede9a8bea73
2022-03-01T14:39:21
rpc/schemas/common/triggers/ManualTrigger.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.ManualTrigger" }, "description": { "type": [ "string", "null" ] }, "label": { "type": "string" } }, "required": [ "label" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
55284d12439fc74b89e80301dd245877f7024c0b
2022-02-12T03:15:16
rpc/schemas/deployments/DeploymentService/DeploymentServiceRequest.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "ApiVersion": { "const": "1.0" }, "CreateStudyDeployment": { "$anchor": "CreateStudyDeployment", "Response": { "$anchor": "CreateStudyDeployment-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.CreateStudyDeployment" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "connectedDevicePreregistrations": { "additionalProperties": { "$ref": "../../common/devices/DeviceRegistration.json" }, "type": "object" }, "id": { "format": "uuid", "type": "string" }, "invitations": { "items": { "$ref": "../users/ParticipantInvitation.json" }, "type": "array" }, "protocol": { "$ref": "../../protocols/StudyProtocolSnapshot.json" } }, "required": [ "__type", "apiVersion", "id", "protocol", "invitations", "connectedDevicePreregistrations" ], "type": "object" }, "DeviceDeployed": { "$anchor": "DeviceDeployed", "Response": { "$anchor": "DeviceDeployed-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.DeviceDeployed" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "deviceDeploymentLastUpdatedOn": { "format": "date-time", "type": "string" }, "primaryDeviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId", "primaryDeviceRoleName", "deviceDeploymentLastUpdatedOn" ], "type": "object" }, "GetDeviceDeploymentFor": { "$anchor": "GetDeviceDeploymentFor", "Response": { "$anchor": "GetDeviceDeploymentFor-Response", "$ref": "../PrimaryDeviceDeployment.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetDeviceDeploymentFor" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "primaryDeviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId", "primaryDeviceRoleName" ], "type": "object" }, "GetStudyDeploymentStatus": { "$anchor": "GetStudyDeploymentStatus", "Response": { "$anchor": "GetStudyDeploymentStatus-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetStudyDeploymentStatus" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId" ], "type": "object" }, "GetStudyDeploymentStatusList": { "$anchor": "GetStudyDeploymentStatusList", "Response": { "$anchor": "GetStudyDeploymentStatusList-Response", "items": { "$ref": "../StudyDeploymentStatus.json" }, "type": "array" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetStudyDeploymentStatusList" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentIds": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "__type", "apiVersion", "studyDeploymentIds" ], "type": "object" }, "RegisterDevice": { "$anchor": "RegisterDevice", "Response": { "$anchor": "RegisterDevice-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.RegisterDevice" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "deviceRoleName": { "type": "string" }, "registration": { "$ref": "../../common/devices/DeviceRegistration.json" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId", "deviceRoleName", "registration" ], "type": "object" }, "RemoveStudyDeployments": { "$anchor": "RemoveStudyDeployments", "Response": { "$anchor": "RemoveStudyDeployments-Response", "items": { "format": "uuid", "type": "string" }, "type": "array" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.RemoveStudyDeployments" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentIds": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "__type", "apiVersion", "studyDeploymentIds" ], "type": "object" }, "Stop": { "$anchor": "Stop", "Response": { "$anchor": "Stop-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.Stop" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId" ], "type": "object" }, "UnregisterDevice": { "$anchor": "UnregisterDevice", "Response": { "$anchor": "UnregisterDevice-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.UnregisterDevice" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "deviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId", "deviceRoleName" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/CreateStudyDeployment" }, { "$ref": "#/$defs/RemoveStudyDeployments" }, { "$ref": "#/$defs/GetStudyDeploymentStatus" }, { "$ref": "#/$defs/GetStudyDeploymentStatusList" }, { "$ref": "#/$defs/RegisterDevice" }, { "$ref": "#/$defs/UnregisterDevice" }, { "$ref": "#/$defs/GetDeviceDeploymentFor" }, { "$ref": "#/$defs/DeviceDeployed" }, { "$ref": "#/$defs/Stop" } ] }
MIT
en
cph-cachet/carp.core-kotlin
e3c8f46fe0ea8793db5daad5025f1504ca9c70fc
2022-03-07T16:05:41
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": "DeviceConfiguration.json#DeviceConfiguration" } ], "properties": { "__type": { "const": "dk.cachet.carp.common.application.devices.CustomProtocolDevice" } }, "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
rpc/schemas/common/tasks/CustomProtocolTask.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.CustomProtocolTask" }, "studyProtocol": { "type": "string" } }, "required": [ "studyProtocol" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
c6d594d894599db3da7f90205da47b5018431559
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": "../common/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
7b9f0006e17a90fdcbc435a3a944877dd94185bc
2022-10-14T09:25:20
rpc/schemas/common/data/Geolocation.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.geolocation" }, "latitude": { "maximum": 90, "minimum": -90, "type": "number" }, "longitude": { "maximum": 180, "minimum": -180, "type": "number" } }, "required": [ "__type", "latitude", "longitude" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
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
089dbc81087fc992ae24eb4311de3e259fd83020
2022-04-04T10:00:19
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/AssignedParticipantRoles.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
4a7fe521b7dda62181c6e1a8acaadc11bb581934
2022-10-05T13:15:55
rpc/schemas/protocols/ProtocolFactoryService/ProtocolFactoryServiceRequest.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "ApiVersion": { "const": "1.1" }, "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
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
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
e3c8f46fe0ea8793db5daad5025f1504ca9c70fc
2022-03-07T16:05:41
rpc/schemas/common/devices/MACAddressDeviceRegistration.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "$ref": "DeviceRegistration.json#DeviceRegistration" } ], "properties": { "macAddress": { "type": "string" } }, "required": [ "macAddress" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
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/SensorSkinContact.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.sensorskincontact" }, "contact": { "type": "boolean" } }, "required": [ "$type", "contact" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
4a7fe521b7dda62181c6e1a8acaadc11bb581934
2022-10-05T13:15:55
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" }, "assignedDevices": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "type": "object" }, "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/ExpectedParticipantData.json" }, "type": "array" }, "id": { "format": "uuid", "type": "string" }, "name": { "type": "string" }, "ownerId": { "format": "uuid", "type": "string" }, "participantRoles": { "items": { "$ref": "../common/users/ParticipantRole.json" }, "type": "array" }, "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" }, "version": { "type": "integer" } }, "required": [ "id", "createdOn", "ownerId", "name" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
e3c8f46fe0ea8793db5daad5025f1504ca9c70fc
2022-03-07T16:05:41
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#SamplingConfiguration" } ], "properties": { "__type": { "const": "dk.cachet.carp.common.application.sampling.NoOptionsSamplingConfiguration" } }, "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
a8461ca6deadba86af55e975cfb16bd2725a43f8
2022-03-18T14:13:14
rpc/schemas/studies/StudyStatus.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "Configuring": { "$anchor": "Configuring", "allOf": [ { "$ref": "#/$defs/StudyStatus" } ], "properties": { "__type": { "const": "dk.cachet.carp.studies.application.StudyStatus.Configuring" }, "canGoLive": { "type": "boolean" } }, "required": [ "canGoLive" ], "unevaluatedProperties": false }, "Live": { "$anchor": "Live", "allOf": [ { "$ref": "#/$defs/StudyStatus" } ], "properties": { "__type": { "const": "dk.cachet.carp.studies.application.StudyStatus.Live" } }, "unevaluatedProperties": false }, "StudyStatus": { "properties": { "__type": true, "canDeployToParticipants": { "type": "boolean" }, "canSetInvitation": { "type": "boolean" }, "canSetStudyProtocol": { "type": "boolean" }, "createdOn": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "studyId": { "format": "uuid", "type": "string" }, "studyProtocolId": { "oneOf": [ { "type": "null" }, { "format": "uuid", "type": "string" } ] } }, "required": [ "__type", "studyId", "name", "createdOn", "studyProtocolId", "canSetInvitation", "canSetStudyProtocol", "canDeployToParticipants" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/Configuring" }, { "$ref": "#/$defs/Live" } ] }
MIT
en
cph-cachet/carp.core-kotlin
de9c1e79146d5cfa493c361e373121f11a70eb21
2022-02-11T22:23:59
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" }, "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
de9c1e79146d5cfa493c361e373121f11a70eb21
2022-02-11T22:23: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
7341a7dff61c1543cc1ae2835e630bbabb1848e6
2022-10-07T12:15:04
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": { "maximum": 90, "minimum": -90, "type": "number" }, "longitude": { "maximum": 180, "minimum": -180, "type": "number" } }, "required": [ "__type", "latitude", "longitude" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
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": "MasterDeviceDescriptor.json#/$defs/MasterDeviceDescriptor" } ], "properties": { "__type": { "const": "dk.cachet.carp.common.application.devices.Smartphone" } }, "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
4b27caf1d9129f17093470dfa52bcdf358d42afe
2022-04-04T10:00:19
rpc/schemas/deployments/users/ParticipantData.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "RoleData": { "additionalProperties": false, "properties": { "data": { "$ref": "../users/ParticipantDataMap.json" }, "roleName": { "type": "string" } }, "required": [ "roleName", "data" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "common": { "$ref": "../users/ParticipantDataMap.json" }, "roles": { "items": { "$ref": "#/$defs/RoleData" }, "type": "array" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "studyDeploymentId", "common", "roles" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
17153775ef281124fa73f312dfe73f8a92c8b040
2022-02-01T13:04:22
rpc/schemas/deployments/DeploymentService/DeploymentServiceRequest.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "CreateStudyDeployment": { "$anchor": "CreateStudyDeployment", "Response": { "$anchor": "CreateStudyDeployment-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.CreateStudyDeployment" }, "connectedDevicePreregistrations": { "additionalProperties": { "$ref": "../../common/devices/DeviceRegistration.json" }, "type": "object" }, "id": { "format": "uuid", "type": "string" }, "invitations": { "items": { "$ref": "../users/ParticipantInvitation.json" }, "type": "array" }, "protocol": { "$ref": "../../protocols/StudyProtocolSnapshot.json" } }, "required": [ "$type", "id", "protocol", "invitations", "connectedDevicePreregistrations" ], "type": "object" }, "DeviceDeployed": { "$anchor": "DeviceDeployed", "Response": { "$anchor": "DeviceDeployed-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.DeviceDeployed" }, "deviceDeploymentLastUpdatedOn": { "format": "date-time", "type": "string" }, "masterDeviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "studyDeploymentId", "masterDeviceRoleName", "deviceDeploymentLastUpdatedOn" ], "type": "object" }, "GetDeviceDeploymentFor": { "$anchor": "GetDeviceDeploymentFor", "Response": { "$anchor": "GetDeviceDeploymentFor-Response", "$ref": "../MasterDeviceDeployment.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetDeviceDeploymentFor" }, "masterDeviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "studyDeploymentId", "masterDeviceRoleName" ], "type": "object" }, "GetStudyDeploymentStatus": { "$anchor": "GetStudyDeploymentStatus", "Response": { "$anchor": "GetStudyDeploymentStatus-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetStudyDeploymentStatus" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "studyDeploymentId" ], "type": "object" }, "GetStudyDeploymentStatusList": { "$anchor": "GetStudyDeploymentStatusList", "Response": { "$anchor": "GetStudyDeploymentStatusList-Response", "items": { "$ref": "../StudyDeploymentStatus.json" }, "type": "array" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetStudyDeploymentStatusList" }, "studyDeploymentIds": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "$type", "studyDeploymentIds" ], "type": "object" }, "RegisterDevice": { "$anchor": "RegisterDevice", "Response": { "$anchor": "RegisterDevice-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.RegisterDevice" }, "deviceRoleName": { "type": "string" }, "registration": { "$ref": "../../common/devices/DeviceRegistration.json" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "studyDeploymentId", "deviceRoleName", "registration" ], "type": "object" }, "RemoveStudyDeployments": { "$anchor": "RemoveStudyDeployments", "Response": { "$anchor": "RemoveStudyDeployments-Response", "items": { "format": "uuid", "type": "string" }, "type": "array" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.RemoveStudyDeployments" }, "studyDeploymentIds": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "$type", "studyDeploymentIds" ], "type": "object" }, "Stop": { "$anchor": "Stop", "Response": { "$anchor": "Stop-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.Stop" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "studyDeploymentId" ], "type": "object" }, "UnregisterDevice": { "$anchor": "UnregisterDevice", "Response": { "$anchor": "UnregisterDevice-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.UnregisterDevice" }, "deviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "studyDeploymentId", "deviceRoleName" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/CreateStudyDeployment" }, { "$ref": "#/$defs/RemoveStudyDeployments" }, { "$ref": "#/$defs/GetStudyDeploymentStatus" }, { "$ref": "#/$defs/GetStudyDeploymentStatusList" }, { "$ref": "#/$defs/RegisterDevice" }, { "$ref": "#/$defs/UnregisterDevice" }, { "$ref": "#/$defs/GetDeviceDeploymentFor" }, { "$ref": "#/$defs/DeviceDeployed" }, { "$ref": "#/$defs/Stop" } ] }
MIT
en
cph-cachet/carp.core-kotlin
74fca8e3c0c30f79ff9a8e9d6b0c74db83c8b1b8
2022-10-12T13:33:52
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.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/tasks/CustomProtocolTask.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.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/triggers/ElapsedTimeTrigger.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "$ref": "Trigger.json#/$defs/Trigger" } ], "properties": { "__type": { "const": "dk.cachet.carp.common.application.triggers.ElapsedTimeTrigger" }, "elapsedTime": { "format": "duration", "type": "string" } }, "required": [ "elapsedTime" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
rpc/schemas/common/tasks/Measure.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "DataStream": { "$anchor": "DataStream", "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.common.application.tasks.Measure.DataStream" }, "overrideSamplingConfiguration": { "oneOf": [ { "type": "null" }, { "$ref": "../sampling/SamplingConfiguration.json" } ] }, "type": { "$ref": "../NamespacedId.json" } }, "required": [ "__type", "type" ], "type": "object" }, "TriggerData": { "$anchor": "TriggerData", "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.common.application.tasks.Measure.TriggerData" }, "triggerId": { "type": "integer" } }, "required": [ "__type", "triggerId" ] } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/DataStream" }, { "$ref": "#/$defs/TriggerData" } ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
17153775ef281124fa73f312dfe73f8a92c8b040
2022-02-01T13:04:22
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": { "assignedMasterDeviceRoleNames": { "items": { "type": "string" }, "type": "array" }, "identity": { "$ref": "../../common/users/AccountIdentity.json" }, "invitation": { "$ref": "../users/StudyInvitation.json" }, "participantId": { "format": "uuid", "type": "string" } }, "required": [ "participantId", "assignedMasterDeviceRoleNames", "identity", "invitation" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
e3c8f46fe0ea8793db5daad5025f1504ca9c70fc
2022-03-07T16:05:41
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#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
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
rpc/schemas/studies/StudyStatus.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "Configuring": { "$anchor": "Configuring", "allOf": [ { "$ref": "#/$defs/StudyStatus" } ], "properties": { "__type": { "const": "dk.cachet.carp.studies.application.StudyStatus.Configuring" }, "canGoLive": { "type": "boolean" } }, "required": [ "canGoLive" ], "unevaluatedProperties": false }, "Live": { "$anchor": "Live", "allOf": [ { "$ref": "#/$defs/StudyStatus" } ], "properties": { "__type": { "const": "dk.cachet.carp.studies.application.StudyStatus.Live" } }, "unevaluatedProperties": false }, "StudyStatus": { "properties": { "__type": true, "canDeployToParticipants": { "type": "boolean" }, "canSetInvitation": { "type": "boolean" }, "canSetStudyProtocol": { "type": "boolean" }, "createdOn": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "studyId", "name", "createdOn", "canSetInvitation", "canSetStudyProtocol", "canDeployToParticipants" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/Configuring" }, { "$ref": "#/$defs/Live" } ] }
MIT
en
cph-cachet/carp.core-kotlin
7d6b495188dc7d135b667f7bedbd5ede9a8bea73
2022-03-01T14:39:21
rpc/schemas/common/triggers/ElapsedTimeTrigger.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.ElapsedTimeTrigger" }, "elapsedTime": { "format": "duration", "type": "string" } }, "required": [ "elapsedTime" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
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", "type": "boolean" }, "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
7b9f0006e17a90fdcbc435a3a944877dd94185bc
2022-10-14T09:25:20
rpc/schemas/data/Measurement.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "data": { "$ref": "../common/data/Data.json" }, "sensorEndTime": { "description": "If set, sensorEndTime needs to lie after sensorStartTime.", "type": [ "integer", "null" ] }, "sensorStartTime": { "type": "integer" } }, "required": [ "sensorStartTime", "data" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
f16537e40792c54a111f5a86447e9dc529e3ef17
2022-03-09T19:51:19
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" }, "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
62918eccff5578579d1d07db744635d33102ef04
2022-02-01T13:04:22
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
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
rpc/schemas/common/tasks/Measure.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "DataStream": { "$anchor": "DataStream", "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.common.application.tasks.Measure.DataStream" }, "overrideSamplingConfiguration": { "oneOf": [ { "type": "null" }, { "$ref": "../sampling/SamplingConfiguration.json" } ] }, "type": { "$ref": "../NamespacedId.json" } }, "required": [ "$type", "type" ], "type": "object" }, "TriggerData": { "$anchor": "TriggerData", "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.common.application.tasks.Measure.TriggerData" }, "triggerId": { "type": "integer" } }, "required": [ "$type", "triggerId" ] } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/DataStream" }, { "$ref": "#/$defs/TriggerData" } ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
62918eccff5578579d1d07db744635d33102ef04
2022-02-01T13:04:22
rpc/schemas/common/triggers/TaskControl.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "Control": { "$anchor": "Control", "enum": [ "Start", "Stop" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "control": { "$ref": "#Control" }, "destinationDeviceRoleName": { "type": "string" }, "taskName": { "type": "string" }, "triggerId": { "type": "integer" } }, "required": [ "triggerId", "taskName", "destinationDeviceRoleName", "control" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
676925e9723857faeb828fdab576b1ff6ed02f73
2022-02-01T13:04:22
rpc/schemas/studies/StudyStatus.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "Configuring": { "$anchor": "Configuring", "properties": { "$type": { "const": "dk.cachet.carp.studies.application.StudyStatus.Configuring" }, "canGoLive": { "type": "boolean" } }, "required": [ "$type", "canGoLive" ], "type": "object" }, "Live": { "$anchor": "Live", "properties": { "$type": { "const": "dk.cachet.carp.studies.application.StudyStatus.Live" } }, "required": [ "$type" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "properties": { "canDeployToParticipants": { "type": "boolean" }, "canSetInvitation": { "type": "boolean" }, "canSetStudyProtocol": { "type": "boolean" }, "createdOn": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "studyId", "name", "createdOn", "canSetInvitation", "canSetStudyProtocol", "canDeployToParticipants" ], "type": "object" }, { "oneOf": [ { "$ref": "#/$defs/Configuring" }, { "$ref": "#/$defs/Live" } ] } ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
e3c8f46fe0ea8793db5daad5025f1504ca9c70fc
2022-03-07T16:05:41
rpc/schemas/common/triggers/ElapsedTimeTrigger.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "$ref": "TriggerConfiguration.json#TriggerConfiguration" } ], "properties": { "__type": { "const": "dk.cachet.carp.common.application.triggers.ElapsedTimeTrigger" }, "elapsedTime": { "format": "duration", "type": "string" } }, "required": [ "elapsedTime" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
922cbb43f408ee4d3171a10889f821601652923c
2022-02-01T13:04:22
rpc/schemas/studies/StudyStatus.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "Configuring": { "$anchor": "Configuring", "allOf": [ { "$ref": "#/$defs/StudyStatus" } ], "properties": { "$type": { "const": "dk.cachet.carp.studies.application.StudyStatus.Configuring" }, "canGoLive": { "type": "boolean" } }, "required": [ "canGoLive" ], "unevaluatedProperties": false }, "Live": { "$anchor": "Live", "allOf": [ { "$ref": "#/$defs/StudyStatus" } ], "properties": { "$type": { "const": "dk.cachet.carp.studies.application.StudyStatus.Live" } }, "unevaluatedProperties": false }, "StudyStatus": { "properties": { "canDeployToParticipants": { "type": "boolean" }, "canSetInvitation": { "type": "boolean" }, "canSetStudyProtocol": { "type": "boolean" }, "createdOn": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "studyId", "name", "createdOn", "canSetInvitation", "canSetStudyProtocol", "canDeployToParticipants" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/Configuring" }, { "$ref": "#/$defs/Live" } ] }
MIT
en
cph-cachet/carp.core-kotlin
58b889b65b6e2494791d0adbc2a5d2ae572f06ee
2022-04-04T10:00:19
rpc/schemas/common/users/ParticipantRole.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "isOptional": { "type": "boolean" }, "role": { "type": "string" } }, "required": [ "role", "isOptional" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
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": "MasterDeviceDescriptor.json#/$defs/MasterDeviceDescriptor" } ], "properties": { "$type": { "const": "dk.cachet.carp.common.application.devices.Smartphone" } }, "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
rpc/schemas/common/triggers/ScheduledTrigger.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "$ref": "Trigger.json#/$defs/Trigger" } ], "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
676925e9723857faeb828fdab576b1ff6ed02f73
2022-02-01T13:04:22
rpc/schemas/studies/StudyService/StudyServiceRequest.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "CreateStudy": { "$anchor": "CreateStudy", "Response": { "$anchor": "CreateStudy-Response", "$ref": "../StudyStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.CreateStudy" }, "description": { "type": [ "string", "null" ] }, "invitation": { "oneOff": [ { "type": "null" }, { "$ref": "../../deployments/users/StudyInvitation.json" } ] }, "name": { "type": "string" }, "ownerId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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" }, "ownerId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "studyId" ], "type": "object" }, "Remove": { "$anchor": "Remove", "Response": { "$anchor": "Remove-Response", "type": "boolean" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.studies.infrastructure.StudyServiceRequest.Remove" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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" }, "description": { "type": "string" }, "name": { "type": "string" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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" }, "invitation": { "$ref": "../../deployments/users/StudyInvitation.json" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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" }, "protocol": { "$ref": "../../protocols/StudyProtocolSnapshot.json" }, "studyId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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
7b9f0006e17a90fdcbc435a3a944877dd94185bc
2022-10-14T09:25:20
rpc/schemas/common/data/EDA.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.eda" }, "microSiemens": { "minimum": 0, "type": "number" } }, "required": [ "__type", "microSiemens" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
17153775ef281124fa73f312dfe73f8a92c8b040
2022-02-01T13:04:22
rpc/schemas/deployments/StudyDeploymentStatus.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "DeployingDevices": { "$anchor": "DeployingDevices", "properties": { "$type": { "const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.DeployingDevices" } }, "required": [ "$type" ], "type": "object" }, "Invited": { "$anchor": "Invited", "properties": { "$type": { "const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.Invited" } }, "required": [ "$type" ], "type": "object" }, "Running": { "$anchor": "Running", "properties": { "$type": { "const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.Running" }, "startedOn": { "format": "date-time", "type": "string" } }, "required": [ "$type" ], "type": "object" }, "Stopped": { "$anchor": "Stopped", "properties": { "$type": { "const": "dk.cachet.carp.deployments.application.StudyDeploymentStatus.Stopped" }, "stoppedOn": { "format": "date-time", "type": "string" } }, "required": [ "$type", "stoppedOn" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "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": [ "createdOn", "studyDeploymentId", "devicesStatus", "participantsStatus", "startedOn" ], "type": "object" }, { "oneOf": [ { "$ref": "#/$defs/Invited" }, { "$ref": "#/$defs/DeployingDevices" }, { "$ref": "#/$defs/Running" }, { "$ref": "#/$defs/Stopped" } ] } ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
664cd714e09c6edb0cc97d6b8368d76f4d0e8de3
2022-02-01T13:04:22
rpc/schemas/studies/users/Participant.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "accountIdentity": { "$ref": "../../common/users/AccountIdentity.json" }, "id": { "format": "uuid", "type": "string" } }, "required": [ "accountIdentity", "id" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
848ae2bf8cc30b9da448e82d414b94c649954243
2022-04-04T12:13:16
rpc/schemas/common/data/InterbeatInterval.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.interbeatinterval" } }, "required": [ "__type" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
55284d12439fc74b89e80301dd245877f7024c0b
2022-02-12T03:15:16
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#/$defs/DeviceConfiguration" } ], "properties": { "__type": { "const": "dk.cachet.carp.common.application.devices.BLEHeartRateDevice" } }, "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
7d6b495188dc7d135b667f7bedbd5ede9a8bea73
2022-03-01T14:39:21
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/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
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
rpc/schemas/studies/users/ParticipantGroupStatus.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "InDeployment": { "allOf": [ { "$ref": "#/$defs/ParticipantGroupStatus" } ], "properties": { "invitedOn": { "format": "date-time", "type": "string" }, "studyDeploymentStatus": { "$ref": "../../deployments/StudyDeploymentStatus.json" } }, "required": [ "invitedOn", "studyDeploymentStatus" ] }, "Invited": { "$anchor": "Invited", "allOf": [ { "$ref": "#/$defs/InDeployment" } ], "properties": { "$type": { "const": "dk.cachet.carp.studies.application.users.ParticipantGroupStatus.Invited" } }, "unevaluatedProperties": false }, "ParticipantGroupStatus": { "properties": { "$type": true, "id": { "format": "uuid", "type": "string" }, "participants": { "items": { "$ref": "../users/Participant.json" }, "type": "array" } }, "required": [ "$type", "id", "participants" ], "type": "object" }, "Running": { "$anchor": "DeployingDevices", "allOf": [ { "$ref": "#/$defs/InDeployment" } ], "properties": { "$type": { "const": "dk.cachet.carp.studies.application.users.ParticipantGroupStatus.Running" }, "startedOn": { "format": "date-time", "type": "string" } }, "required": [ "startedOn" ], "unevaluatedProperties": false }, "Staged": { "$anchor": "Staged", "allOf": [ { "$ref": "#/$defs/ParticipantGroupStatus" } ], "properties": { "$type": { "const": "dk.cachet.carp.studies.application.users.ParticipantGroupStatus.Staged" } }, "unevaluatedProperties": false }, "Stopped": { "$anchor": "Running", "allOf": [ { "$ref": "#/$defs/InDeployment" } ], "properties": { "$type": { "const": "dk.cachet.carp.studies.application.users.ParticipantGroupStatus.Stopped" }, "startedOn": { "oneOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ] }, "stoppedOn": { "format": "date-time", "type": "string" } }, "required": [ "startedOn", "stoppedOn" ], "unevaluatedProperties": false } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/Staged" }, { "$ref": "#/$defs/Invited" }, { "$ref": "#/$defs/Running" }, { "$ref": "#/$defs/Stopped" } ] }
MIT
en
cph-cachet/carp.core-kotlin
647b4583561f86893baafd78d498fc2c55a8f800
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": { "$type": true, "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
1741142df84715c6730605d7fa667286b8d23ea3
2022-04-03T18:15:36
rpc/schemas/common/data/Acceleration.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.acceleration" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "required": [ "__type", "x", "y", "z" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
7ea6ba7386abefcd3c8badf7fb9a6427f3de2b91
2022-02-01T13:04:22
rpc/schemas/data/DataStreamId.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" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "studyDeploymentId", "deviceRoleName", "dataType" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
e3c8f46fe0ea8793db5daad5025f1504ca9c70fc
2022-03-07T16:05:41
rpc/schemas/common/tasks/TaskConfiguration.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "TaskConfiguration": { "$anchor": "TaskConfiguration", "properties": { "__type": true, "description": { "type": [ "string", "null" ] }, "measures": { "items": { "$ref": "Measure.json" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "__type", "name" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "$ref": "#/$defs/TaskConfiguration" }, { "if": { "properties": { "__type": { "const": "dk.cachet.carp.common.application.tasks.BackgroundTask" } } }, "then": { "$ref": "BackgroundTask.json" } }, { "if": { "properties": { "__type": { "const": "dk.cachet.carp.common.application.tasks.CustomProtocolTask" } } }, "then": { "$ref": "CustomProtocolTask.json" } }, { "if": { "properties": { "__type": { "const": "dk.cachet.carp.common.application.tasks.WebTask" } } }, "then": { "$ref": "WebTask.json" } } ] }
MIT
en
cph-cachet/carp.core-kotlin
cc445ba45a90d832a7a53775967c78f27ed0dc6d
2022-02-01T13:04:22
rpc/schemas/common/Unit.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
be36946b0e6632fd8dbe8f18241eb6a34ad4b2e1
2022-10-07T12:15:04
rpc/schemas/common/data/EDA.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.eda" }, "microSiemens": { "minimum": 0, "type": "number" } }, "required": [ "__type", "microSiemens" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
rpc/schemas/common/users/ParticipantAttribute.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "CustomParticipantAttribute": { "$anchor": "CustomParticipantAttribute", "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.common.application.users.ParticipantAttribute.CustomParticipantAttribute" }, "input": { "$ref": "../../common/data/input/elements/InputElement.json" }, "inputDataType": { "$ref": "../../common/NamespacedId.json" } }, "required": [ "__type", "inputDataType", "input" ] }, "DefaultParticipantAttribute": { "$anchor": "DefaultParticipantAttribute", "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.common.application.users.ParticipantAttribute.DefaultParticipantAttribute" }, "inputDataType": { "$ref": "../../common/NamespacedId.json" } }, "required": [ "__type", "inputDataType" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/DefaultParticipantAttribute" }, { "$ref": "#/$defs/CustomParticipantAttribute" } ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
de9c1e79146d5cfa493c361e373121f11a70eb21
2022-02-11T22:23:59
rpc/schemas/deployments/DeploymentService/DeploymentServiceRequest.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "ApiVersion": { "const": "1.0" }, "CreateStudyDeployment": { "$anchor": "CreateStudyDeployment", "Response": { "$anchor": "CreateStudyDeployment-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.CreateStudyDeployment" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "connectedDevicePreregistrations": { "additionalProperties": { "$ref": "../../common/devices/DeviceRegistration.json" }, "type": "object" }, "id": { "format": "uuid", "type": "string" }, "invitations": { "items": { "$ref": "../users/ParticipantInvitation.json" }, "type": "array" }, "protocol": { "$ref": "../../protocols/StudyProtocolSnapshot.json" } }, "required": [ "$type", "apiVersion", "id", "protocol", "invitations", "connectedDevicePreregistrations" ], "type": "object" }, "DeviceDeployed": { "$anchor": "DeviceDeployed", "Response": { "$anchor": "DeviceDeployed-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.DeviceDeployed" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "deviceDeploymentLastUpdatedOn": { "format": "date-time", "type": "string" }, "masterDeviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "apiVersion", "studyDeploymentId", "masterDeviceRoleName", "deviceDeploymentLastUpdatedOn" ], "type": "object" }, "GetDeviceDeploymentFor": { "$anchor": "GetDeviceDeploymentFor", "Response": { "$anchor": "GetDeviceDeploymentFor-Response", "$ref": "../MasterDeviceDeployment.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetDeviceDeploymentFor" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "masterDeviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "apiVersion", "studyDeploymentId", "masterDeviceRoleName" ], "type": "object" }, "GetStudyDeploymentStatus": { "$anchor": "GetStudyDeploymentStatus", "Response": { "$anchor": "GetStudyDeploymentStatus-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetStudyDeploymentStatus" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "apiVersion", "studyDeploymentId" ], "type": "object" }, "GetStudyDeploymentStatusList": { "$anchor": "GetStudyDeploymentStatusList", "Response": { "$anchor": "GetStudyDeploymentStatusList-Response", "items": { "$ref": "../StudyDeploymentStatus.json" }, "type": "array" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetStudyDeploymentStatusList" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentIds": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "$type", "apiVersion", "studyDeploymentIds" ], "type": "object" }, "RegisterDevice": { "$anchor": "RegisterDevice", "Response": { "$anchor": "RegisterDevice-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.RegisterDevice" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "deviceRoleName": { "type": "string" }, "registration": { "$ref": "../../common/devices/DeviceRegistration.json" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "apiVersion", "studyDeploymentId", "deviceRoleName", "registration" ], "type": "object" }, "RemoveStudyDeployments": { "$anchor": "RemoveStudyDeployments", "Response": { "$anchor": "RemoveStudyDeployments-Response", "items": { "format": "uuid", "type": "string" }, "type": "array" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.RemoveStudyDeployments" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentIds": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "$type", "apiVersion", "studyDeploymentIds" ], "type": "object" }, "Stop": { "$anchor": "Stop", "Response": { "$anchor": "Stop-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.Stop" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "apiVersion", "studyDeploymentId" ], "type": "object" }, "UnregisterDevice": { "$anchor": "UnregisterDevice", "Response": { "$anchor": "UnregisterDevice-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "$type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.UnregisterDevice" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "deviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "apiVersion", "studyDeploymentId", "deviceRoleName" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/CreateStudyDeployment" }, { "$ref": "#/$defs/RemoveStudyDeployments" }, { "$ref": "#/$defs/GetStudyDeploymentStatus" }, { "$ref": "#/$defs/GetStudyDeploymentStatusList" }, { "$ref": "#/$defs/RegisterDevice" }, { "$ref": "#/$defs/UnregisterDevice" }, { "$ref": "#/$defs/GetDeviceDeploymentFor" }, { "$ref": "#/$defs/DeviceDeployed" }, { "$ref": "#/$defs/Stop" } ] }
MIT
en
cph-cachet/carp.core-kotlin
089dbc81087fc992ae24eb4311de3e259fd83020
2022-04-04T10:00:19
rpc/schemas/studies/users/AssignedParticipantRoles.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" } }, "required": [ "participantId", "assignedRoles" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
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.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" } }, { "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/deployments/DeploymentService/DeploymentServiceRequest.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "ApiVersion": { "const": "1.0" }, "CreateStudyDeployment": { "$anchor": "CreateStudyDeployment", "Response": { "$anchor": "CreateStudyDeployment-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.CreateStudyDeployment" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "connectedDevicePreregistrations": { "additionalProperties": { "$ref": "../../common/devices/DeviceRegistration.json" }, "type": "object" }, "id": { "format": "uuid", "type": "string" }, "invitations": { "items": { "$ref": "../users/ParticipantInvitation.json" }, "type": "array" }, "protocol": { "$ref": "../../protocols/StudyProtocolSnapshot.json" } }, "required": [ "__type", "apiVersion", "id", "protocol", "invitations", "connectedDevicePreregistrations" ], "type": "object" }, "DeviceDeployed": { "$anchor": "DeviceDeployed", "Response": { "$anchor": "DeviceDeployed-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.DeviceDeployed" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "deviceDeploymentLastUpdatedOn": { "format": "date-time", "type": "string" }, "masterDeviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId", "masterDeviceRoleName", "deviceDeploymentLastUpdatedOn" ], "type": "object" }, "GetDeviceDeploymentFor": { "$anchor": "GetDeviceDeploymentFor", "Response": { "$anchor": "GetDeviceDeploymentFor-Response", "$ref": "../MasterDeviceDeployment.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetDeviceDeploymentFor" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "masterDeviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId", "masterDeviceRoleName" ], "type": "object" }, "GetStudyDeploymentStatus": { "$anchor": "GetStudyDeploymentStatus", "Response": { "$anchor": "GetStudyDeploymentStatus-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetStudyDeploymentStatus" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId" ], "type": "object" }, "GetStudyDeploymentStatusList": { "$anchor": "GetStudyDeploymentStatusList", "Response": { "$anchor": "GetStudyDeploymentStatusList-Response", "items": { "$ref": "../StudyDeploymentStatus.json" }, "type": "array" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.GetStudyDeploymentStatusList" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentIds": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "__type", "apiVersion", "studyDeploymentIds" ], "type": "object" }, "RegisterDevice": { "$anchor": "RegisterDevice", "Response": { "$anchor": "RegisterDevice-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.RegisterDevice" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "deviceRoleName": { "type": "string" }, "registration": { "$ref": "../../common/devices/DeviceRegistration.json" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId", "deviceRoleName", "registration" ], "type": "object" }, "RemoveStudyDeployments": { "$anchor": "RemoveStudyDeployments", "Response": { "$anchor": "RemoveStudyDeployments-Response", "items": { "format": "uuid", "type": "string" }, "type": "array" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.RemoveStudyDeployments" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentIds": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "__type", "apiVersion", "studyDeploymentIds" ], "type": "object" }, "Stop": { "$anchor": "Stop", "Response": { "$anchor": "Stop-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.Stop" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId" ], "type": "object" }, "UnregisterDevice": { "$anchor": "UnregisterDevice", "Response": { "$anchor": "UnregisterDevice-Response", "$ref": "../StudyDeploymentStatus.json" }, "additionalProperties": false, "properties": { "__type": { "const": "dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest.UnregisterDevice" }, "apiVersion": { "$ref": "#/$defs/ApiVersion" }, "deviceRoleName": { "type": "string" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "__type", "apiVersion", "studyDeploymentId", "deviceRoleName" ], "type": "object" } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/CreateStudyDeployment" }, { "$ref": "#/$defs/RemoveStudyDeployments" }, { "$ref": "#/$defs/GetStudyDeploymentStatus" }, { "$ref": "#/$defs/GetStudyDeploymentStatusList" }, { "$ref": "#/$defs/RegisterDevice" }, { "$ref": "#/$defs/UnregisterDevice" }, { "$ref": "#/$defs/GetDeviceDeploymentFor" }, { "$ref": "#/$defs/DeviceDeployed" }, { "$ref": "#/$defs/Stop" } ] }
MIT
en
cph-cachet/carp.core-kotlin
b194b814525d96fb33748ffe85be746625c99e80
2022-02-01T13:04:22
rpc/schemas/deployments/ParticipationService/ParticipationServiceRequest.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "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" } }, "required": [ "$type", "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" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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" }, "studyDeploymentIds": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "$type", "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" }, "data": { "$ref": "../users/ParticipantDataMap.json" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "$type", "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
647b4583561f86893baafd78d498fc2c55a8f800
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": [ { "properties": { "$type": { "$ref": "../NamespacedId.json" } }, "required": [ "$type" ], "type": "object" }, { "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" } }, { "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/BLESerialNumberDeviceRegistration.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "$ref": "DeviceRegistration.json#DeviceRegistration" } ], "properties": { "serialNumber": { "type": "string" } }, "required": [ "serialNumber" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
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/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
2424b917ec88d0f462831e39d348b7c6788f2949
2022-04-04T10:00:19
rpc/schemas/common/users/ExpectedParticipantData.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "assignedTo": { "$ref": "AssignedTo.json" }, "attribute": { "$ref": "ParticipantAttribute.json" } }, "required": [ "attribute" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
b194b814525d96fb33748ffe85be746625c99e80
2022-02-01T13:04:22
rpc/schemas/deployments/users/ParticipantData.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "data": { "$ref": "../users/ParticipantDataMap.json" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "studyDeploymentId", "data" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
rpc/schemas/common/TimeOfDay.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "pattern": "^\\d\\d:\\d\\d:\\d\\d$", "type": "string" }
MIT
en
cph-cachet/carp.core-kotlin
6f4cf2937110abb4d01389e55ac9cf429465c0cc
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" }, "assignedDevices": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "type": "object" }, "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/ExpectedParticipantData.json" }, "type": "array" }, "id": { "format": "uuid", "type": "string" }, "name": { "type": "string" }, "ownerId": { "format": "uuid", "type": "string" }, "participantRoles": { "items": { "$ref": "../common/users/ParticipantRole.json" }, "type": "array" }, "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
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
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": "DeviceDescriptor.json#/$defs/DeviceDescriptor" } ], "properties": { "__type": { "const": "dk.cachet.carp.common.application.devices.AltBeacon" } }, "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
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" }, "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
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
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
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
rpc/schemas/common/triggers/ManualTrigger.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "$ref": "Trigger.json#/$defs/Trigger" } ], "properties": { "$type": { "const": "dk.cachet.carp.common.application.triggers.ManualTrigger" }, "description": { "type": [ "string", "null" ] }, "label": { "type": "string" } }, "required": [ "label" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
62918eccff5578579d1d07db744635d33102ef04
2022-02-01T13:04:22
rpc/schemas/common/data/AngularVelocity.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.angularvelocity" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "required": [ "$type", "x", "y", "z" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
4a7fe521b7dda62181c6e1a8acaadc11bb581934
2022-10-05T13:15:55
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.1" }, "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
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
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#/$defs/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
863b82628f6f7e8e25aead40ed844c119eb8e52a
2022-02-11T23:02:59
rpc/schemas/studies/users/ParticipantGroupStatus.json
20
2024-05-28T05:19:53.327709Z
{ "$defs": { "InDeployment": { "allOf": [ { "$ref": "#/$defs/ParticipantGroupStatus" } ], "properties": { "invitedOn": { "format": "date-time", "type": "string" }, "studyDeploymentStatus": { "$ref": "../../deployments/StudyDeploymentStatus.json" } }, "required": [ "invitedOn", "studyDeploymentStatus" ] }, "Invited": { "$anchor": "Invited", "allOf": [ { "$ref": "#/$defs/InDeployment" } ], "properties": { "__type": { "const": "dk.cachet.carp.studies.application.users.ParticipantGroupStatus.Invited" } }, "unevaluatedProperties": false }, "ParticipantGroupStatus": { "properties": { "__type": true, "id": { "format": "uuid", "type": "string" }, "participants": { "items": { "$ref": "../users/Participant.json" }, "type": "array" } }, "required": [ "__type", "id", "participants" ], "type": "object" }, "Running": { "$anchor": "DeployingDevices", "allOf": [ { "$ref": "#/$defs/InDeployment" } ], "properties": { "__type": { "const": "dk.cachet.carp.studies.application.users.ParticipantGroupStatus.Running" }, "startedOn": { "format": "date-time", "type": "string" } }, "required": [ "startedOn" ], "unevaluatedProperties": false }, "Staged": { "$anchor": "Staged", "allOf": [ { "$ref": "#/$defs/ParticipantGroupStatus" } ], "properties": { "__type": { "const": "dk.cachet.carp.studies.application.users.ParticipantGroupStatus.Staged" } }, "unevaluatedProperties": false }, "Stopped": { "$anchor": "Running", "allOf": [ { "$ref": "#/$defs/InDeployment" } ], "properties": { "__type": { "const": "dk.cachet.carp.studies.application.users.ParticipantGroupStatus.Stopped" }, "startedOn": { "oneOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ] }, "stoppedOn": { "format": "date-time", "type": "string" } }, "required": [ "startedOn", "stoppedOn" ], "unevaluatedProperties": false } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "oneOf": [ { "$ref": "#/$defs/Staged" }, { "$ref": "#/$defs/Invited" }, { "$ref": "#/$defs/Running" }, { "$ref": "#/$defs/Stopped" } ] }
MIT
en
cph-cachet/carp.core-kotlin
7ea6ba7386abefcd3c8badf7fb9a6427f3de2b91
2022-02-01T13:04:22
rpc/schemas/data/DataStreamsConfiguration.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "properties": { "expectedDataStreams": { "items": { "$ref": "ExpectedDataStream.json" }, "type": "array" }, "studyDeploymentId": { "format": "uuid", "type": "string" } }, "required": [ "studyDeploymentId" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
f938c7adb61b9c7b24ca2a353570c340d8a173e1
2022-04-04T10:00:19
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": { "assignedRoles": { "$ref": "../../common/users/AssignedTo.json" }, "identity": { "$ref": "../../common/users/AccountIdentity.json" }, "invitation": { "$ref": "../users/StudyInvitation.json" }, "participantId": { "format": "uuid", "type": "string" } }, "required": [ "participantId", "assignedRoles", "identity", "invitation" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
rpc/schemas/common/devices/MACAddressDeviceRegistration.json
20
2024-05-28T05:19:53.327709Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ { "$ref": "DeviceRegistration.json#/$defs/DeviceRegistration" } ], "properties": { "macAddress": { "type": "string" } }, "required": [ "macAddress" ], "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
17153775ef281124fa73f312dfe73f8a92c8b040
2022-02-01T13:04:22
rpc/schemas/deployments/users/StudyInvitation.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" }, "description": { "type": [ "string", "null" ] }, "name": { "type": "string" } }, "required": [ "name" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
17153775ef281124fa73f312dfe73f8a92c8b040
2022-02-01T13:04:22
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": { "assignedMasterDeviceRoleNames": { "items": { "type": "string" }, "type": "array" }, "participantId": { "format": "uuid", "type": "string" } }, "required": [ "participantId", "assignedMasterDeviceRoleNames" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
f938c7adb61b9c7b24ca2a353570c340d8a173e1
2022-04-04T10:00:19
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": { "assignedParticipantRoles": { "$ref": "../../common/users/AssignedTo.json" }, "assignedPrimaryDeviceRoleNames": { "items": { "type": "string" }, "type": "array" }, "participantId": { "format": "uuid", "type": "string" } }, "required": [ "participantId", "assignedParticipantRoles", "assignedPrimaryDeviceRoleNames" ], "type": "object" }
MIT
en
cph-cachet/carp.core-kotlin
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
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": "DeviceDescriptor.json#/$defs/DeviceDescriptor" } ], "properties": { "$type": { "const": "dk.cachet.carp.common.application.devices.AltBeacon" } }, "type": "object", "unevaluatedProperties": false }
MIT
en
cph-cachet/carp.core-kotlin
62918eccff5578579d1d07db744635d33102ef04
2022-02-01T13:04:22
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
647b4583561f86893baafd78d498fc2c55a8f800
2022-02-01T13:04:22
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#/$defs/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
7b9f0006e17a90fdcbc435a3a944877dd94185bc
2022-10-14T09:25:20
rpc/schemas/common/data/Acceleration.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.acceleration" }, "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/SignalStrength.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.signalstrength" }, "rssi": { "$ref": "../Short.json" } }, "required": [ "__type", "rssi" ], "type": "object", "unevaluatedProperties": false }
MIT
en