-
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.
* new resource-id schema to distinguish power system resources from generic objects in the description / example * allow for multiple overrides per limit * include entire segment rating in considered-proposals * some minor schema refactoring
- Loading branch information
1 parent
5fda9ff
commit db94446
Showing
14 changed files
with
104 additions
and
63 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
45 changes: 19 additions & 26 deletions
45
docs/_data/components/schemas/array-max-forecast-periods.yaml
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 |
---|---|---|
@@ -1,48 +1,41 @@ | ||
forecast-limit-item: | ||
forecast-limit-item: &limit | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
transmission-facility-id: | ||
$ref: ./generic-identifier.yaml | ||
periods: &max | ||
resource-id: &id | ||
$ref: ./resource-id.yaml | ||
periods: &periods | ||
type: array | ||
maxItems: 240 | ||
items: | ||
$ref: 'forecast-limit-period.yaml#/forecast-period-snapshot-slim' | ||
$ref: 'forecast-limit-period.yaml#/snapshot-slim' | ||
required: | ||
- resource-id | ||
- periods | ||
|
||
forecast-limit-item-detailed: | ||
type: object | ||
additionalProperties: false | ||
<<: *limit | ||
properties: | ||
transmission-facility-id: | ||
$ref: ./generic-identifier.yaml | ||
resource-id: *id | ||
periods: | ||
<<: *max | ||
<<: *periods | ||
items: | ||
$ref: 'forecast-limit-period.yaml#/forecast-period-snapshot-detailed' | ||
$ref: 'forecast-limit-period.yaml#/snapshot-detailed' | ||
|
||
resource-forecast-proposal: | ||
type: object | ||
additionalProperties: false | ||
<<: *limit | ||
properties: | ||
resource-id: | ||
$ref: ./generic-identifier.yaml | ||
resource-id: *id | ||
periods: | ||
<<: *max | ||
<<: *periods | ||
items: | ||
$ref: 'forecast-limit-period.yaml#/forecast-period-proposal' | ||
|
||
required: | ||
- resource-id | ||
- periods | ||
$ref: 'forecast-limit-period.yaml#/proposal' | ||
|
||
missing-forecast: | ||
type: object | ||
additionalProperties: false | ||
<<: *limit | ||
properties: | ||
resource-id: | ||
$ref: ./generic-identifier.yaml | ||
resource-id: *id | ||
periods: | ||
<<: *max | ||
<<: *periods | ||
items: | ||
$ref: ./period-start.yaml |
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
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
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,9 @@ | ||
type: string | ||
description: | | ||
Contains a unique identifier for an a power system resources, such as a | ||
transmission facility, segment, interface, etc. | ||
maxLength: 250 | ||
pattern: ^(.){0,250}$ | ||
example: "86753_1_1" |
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
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