From 6b48c298ff8081f408ee4d21233279934c2ccd92 Mon Sep 17 00:00:00 2001 From: Oleksii Striukov Date: Thu, 7 Dec 2023 16:01:36 +0200 Subject: [PATCH] constants config --- .../TenderConfig/competitiveOrdering.json | 56 ++++++++- .../competitiveOrdering.long.json | 112 ++++++++++++++++++ .../competitiveOrdering.short.json | 112 ++++++++++++++++++ 3 files changed, 279 insertions(+), 1 deletion(-) create mode 100644 data_model/schema/TenderConfig/competitiveOrdering.long.json create mode 100644 data_model/schema/TenderConfig/competitiveOrdering.short.json diff --git a/data_model/schema/TenderConfig/competitiveOrdering.json b/data_model/schema/TenderConfig/competitiveOrdering.json index d0b2d37d..ab0ddbea 100644 --- a/data_model/schema/TenderConfig/competitiveOrdering.json +++ b/data_model/schema/TenderConfig/competitiveOrdering.json @@ -49,6 +49,54 @@ true ], "default": true + }, + "tenderPeriodMinDays": { + "type": "integer", + "enum": [ + 7, + 3 + ], + "default": 7 + }, + "tenderComplaints": { + "type": "boolean", + "enum": [ + true, + false + ], + "default": true + }, + "tenderClaims": { + "type": "boolean", + "enum": [ + true, + false + ], + "default": true + }, + "awardComplaints": { + "type": "boolean", + "enum": [ + true, + false + ], + "default": true + }, + "awardClaims": { + "type": "boolean", + "enum": [ + true, + false + ], + "default": true + }, + "cancellationComplaints": { + "type": "boolean", + "enum": [ + true, + false + ], + "default": true } }, "required": [ @@ -58,7 +106,13 @@ "valueCurrencyEquality", "hasPrequalification", "minBidsNumber", - "hasPreSelectionAgreement" + "hasPreSelectionAgreement", + "tenderPeriodMinDays", + "tenderComplaints", + "tenderClaims", + "awardComplaints", + "awardClaims", + "cancellationComplaints" ], "additionalProperties": false } diff --git a/data_model/schema/TenderConfig/competitiveOrdering.long.json b/data_model/schema/TenderConfig/competitiveOrdering.long.json new file mode 100644 index 00000000..dfbdea2a --- /dev/null +++ b/data_model/schema/TenderConfig/competitiveOrdering.long.json @@ -0,0 +1,112 @@ +{ + "type": "object", + "properties": { + "hasAuction": { + "type": "boolean", + "enum": [ + true, + false + ], + "default": true + }, + "hasAwardingOrder": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "hasValueRestriction": { + "type": "boolean", + "enum": [ + false + ], + "default": false + }, + "valueCurrencyEquality": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "hasPrequalification": { + "type": "boolean", + "enum": [ + false + ], + "default": false + }, + "minBidsNumber": { + "type": "integer", + "minimum": 1, + "maximum": 1, + "default": 1 + }, + "hasPreSelectionAgreement": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "tenderPeriodMinDays": { + "type": "integer", + "enum": [ + 7 + ], + "default": 7 + }, + "tenderComplaints": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "tenderClaims": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "awardComplaints": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "awardClaims": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "cancellationComplaints": { + "type": "boolean", + "enum": [ + true + ], + "default": true + } + }, + "required": [ + "hasAuction", + "hasAwardingOrder", + "hasValueRestriction", + "valueCurrencyEquality", + "hasPrequalification", + "minBidsNumber", + "hasPreSelectionAgreement", + "tenderPeriodMinDays", + "tenderComplaints", + "tenderClaims", + "awardComplaints", + "awardClaims", + "cancellationComplaints" + ], + "additionalProperties": false +} diff --git a/data_model/schema/TenderConfig/competitiveOrdering.short.json b/data_model/schema/TenderConfig/competitiveOrdering.short.json new file mode 100644 index 00000000..2aaea8af --- /dev/null +++ b/data_model/schema/TenderConfig/competitiveOrdering.short.json @@ -0,0 +1,112 @@ +{ + "type": "object", + "properties": { + "hasAuction": { + "type": "boolean", + "enum": [ + true, + false + ], + "default": true + }, + "hasAwardingOrder": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "hasValueRestriction": { + "type": "boolean", + "enum": [ + false + ], + "default": false + }, + "valueCurrencyEquality": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "hasPrequalification": { + "type": "boolean", + "enum": [ + false + ], + "default": false + }, + "minBidsNumber": { + "type": "integer", + "minimum": 1, + "maximum": 1, + "default": 1 + }, + "hasPreSelectionAgreement": { + "type": "boolean", + "enum": [ + true + ], + "default": true + }, + "tenderPeriodMinDays": { + "type": "integer", + "enum": [ + 3 + ], + "default": 3 + }, + "tenderComplaints": { + "type": "boolean", + "enum": [ + false + ], + "default": false + }, + "tenderClaims": { + "type": "boolean", + "enum": [ + false + ], + "default": false + }, + "awardComplaints": { + "type": "boolean", + "enum": [ + false + ], + "default": false + }, + "awardClaims": { + "type": "boolean", + "enum": [ + false + ], + "default": false + }, + "cancellationComplaints": { + "type": "boolean", + "enum": [ + false + ], + "default": false + } + }, + "required": [ + "hasAuction", + "hasAwardingOrder", + "hasValueRestriction", + "valueCurrencyEquality", + "hasPrequalification", + "minBidsNumber", + "hasPreSelectionAgreement", + "tenderPeriodMinDays", + "tenderComplaints", + "tenderClaims", + "awardComplaints", + "awardClaims", + "cancellationComplaints" + ], + "additionalProperties": false +}