Skip to content
Snippets Groups Projects
Unverified Commit 98761493 authored by CWA Technical User's avatar CWA Technical User Committed by GitHub
Browse files

Protocol Buffer update for release 1.8.x (DEV)

parent 7821c7e9
No related branches found
No related tags found
No related merge requests found
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.v2;
import "internal/v2/app_features.proto";
import "internal/v2/exposure_detection_parameters.proto";
import "internal/v2/key_download_parameters.proto";
import "internal/v2/risk_calculation_parameters.proto";
message ApplicationConfigurationAndroid {
// Android apps are versioned by Version Code and not by Semantic Versioning
int64 minVersionCode = 1;
int64 latestVersionCode = 2;
AppFeatures appFeatures = 3;
repeated string supportedCountries = 4;
KeyDownloadParametersAndroid keyDownloadParameters = 5;
ExposureDetectionParametersAndroid exposureDetectionParameters = 6;
RiskCalculationParameters riskCalculationParameters = 7;
DiagnosisKeysDataMapping diagnosisKeysDataMapping = 8;
DailySummariesConfig dailySummariesConfig = 9;
}
message DiagnosisKeysDataMapping {
map<int32, int32> daysSinceOnsetToInfectiousness = 1;
int32 infectiousnessWhenDaysSinceOnsetMissing = 2;
int32 reportTypeWhenMissing = 3;
}
message DailySummariesConfig {
repeated int32 attenuationBucketThresholdDb = 1;
repeated double attenuationBucketWeights = 2;
int32 daysSinceExposureThreshold = 3;
map<int32, double> infectiousnessWeights = 4;
double minimumWindowScore = 5;
map<int32, double> reportTypeWeights = 6;
}
\ 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/app_features.proto";
import "internal/v2/exposure_detection_parameters.proto";
import "internal/v2/key_download_parameters.proto";
import "internal/v2/risk_calculation_parameters.proto";
import "internal/v2/semantic_version.proto";
message ApplicationConfigurationIOS {
SemanticVersion minVersion = 1;
SemanticVersion latestVersion = 2;
AppFeatures appFeatures = 3;
repeated string supportedCountries = 4;
KeyDownloadParametersIOS keyDownloadParameters = 5;
ExposureDetectionParametersIOS exposureDetectionParameters = 6;
RiskCalculationParameters riskCalculationParameters = 7;
ExposureConfiguration exposureConfiguration = 8;
}
message ExposureConfiguration {
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
int32 reportTypeNoneMap = 2;
repeated int32 attenuationDurationThresholds = 3;
double immediateDurationWeight = 4;
double mediumDurationWeight = 5;
double nearDurationWeight = 6;
double otherDurationWeight = 7;
int32 daysSinceLastExposureThreshold = 8;
double infectiousnessStandardWeight = 9;
double infectiousnessHighWeight = 10;
double reportTypeConfirmedTestWeight = 11;
double reportTypeConfirmedClinicalDiagnosisWeight = 12;
double reportTypeSelfReportedWeight = 13;
double reportTypeRecursiveWeight = 14;
}
\ 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;
message AppFeatures {
repeated AppFeature appFeatures = 1;
}
message AppFeature {
string label = 1;
int32 value = 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;
message ExposureDetectionParametersIOS {
int32 maxExposureDetectionsPerInterval = 1;
}
message ExposureDetectionParametersAndroid {
int32 maxExposureDetectionsPerInterval = 1;
int32 overallTimeoutInSeconds = 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;
message KeyDownloadParametersIOS {
repeated DayPackageMetadata cachedDayPackagesToUpdateOnETagMismatch = 1;
repeated HourPackageMetadata cachedHourPackagesToUpdateOnETagMismatch = 2;
}
message KeyDownloadParametersAndroid {
repeated DayPackageMetadata cachedDayPackagesToUpdateOnETagMismatch = 1;
repeated HourPackageMetadata cachedHourPackagesToUpdateOnETagMismatch = 2;
int32 downloadTimeoutInSeconds = 3;
int32 overallTimeoutInSeconds = 4;
}
message DayPackageMetadata {
string region = 1;
string date = 2;
string etag = 3;
}
message HourPackageMetadata {
string region = 1;
string date = 2;
int32 hour = 3;
string etag = 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.v2;
message RiskCalculationParameters {
repeated MinutesAtAttenuationFilter minutesAtAttenuationFilters = 1;
repeated TrlFilter trlFilters = 2;
repeated MinutesAtAttenuationWeight minutesAtAttenuationWeights = 3;
repeated NormalizedTimeToRiskLevelMapping normalizedTimePerEWToRiskLevelMapping = 4;
repeated NormalizedTimeToRiskLevelMapping normalizedTimePerDayToRiskLevelMapping = 5;
TransmissionRiskLevelEncoding trlEncoding = 6;
double transmissionRiskLevelMultiplier = 7;
}
message Range {
// The lower limit of the range
double min = 1;
// True if `min` is not part of the range, false otherwise
bool minExclusive = 2;
// The upper limit of the range
double max = 3;
// True if `max` is not part of the range, false otherwise
bool maxExclusive = 4;
}
message MinutesAtAttenuationFilter {
Range attenuationRange = 1;
Range dropIfMinutesInRange = 2;
}
message TrlFilter {
Range dropIfTrlInRange = 1;
}
message MinutesAtAttenuationWeight {
Range attenuationRange = 1;
double weight = 2;
}
message NormalizedTimeToRiskLevelMapping {
Range normalizedTimeRange = 1;
enum RiskLevel {
UNSPECIFIED = 0;
LOW = 1;
HIGH = 2;
}
RiskLevel riskLevel = 2;
}
message TransmissionRiskLevelEncoding {
int32 infectiousnessOffsetStandard = 1;
int32 infectiousnessOffsetHigh = 2;
int32 reportTypeOffsetRecursive = 3;
int32 reportTypeOffsetSelfReport = 4;
int32 reportTypeOffsetConfirmedClinicalDiagnosis = 5;
int32 reportTypeOffsetConfirmedTest = 6;
}
\ 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;
message SemanticVersion {
uint32 major = 1;
uint32 minor = 2;
uint32 patch = 3;
}
\ 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