Skip to content

Commit

Permalink
release-schema: Add planning final status
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Oct 9, 2023
1 parent aaedd93 commit 1af33cd
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schema/codelists/planningFinalStatus.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Code,Title,Description
cancelled,Cancelled,The planning process was cancelled and did not yeild a contracting process.
unsuccessful,Unsuccessful,"The planning process was completed, but did not yield a contracting process."
48 changes: 48 additions & 0 deletions schema/dereferenced-release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2366,6 +2366,30 @@
}
}
}
},
"finalStatus": {
"title": "Planning final status",
"description": "The final status of the planning process, from the closed [planningFinalStatus](https://standard.open-contracting.org/{{version}}/{{lang}}/schema/codelists/#planning-final-status) codelist.",
"type": [
"string",
"null"
],
"codelist": "planningFinalStatus.csv",
"openCodelist": false,
"enum": [
"cancelled",
"unsuccessful",
null
]
},
"finalStatusDate": {
"title": "Planning final status date",
"description": "The date on which the planning process reached its final status.",
"format": "date-time",
"type": [
"string",
"null"
]
}
},
"patternProperties": {
Expand Down Expand Up @@ -15580,6 +15604,30 @@
}
}
}
},
"finalStatus": {
"title": "Planning final status",
"description": "The final status of the planning process, from the closed [planningFinalStatus](https://standard.open-contracting.org/{{version}}/{{lang}}/schema/codelists/#planning-final-status) codelist.",
"type": [
"string",
"null"
],
"codelist": "planningFinalStatus.csv",
"openCodelist": false,
"enum": [
"cancelled",
"unsuccessful",
null
]
},
"finalStatusDate": {
"title": "Planning final status date",
"description": "The date on which the planning process reached its final status.",
"format": "date-time",
"type": [
"string",
"null"
]
}
},
"patternProperties": {
Expand Down
24 changes: 24 additions & 0 deletions schema/release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,30 @@
"items": {
"$ref": "#/definitions/Milestone"
}
},
"finalStatus": {
"title": "Planning final status",
"description": "The final status of the planning process, from the closed [planningFinalStatus](https://standard.open-contracting.org/{{version}}/{{lang}}/schema/codelists/#planning-final-status) codelist.",
"type": [
"string",
"null"
],
"codelist": "planningFinalStatus.csv",
"openCodelist": false,
"enum": [
"cancelled",
"unsuccessful",
null
]
},
"finalStatusDate": {
"title": "Planning final status date",
"description": "The date on which the planning process reached its final status.",
"format": "date-time",
"type": [
"string",
"null"
]
}
},
"patternProperties": {
Expand Down
37 changes: 37 additions & 0 deletions schema/versioned-release-validation-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,43 @@
"items": {
"$ref": "#/definitions/Milestone"
}
},
"finalStatus": {
"type": "array",
"items": {
"type": "object",
"properties": {
"releaseDate": {
"format": "date-time",
"type": "string"
},
"releaseID": {
"type": "string"
},
"value": {
"type": [
"string",
"null"
],
"codelist": "planningFinalStatus.csv",
"openCodelist": false,
"enum": [
"cancelled",
"unsuccessful",
null
]
},
"releaseTag": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"finalStatusDate": {
"$ref": "#/definitions/StringNullDateTimeVersioned"
}
},
"patternProperties": {
Expand Down

0 comments on commit 1af33cd

Please sign in to comment.