forked from datacontract/datacontract-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTML export service levels (datacontract#192)
* Added service level property to data contract specification. * Add blocks for the servicelevel definitions --------- Co-authored-by: Joachim Praetorius <[email protected]>
- Loading branch information
1 parent
a9b51e0
commit 82fbc87
Showing
4 changed files
with
345 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
dataContractSpecification: 0.9.2 | ||
id: "61111-0002" | ||
info: | ||
title: "Verbraucherpreisindex: Deutschland, Monate" | ||
description: A data contract for the distribution and use of the German Consumer Price Index data. | ||
version: 1.0.0 | ||
owner: my-domain-team | ||
models: | ||
verbraucherpreisindex: | ||
description: Model representing the Consumer Price Index for Germany | ||
fields: | ||
wert: | ||
description: Value of the Consumer Price Index | ||
type: integer | ||
required: true | ||
jahrMonat: | ||
description: Year and month of the data | ||
type: string | ||
required: true | ||
qualitaet: | ||
description: Quality of the data | ||
type: string | ||
enum: | ||
- "vorlaeufig" | ||
- "endgueltig" | ||
verarbeitet: | ||
description: Time when this dataset was processed, year and month | ||
type: string | ||
|
||
examples: | ||
- type: json | ||
description: Example entry for CPI data | ||
model: verbraucherpreisindex | ||
data: |- | ||
[{ "wert": 99, "jahrMonat": "2022-00", "verarbeitet": "2022-01" }, | ||
{ "wert": 100, "jahrMonat": "2022-01", "verarbeitet": "2022-02" }, | ||
{ "wert": 101, "jahrMonat": "2022-02", "qualitaet": "vorlaeufig", "verarbeitet": "2022-03" }] | ||
servicelevels: | ||
availability: | ||
percentage: "99.9%" | ||
retention: | ||
period: P5Y | ||
timestampField: jahrMonat | ||
latency: | ||
threshold: P1M | ||
sourceTimestampField: verarbeitet | ||
freshness: | ||
threshold: P1M | ||
timestampField: verarbeitet | ||
frequency: | ||
type: streaming | ||
support: | ||
time: 24/7 | ||
responseTime: P1h | ||
backup: | ||
interval: daily | ||
recoveryTime: 2 hours |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters