-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #369 from redlink-gmbh/Feature_MORE2-1_dynamic-stu…
…dy-start Feature dynamic study start
- Loading branch information
Showing
27 changed files
with
2,377 additions
and
1,051 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
Large diffs are not rendered by default.
Oops, something went wrong.
80 changes: 80 additions & 0 deletions
80
docs/gherkin/relative-scheduler_manual-integration-test.md
Large diffs are not rendered by default.
Oops, something went wrong.
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,62 @@ | ||
openapi: "3.0.3" | ||
info: | ||
title: TimeRange Model for Relative Events | ||
version: "1.0" | ||
|
||
components: | ||
schemas: | ||
Duration: | ||
type: object | ||
description: A duration of time | ||
properties: | ||
value: | ||
type: integer | ||
description: number of units | ||
unit: | ||
type: string | ||
description: unit of time | ||
enum: | ||
- MINUTE | ||
- HOUR | ||
- DAY | ||
RelativeDate: | ||
type: object | ||
description: A date relative to a specific base date (e.g study start) | ||
properties: | ||
offset: | ||
$ref: '#/components/schemas/Duration' | ||
time: | ||
type: string | ||
format: time | ||
description: Follows ISO 8601 format for time | ||
RelativeRecurrenceRule: | ||
type: object | ||
description: A recurrence rule relative to dtstart | ||
properties: | ||
frequency: | ||
$ref: '#/components/schemas/Duration' | ||
description: How often to repeat | ||
endAfter: | ||
$ref: '#/components/schemas/Duration' | ||
description: How long to repeat | ||
|
||
RelativeEvent: | ||
type: object | ||
description: An event that occurs at a relative time | ||
required: | ||
- type | ||
- dtstart | ||
- dtend | ||
properties: | ||
type: | ||
type: string | ||
default: RelativeEvent | ||
dtstart: | ||
$ref: '#/components/schemas/RelativeDate' | ||
description: When the event starts | ||
dtend: | ||
$ref: '#/components/schemas/RelativeDate' | ||
description: When the event ends | ||
rrrule: | ||
$ref: '#/components/schemas/RelativeRecurrenceRule' | ||
description: How to repeat the event |
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
Oops, something went wrong.