Skip to content
Snippets Groups Projects
Unverified Commit 9b2c87c1 authored by CWA Technical User's avatar CWA Technical User Committed by GitHub
Browse files
parent c4d202cb
No related branches found
No related tags found
No related merge requests found
Showing
with 177 additions and 5 deletions
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.evreg;
import "internal/evreg/signed_event.proto";
message CheckIn {
uint32 trl = 1;
SignedEvent signedEvent = 2;
uint32 checkinTime = 3;
uint32 checkoutTime = 4;
}
message CheckInOption1 {
uint32 trl = 1;
bytes eventKey = 2; // 16 byte random string
uint32 checkinTime = 3;
uint32 checkoutTime = 4;
}
message CheckInOption2 {
uint32 trl = 1;
bytes rei = 2; // 16 byte random string
}
message CheckInOption3 {
uint32 trl = 1;
bytes checkinRei = 2; // 16 byte random string
bytes checkoutRei = 3; // 16 byte random string
}
message CheckInOption4 {
uint32 trl = 1;
SignedEvent signedEvent = 2;
uint32 checkinTime = 3;
uint32 checkoutTime = 4;
}
\ No newline at end of file
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.evreg;
import "internal/evreg/check_in.proto";
message CheckInExport {
repeated CheckInExportItem checkIns = 1;
}
message CheckInExportItem {
uint32 trl = 1;
bytes eventKey = 2; // 16 byte random string
uint32 checkinTime = 3;
uint32 checkoutTime = 4;
}
message CheckInExportOption1 {
repeated CheckInOption1 checkIns = 1;
}
message CheckInExportOption2 {
repeated CheckInOption2 checkIns = 1;
}
message CheckInExportOption3 {
repeated CheckInOption3 checkIns = 1;
}
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.evreg;
message Event {
bytes guid = 1;
string description = 2;
uint32 start = 3;
uint32 end = 4;
uint32 defaultCheckInLengthInMinutes = 5;
}
\ No newline at end of file
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.evreg;
import "internal/evreg/event.proto";
message SignedEvent {
Event event = 1;
bytes signature = 2;
}
\ No newline at end of file
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.ppdd;
message ELSOneTimePassword {
string otp = 1;
}
\ No newline at end of file
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.ppdd;
import "internal/ppdd/ppac_android.proto";
import "internal/ppdd/els_otp.proto";
message ELSOneTimePasswordRequestAndroid {
PPACAndroid authentication = 1;
ELSOneTimePassword payload = 2;
}
\ No newline at end of file
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.ppdd;
import "internal/ppdd/ppac_ios.proto";
import "internal/ppdd/els_otp.proto";
message ELSOneTimePasswordRequestIOS {
PPACIOS authentication = 1;
ELSOneTimePassword payload = 2;
}
\ No newline at end of file
......@@ -10,4 +10,4 @@ message PPADataRequestAndroid {
PPACAndroid authentication = 1;
PPADataAndroid payload = 2;
}
\ No newline at end of file
}
......@@ -10,4 +10,4 @@ message PPADataRequestIOS {
PPACIOS authentication = 1;
PPADataIOS payload = 2;
}
\ No newline at end of file
}
......@@ -8,4 +8,4 @@ message PPACAndroid {
string safetyNetJws = 1;
string salt = 2;
}
\ No newline at end of file
}
......@@ -8,4 +8,4 @@ message PPACIOS {
string deviceToken = 1;
string apiToken = 2;
}
\ No newline at end of file
}
......@@ -3,6 +3,7 @@ syntax = "proto2";
package de.rki.coronawarnapp.server.protocols.internal;
import "external/exposurenotification/temporary_exposure_key_export.proto";
import "internal/evreg/check_in.proto";
message SubmissionPayload {
repeated de.rki.coronawarnapp.server.protocols.external.exposurenotification.TemporaryExposureKey keys = 1;
......@@ -10,4 +11,5 @@ message SubmissionPayload {
repeated string visitedCountries = 3;
optional string origin = 4;
optional bool consentToFederation = 5;
repeated de.rki.coronawarnapp.server.protocols.internal.evreg.CheckIn checkIns = 6;
}
......@@ -3,9 +3,11 @@ syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.v2;
import "internal/v2/app_features.proto";
import "internal/v2/event_registration_parameters.proto";
import "internal/v2/exposure_detection_parameters.proto";
import "internal/v2/key_download_parameters.proto";
import "internal/v2/ppdd_edus_parameters.proto";
import "internal/v2/ppdd_els_parameters.proto";
import "internal/v2/ppdd_ppa_parameters.proto";
import "internal/v2/risk_calculation_parameters.proto";
......@@ -30,6 +32,9 @@ message ApplicationConfigurationAndroid {
PPDDEventDrivenUserSurveyParametersAndroid eventDrivenUserSurveyParameters = 10;
PPDDPrivacyPreservingAnalyticsParametersAndroid privacyPreservingAnalyticsParameters = 11;
PPDDErrorLogSharingParametersAndroid errorLogSharingParameters = 12;
EventRegistrationParameters eventRegistrationParameters = 13;
}
message DiagnosisKeysDataMapping {
......
......@@ -3,9 +3,11 @@ syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.v2;
import "internal/v2/app_features.proto";
import "internal/v2/event_registration_parameters.proto";
import "internal/v2/exposure_detection_parameters.proto";
import "internal/v2/key_download_parameters.proto";
import "internal/v2/ppdd_edus_parameters.proto";
import "internal/v2/ppdd_els_parameters.proto";
import "internal/v2/ppdd_ppa_parameters.proto";
import "internal/v2/risk_calculation_parameters.proto";
import "internal/v2/semantic_version.proto";
......@@ -29,6 +31,9 @@ message ApplicationConfigurationIOS {
PPDDEventDrivenUserSurveyParametersIOS eventDrivenUserSurveyParameters = 9;
PPDDPrivacyPreservingAnalyticsParametersIOS privacyPreservingAnalyticsParameters = 10;
PPDDErrorLogSharingParametersIOS errorLogSharingParameters = 11;
EventRegistrationParameters eventRegistrationParameters = 12;
}
message ExposureConfiguration {
......
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.v2;
import "internal/v2/risk_calculation_parameters.proto";
message EventRegistrationParameters {
// Note: this is very much work in progress!
// repeated TransmissionRiskValueMapping transmissionRiskValueMapping = 1;
// repeated NormalizedTimeToRiskLevelMapping normalizedTimePerCheckInToRiskLevelMapping = 2;
}
\ No newline at end of file
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.v2;
import "internal/v2/ppdd_ppac_parameters.proto";
message PPDDErrorLogSharingParametersIOS {
PPDDErrorLogSharingParametersCommon common = 1;
PPDDPrivacyPreservingAccessControlParametersIOS ppac = 2;
}
message PPDDErrorLogSharingParametersAndroid {
PPDDErrorLogSharingParametersCommon common = 1;
PPDDPrivacyPreservingAccessControlParametersAndroid ppac = 2;
}
message PPDDErrorLogSharingParametersCommon {
}
\ No newline at end of file
......@@ -17,7 +17,9 @@ message RiskCalculationParameters {
TransmissionRiskLevelEncoding trlEncoding = 6;
double transmissionRiskLevelMultiplier = 7;
double transmissionRiskLevelMultiplier = 7 [deprecated = true];
repeated TransmissionRiskValueMapping transmissionRiskValueMapping = 8;
}
message Range {
......@@ -62,4 +64,9 @@ message TransmissionRiskLevelEncoding {
int32 reportTypeOffsetSelfReport = 4;
int32 reportTypeOffsetConfirmedClinicalDiagnosis = 5;
int32 reportTypeOffsetConfirmedTest = 6;
}
message TransmissionRiskValueMapping {
int32 transmissionRiskLevel = 1;
double transmissionRiskValue = 2;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment