Skip to content

Commit

Permalink
Merge pull request #1654 from open-contracting/1183_add_electronicSub…
Browse files Browse the repository at this point in the history
…missionPolicy

schema: add submissionTerms.electronicSubmissionPolicy to tender
  • Loading branch information
jpmckinney authored Nov 21, 2023
2 parents 9b3dbf0 + d55ac6e commit 0594c1a
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/history/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ Per the [normative and non-normative content and changes policy](../governance/n
* [#1490](https://github.com/open-contracting/standard/pull/1490) `SimpleIdentifier`
* [#1519](https://github.com/open-contracting/standard/pull/1519) `Value.amountNet` and `Value.amountGross`
* [#1490](https://github.com/open-contracting/standard/pull/1490) `tender.identifiers` and `contracts.identifiers`
* [#1654](https://github.com/open-contracting/standard/pull/1654) `tender.submissionTerms.electronicSubmissionPolicy`

* Deprecate some fields:
* [#1200](https://github.com/open-contracting/standard/pull/1200) `tender.submissionMethod`, because all codes from the `submissionMethod` codelist are deprecated.
Expand Down
4 changes: 4 additions & 0 deletions schema/codelists/permission.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Code,Title,Description
required,Required,The activity is required.
allowed,Allowed,The activity is allowed.
notAllowed,Not allowed,The activity is not allowed.
46 changes: 46 additions & 0 deletions schema/dereferenced-release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4729,6 +4729,29 @@
"null"
]
},
"submissionTerms": {
"title": "Submission terms",
"description": "Information about how, when and where tenderers need to submit their bids.",
"type": "object",
"properties": {
"electronicSubmissionPolicy": {
"title": "Electronic submission policy",
"description": "Whether tenderers are required, allowed or not allowed to submit bids electronically.",
"type": [
"string",
"null"
],
"codelist": "permission.csv",
"openCodelist": false,
"enum": [
"required",
"allowed",
"notAllowed",
null
]
}
}
},
"datePublished": {
"description": "The date on which the tender was published.",
"format": "date-time",
Expand Down Expand Up @@ -18257,6 +18280,29 @@
"null"
]
},
"submissionTerms": {
"title": "Submission terms",
"description": "Information about how, when and where tenderers need to submit their bids.",
"type": "object",
"properties": {
"electronicSubmissionPolicy": {
"title": "Electronic submission policy",
"description": "Whether tenderers are required, allowed or not allowed to submit bids electronically.",
"type": [
"string",
"null"
],
"codelist": "permission.csv",
"openCodelist": false,
"enum": [
"required",
"allowed",
"notAllowed",
null
]
}
}
},
"datePublished": {
"description": "The date on which the tender was published.",
"format": "date-time",
Expand Down
23 changes: 23 additions & 0 deletions schema/release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,29 @@
"null"
]
},
"submissionTerms": {
"title": "Submission terms",
"description": "Information about how, when and where tenderers need to submit their bids.",
"type": "object",
"properties": {
"electronicSubmissionPolicy": {
"title": "Electronic submission policy",
"description": "Whether tenderers are required, allowed or not allowed to submit bids electronically.",
"type": [
"string",
"null"
],
"codelist": "permission.csv",
"openCodelist": false,
"enum": [
"required",
"allowed",
"notAllowed",
null
]
}
}
},
"datePublished": {
"description": "The date on which the tender was published.",
"format": "date-time",
Expand Down
40 changes: 40 additions & 0 deletions schema/versioned-release-validation-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,46 @@
"submissionMethodDetails": {
"$ref": "#/definitions/StringNullVersioned"
},
"submissionTerms": {
"type": "object",
"properties": {
"electronicSubmissionPolicy": {
"type": "array",
"items": {
"type": "object",
"properties": {
"releaseDate": {
"format": "date-time",
"type": "string"
},
"releaseID": {
"type": "string"
},
"value": {
"type": [
"string",
"null"
],
"codelist": "permission.csv",
"openCodelist": false,
"enum": [
"required",
"allowed",
"notAllowed",
null
]
},
"releaseTag": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"datePublished": {
"$ref": "#/definitions/StringNullDateTimeVersioned"
},
Expand Down

0 comments on commit 0594c1a

Please sign in to comment.