Skip to content

Commit

Permalink
schema/project-level/codelists: Add milestoneCode.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Nov 10, 2023
1 parent 9c37413 commit 9137b86
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ def copy_element(name, replacements=None, root='definitions'):
'unitClassificationScheme.csv',
'milestoneType.csv',
'milestoneStatus.csv',
'milestoneCode.csv'
}
compare([path.name for path in codelists_dir.iterdir()], infra_codelists, ocds_codelists,
'schema/project-level/codelists', 'codelists')
Expand Down Expand Up @@ -742,10 +743,10 @@ def copy_element(name, replacements=None, root='definitions'):

copy_element('MilestoneReference', {
# Remove reference to release, add reference to project.
('properties', 'id', 'description'): lambda s: s.replace(' described elsewhere in a release about this contracting process.', " in this project or contracting process's `.milestones`."),
('properties', 'id', 'description'): lambda s: s.replace(' described elsewhere in a release about this contracting process.', " in this project or contracting process's `.milestones`."), # noqa: E501
})
# Original from standard: "The title of the milestone being referenced, this must match the title of a milestone described elsewhere in a release about this contracting process." # noqa: E501
schema['definitions']['MilestoneReference']['properties']['title']['description'] = "The title of the milestone being referenced, this must match the title of a milestone in this project or contracting process's `.milestones`." # noqa: E501
schema['definitions']['MilestoneReference']['properties']['title']['description'] = "The title of the milestone being referenced, this must match the title of a milestone in this project or contracting process's `.milestones`." # noqa: E501

remove_null_and_pattern_properties(schema)
remove_integer_identifier_types(schema)
Expand Down
10 changes: 10 additions & 0 deletions schema/project-level/codelists/milestoneCode.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Code,Title,Description,Extension
projectApproval,Project approval,The dates of approvals from relevant authorities.,OCDS for PPPs Extension
commercialClose,Commercial close,"In a financing, the point at which the commercial documentation has been executed but before conditions precedent have been satisfied or waived; before financial close.",OCDS for PPPs Extension
financialClose,Financial close,"In a financing, the point at which the documentation has been executed and conditions precedent have been satisfied or waived. Drawdowns become permissible after this point.",OCDS for PPPs Extension
commencement,Commencement of construction or development,The date of commencement of construction or development,OCDS for PPPs Extension
completion,Completion of construction of development,The date of completion of construction or development,OCDS for PPPs Extension
commissioning,Commissioning,The testing and inspection of the completed works to verify that the works are ready for commercial operation.,OCDS for PPPs Extension
enquiryPeriodStart,Enquiry period start,"For processes with multiple enquiry periods, the start date of a period during which enquiries can be made and responded to which is not provided in the tender/enquiryPeriod block. Sometimes known as clarification periods.",OCDS for PPPs Extension
enquiryPeriodEnd,Enquiry period end,"For processes with multiple enquiry periods, the end date of a period during which enquiries can be made and responded to which is not provided in the tender/enquiryPeriod block. Sometimes known as clarification periods.",OCDS for PPPs Extension
draftFinalTender,Submission of draft final tender,"For competitive dialogue processes, the deadline for submission of draft final tenders",OCDS for PPPs Extension

0 comments on commit 9137b86

Please sign in to comment.