diff --git a/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/submission_payload.proto b/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/submission_payload.proto index 48c5623c48..309d803274 100644 --- a/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/submission_payload.proto +++ b/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/submission_payload.proto @@ -19,5 +19,11 @@ message SubmissionPayload { SUBMISSION_TYPE_PCR_TEST = 0; SUBMISSION_TYPE_RAPID_TEST = 1; SUBMISSION_TYPE_HOST_WARNING = 2; + SUBMISSION_TYPE_SRS_SELF_TEST = 3; + SUBMISSION_TYPE_SRS_RAT = 4; + SUBMISSION_TYPE_SRS_REGISTERED_PCR = 5; + SUBMISSION_TYPE_SRS_UNREGISTERED_PCR = 6; + SUBMISSION_TYPE_SRS_RAPID_PCR = 7; + SUBMISSION_TYPE_SRS_OTHER = 8; } } diff --git a/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/app_config_android.proto b/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/app_config_android.proto index 1fee4433a5..b8f3434698 100644 --- a/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/app_config_android.proto +++ b/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/app_config_android.proto @@ -10,6 +10,7 @@ import "app/coronawarn/server/common/protocols/internal/v2/key_download_paramete import "app/coronawarn/server/common/protocols/internal/v2/ppdd_edus_parameters.proto"; import "app/coronawarn/server/common/protocols/internal/v2/ppdd_els_parameters.proto"; import "app/coronawarn/server/common/protocols/internal/v2/ppdd_ppa_parameters.proto"; +import "app/coronawarn/server/common/protocols/internal/v2/ppdd_srs_parameters.proto"; import "app/coronawarn/server/common/protocols/internal/v2/presence_tracing_parameters.proto"; import "app/coronawarn/server/common/protocols/internal/v2/risk_calculation_parameters.proto"; @@ -41,6 +42,8 @@ message ApplicationConfigurationAndroid { CoronaTestParameters coronaTestParameters = 14; DGCParameters dgcParameters = 15; + + PPDDSelfReportSubmissionParametersAndroid selfReportParameters = 16; } message DiagnosisKeysDataMapping { diff --git a/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/app_config_ios.proto b/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/app_config_ios.proto index 1727cebb14..8a81bca12a 100644 --- a/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/app_config_ios.proto +++ b/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/app_config_ios.proto @@ -10,6 +10,7 @@ import "app/coronawarn/server/common/protocols/internal/v2/key_download_paramete import "app/coronawarn/server/common/protocols/internal/v2/ppdd_edus_parameters.proto"; import "app/coronawarn/server/common/protocols/internal/v2/ppdd_els_parameters.proto"; import "app/coronawarn/server/common/protocols/internal/v2/ppdd_ppa_parameters.proto"; +import "app/coronawarn/server/common/protocols/internal/v2/ppdd_srs_parameters.proto"; import "app/coronawarn/server/common/protocols/internal/v2/risk_calculation_parameters.proto"; import "app/coronawarn/server/common/protocols/internal/v2/presence_tracing_parameters.proto"; import "app/coronawarn/server/common/protocols/internal/v2/semantic_version.proto"; @@ -40,6 +41,8 @@ message ApplicationConfigurationIOS { CoronaTestParameters coronaTestParameters = 13; DGCParameters dgcParameters = 14; + + PPDDSelfReportSubmissionParametersIOS selfReportParameters = 15; } message ExposureConfiguration { diff --git a/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/ppdd_srs_parameters.proto b/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/ppdd_srs_parameters.proto new file mode 100644 index 0000000000..ba1f39bd81 --- /dev/null +++ b/common/protocols/src/main/proto/app/coronawarn/server/common/protocols/internal/v2/ppdd_srs_parameters.proto @@ -0,0 +1,20 @@ +// This file is auto-generated, DO NOT make any changes here +syntax = "proto3"; +package app.coronawarn.server.common.protocols.internal.v2; +option java_multiple_files = true; +import "app/coronawarn/server/common/protocols/internal/v2/ppdd_ppac_parameters.proto"; + +message PPDDSelfReportSubmissionParametersIOS { + PPDDSelfReportSubmissionParametersCommon common = 1; + PPDDPrivacyPreservingAccessControlParametersIOS ppac = 2; +} + +message PPDDSelfReportSubmissionParametersAndroid { + PPDDSelfReportSubmissionParametersCommon common = 1; + PPDDPrivacyPreservingAccessControlParametersAndroid ppac = 2; +} + +message PPDDSelfReportSubmissionParametersCommon { + int32 timeSinceOnboardingInHours = 1; + int32 timeBetweenSubmissionsInDays = 2; +} \ No newline at end of file