Skip to content

Commit

Permalink
override-reason -> reason
Browse files Browse the repository at this point in the history
  • Loading branch information
catkins-miso committed Nov 5, 2024
1 parent 85e9088 commit cd5fa4c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 16 deletions.
17 changes: 6 additions & 11 deletions docs/_data/components/schemas/time-bound-static-ratings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ temporary-aar-exception-request: &time-bound-static-rating
$ref: ./limit.yaml
emergency-operating-limits:
$ref: ./array-max-emergency-durations.yaml#/limit-value-set
reason:
reason: &reason
description: |
Free-form text indicating the reason for the exception.
type: string
Expand Down Expand Up @@ -63,20 +63,15 @@ operator-override-limit-provenance:
<<: *time-bound-static-limit
properties:
<<: *time-bound-static-limit-props
override-reason:
type: string
description:

Indicates that this limit was overridden for some reason, the reason
itself.

format: free-text
maxLength: 500
reason:
<<: *reason
description: |
The reason given for the limit override.
required:
- start-time
- continuous-operating-limit
- emergency-operating-limits
- override-reason
- reason

seasonal-override-request:
<<: *time-bound-static-rating
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/limit-provenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ an override was in place for the given period.
"mva": 160
},
"emergency-operating-limits": [ /* elided for clarity */ ],
"override-reason": "TOI 20250701-01",
"reason": "TOI 20250701-01",
"start-time": "2025-07-12T16:00:00-07:00",
"end-time": "2025-09-12T16:00:00-07:00", // optional
"id": "ems-operator-override-id-1", // optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"limit": { "mva": 165 }
}
],
"override-reason": "TOI 20250701-01",
"reason": "TOI 20250701-01",
"start-time": "2025-07-01T00:00:00-07:00"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"limit": { "mva": 165 }
}
],
"override-reason": "TOI 20250701-01",
"reason": "TOI 20250701-01",
"start-time": "2025-07-01T00:00:00-07:00"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
}
}
],
"override-reason": "TOI 20250701-01",
"reason": "TOI 20250701-01",
"start-time": "2025-07-01T00:00:00-07:00"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
}
}
],
"override-reason": "TOI 20250701-01",
"reason": "TOI 20250701-01",
"start-time": "2025-07-01T00:00:00-07:00"
}
]
Expand Down

0 comments on commit cd5fa4c

Please sign in to comment.