Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 3.17 KB

carp-data.md

File metadata and controls

33 lines (23 loc) · 3.17 KB

carp.data Maven Central Sonatype Nexus (Snapshots)

Contains all pseudonymized data. When combined with the original study protocol, the full provenance of the data (when/why it was collected) is known.

Data streams

Measurement's contain measured Data at a specific point or interval in time. Measurement's of the same DataType coming from the same device in a study deployment are aggregated in data streams, identified by DataStreamId.

Data streams are made up out of DataStreamPoint's. Multiple subsequent DataStreamPoint's can be stored as DataStreamSequence, which all share the same SyncPoint and reference to TriggerConfigurations which requested the data to be collected. To aggregate multiple DataStreamSequence's of one or more data streams, e.g., to prepare for data upload, DataStreamBatch can be used.

Data stream object model

Application services

The 'Require' and 'Grant' column lists claim-based authorization recommendations for implementing infrastructures. Respectively, the required claims and claims to grant upon a successful request.

Store and retrieve DataStreamPoints for study deployments.

Endpoint Description Require Grant
openDataStreams Start accepting data for a specific study deployment. manage deployment: studyDeploymentId
appendToDataStreams Append a batch of data point sequences to corresponding data streams. in deployment: studyDeploymentId
getDataStream Retrieve all data points in data stream that fall within the requested range. in deployment: dataStream.studyDeploymentId
closeDataStreams Stop accepting data for specified study deployments. manage deployment: (all) studyDeploymentId
removeDataStreams Close data streams and remove all data for specified study deployments. manage deployment: (all) studyDeploymentId