Skip to content

Commit

Permalink
schema/codelists/contractingProcessStatus: Deprecate pre-award
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Jun 14, 2024
1 parent 8f5b90a commit fd5480c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions schema/project-level/codelists/contractingProcessStatus.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Code,Title,Description,Business Logic
preAward,Pre-award,"No contract has yet been awarded, and the process has not ended.","`tender.status` is not 'cancelled', 'unsuccessful' or 'withdrawn', and one of: There are no awards or contracts; All `Award.status` and `Contract.status` are 'pending'; All award dates (in order of preference: `Award.date`, `tender.awardPeriod`) are in the future."
active,Active,"A contract was awarded, but not all contracts have ended.","One of: There is at least one `Contract.status` of 'active'; At least one contract period (in order of preference: `Contract.period`, `Award.contractPeriod`, `tender.contractPeriod`) includes the present date."
closed,Closed,"The process ended with no contract being awarded, or all contracts have ended.","One of: `tender.status` is 'cancelled', 'unsuccessful' or 'withdrawn'; There is at least one award, and all `Award.status` are 'cancelled' or 'unsuccessful'; There is at least one contract, and all `Contract.status` are 'terminated' or 'cancelled'; The `.endDate` of all contract periods (in order of preference: `Contract.period`, `Award.contractPeriod`, `tender.contractPeriod`), are in the past."
Code,Title,Description,Business Logic,Deprecated
preAward,Pre-award,"No contract has yet been awarded, and the process has not ended.","`tender.status` is not 'cancelled', 'unsuccessful' or 'withdrawn', and one of: There are no awards or contracts; All `Award.status` and `Contract.status` are 'pending'; All award dates (in order of preference: `Award.date`, `tender.awardPeriod`) are in the future.",
active,Active,"A contract was awarded, but not all contracts have ended.","One of: There is at least one `Contract.status` of 'active'; At least one contract period (in order of preference: `Contract.period`, `Award.contractPeriod`, `tender.contractPeriod`) includes the present date.",
closed,Closed,"The process ended with no contract being awarded, or all contracts have ended.","One of: `tender.status` is 'cancelled', 'unsuccessful' or 'withdrawn'; There is at least one award, and all `Award.status` are 'cancelled' or 'unsuccessful'; There is at least one contract, and all `Contract.status` are 'terminated' or 'cancelled'; The `.endDate` of all contract periods (in order of preference: `Contract.period`, `Award.contractPeriod`, `tender.contractPeriod`), are in the past.",
pre-award,Pre-award,"This code is deprecated in favour of 'preAward', to conform to the use of camelCase for codes.","",0.9.5
3 changes: 2 additions & 1 deletion schema/project-level/project-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,8 @@
"enum": [
"preAward",
"active",
"closed"
"closed",
"pre-award"
],
"codelist": "contractingProcessStatus.csv",
"openCodelist": false
Expand Down

0 comments on commit fd5480c

Please sign in to comment.