Skip to content

Commit

Permalink
Merge pull request #209 from trolie/162-remove-allOf
Browse files Browse the repository at this point in the history
clean up and remove last allOf
  • Loading branch information
getorymckeag authored Nov 15, 2024
2 parents 0f3860b + 7a91553 commit 368aefb
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 252 deletions.
36 changes: 0 additions & 36 deletions docs/_spec/components/schemas/forecast-limit-period.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions docs/_spec/components/schemas/limit-data.yaml

This file was deleted.

43 changes: 0 additions & 43 deletions docs/_spec/components/schemas/limit-proposal.yaml

This file was deleted.

28 changes: 15 additions & 13 deletions docs/_spec/components/schemas/period-limit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ real-time-provenance:
- proposal-disposition
additionalProperties: false

seasonal-proposal:
seasonal-proposal: &seasonal-proposal
<<: *forecast-proposal
description: Proposes the continuous and emergency ratings for the specified Season.
title: Seasonal Rating Proposal
properties:
properties: &seasonal-proposal-props
<<: *forecast-proposal-props
season-name:
$ref: ./season-name.yaml
Expand Down Expand Up @@ -242,6 +242,18 @@ seasonal-snapshot: &seasonal-snapshot
$ref: ./day-night.yaml
additionalProperties: false

seasonal-proposal-considered:
<<: *seasonal-proposal
properties:
<<: *seasonal-proposal-props
source:
$ref: ./data-provenance.yaml
resource-id:
$ref: ./resource-id.yaml
required:
- source
- resource-id

seasonal-snapshot-detailed:
<<: *seasonal-snapshot
description: Proposes the continuous and emergency ratings for the specified Season.
Expand All @@ -259,17 +271,7 @@ seasonal-snapshot-detailed:
minItems: 1
maxItems: 10
items:
allOf:
- $ref: '#/proposal'
- type: object
properties:
source:
$ref: ./data-provenance.yaml
resource-id:
$ref: ./resource-id.yaml
required:
- source
- resource-id
$ref: '#/seasonal-proposal-considered'
required:
- proposals-considered
- period-start
Expand Down
38 changes: 0 additions & 38 deletions docs/_spec/components/schemas/proposal-considered.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions docs/_spec/components/schemas/realtime-limit-item.yaml

This file was deleted.

95 changes: 0 additions & 95 deletions docs/_spec/components/schemas/seasonal-rating-period.yaml

This file was deleted.

0 comments on commit 368aefb

Please sign in to comment.