ccs-digitalmarketplace-frameworks 3.13.21 → 3.13.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/frameworks/digital-outcomes-and-specialists-7/manifests/edit_service.yml +5 -0
- package/frameworks/digital-outcomes-and-specialists-7/manifests/edit_service_as_admin.yml +5 -0
- package/frameworks/digital-outcomes-and-specialists-7/manifests/edit_submission.yml +5 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReduction.yml +48 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionCRPCompleted.yml +41 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionCRPNotReported.yml +14 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionCRPPublished.yml +13 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionCopyUpload.yml +20 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionEmissionsBaseYear1.yml +22 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionEmissionsBaseYear2.yml +20 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionEmissionsBaseYear3.yml +19 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionEmissionsCurrentYear1.yml +19 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionEmissionsCurrentYear2.yml +20 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionEmissionsCurrentYear3.yml +20 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionGHC.yml +30 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionWebAddress.yml +15 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionWebsite.yml +29 -0
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/insuranceRequirementsDCDPAlreadyHave.yml +1 -1
- package/frameworks/digital-outcomes-and-specialists-7/questions/services/muliqCarbonReduction.yml +25 -0
- package/package.json +1 -1
- package/schema_generator/validation.py +3 -0
- package/schemas/questions.json +3 -2
|
@@ -35,6 +35,11 @@
|
|
|
35
35
|
- testingAndAuditing
|
|
36
36
|
- userExperienceAndDesign
|
|
37
37
|
- userResearch
|
|
38
|
+
|
|
39
|
+
- name: 'Condition of participation - Carbon reduction'
|
|
40
|
+
editable: False
|
|
41
|
+
questions:
|
|
42
|
+
- muliqCarbonReduction
|
|
38
43
|
|
|
39
44
|
- name: Team capabilities
|
|
40
45
|
summary_page_description: >
|
|
@@ -37,6 +37,11 @@
|
|
|
37
37
|
- userExperienceAndDesign
|
|
38
38
|
- userResearch
|
|
39
39
|
|
|
40
|
+
- name: 'Condition of participation - Carbon reduction'
|
|
41
|
+
editable: False
|
|
42
|
+
questions:
|
|
43
|
+
- muliqCarbonReduction
|
|
44
|
+
|
|
40
45
|
- name: Team capabilities
|
|
41
46
|
summary_page_description: >
|
|
42
47
|
You must be able to provide all team capabilities to be eligible to supply for this lot.
|
|
@@ -45,6 +45,11 @@
|
|
|
45
45
|
- userExperienceAndDesign
|
|
46
46
|
- userResearch
|
|
47
47
|
|
|
48
|
+
- name: 'Condition of participation - Carbon reduction'
|
|
49
|
+
editable: True
|
|
50
|
+
questions:
|
|
51
|
+
- muliqCarbonReduction
|
|
52
|
+
|
|
48
53
|
- name: Team capabilities
|
|
49
54
|
summary_page_description: >
|
|
50
55
|
You must be able to provide all team capabilities to be eligible to supply for this lot.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
name: Trading less than 12 months
|
|
2
|
+
|
|
3
|
+
question: >
|
|
4
|
+
<p class="govuk-body">Public procurement of contracts with an annual contract value of £5 million and
|
|
5
|
+
above should take into account suppliers' carbon reduction plans (CRP) and commitment to Net Zero by 2050. This Policy is set out in detail in <a class="govuk-link" href="https://www.gov.uk/government/publications/ppn-006-taking-account-of-carbon-reduction-plans-in-the-procurement-of-major-government-contracts" target="_blank">PPN 006 (opens in new tab)</a>.
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
<p class="govuk-body">The requirement is that you will have in place and provide a link to your CRP published to your website using the template provided within <a class="govuk-link" href="https://www.gov.uk/government/publications/ppn-006-taking-account-of-carbon-reduction-plans-in-the-procurement-of-major-government-contracts" target="_blank">PPN 006 (opens in new tab)</a>
|
|
9
|
+
confirming your commitment to achieving Net Zero by 2050 in the UK, and setting out the environmental management measures that you have in place and which will be in effect and utilised during the performance of the contract.
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<p class="govuk-body">If you are a new supplier and have been trading for less than 12 months,
|
|
13
|
+
you must still confirm your commitment to achieving Net Zero by 2050 by publishing a full CRP as soon as possible.
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
<p class="govuk-body">
|
|
17
|
+
If you do not have a website where you can evidence a
|
|
18
|
+
published CRP containing the minimum required information as set out in the PPN 006 guidance, you must provide an electronic copy of your CRP to the Crown Commercial Service.
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
<p class="govuk-label">
|
|
22
|
+
Are you a new supplier and have been trading for less than 12 months?
|
|
23
|
+
</p>
|
|
24
|
+
|
|
25
|
+
depends:
|
|
26
|
+
- "on": lot
|
|
27
|
+
being:
|
|
28
|
+
- digital-capability-and-delivery-partner
|
|
29
|
+
|
|
30
|
+
type: radios
|
|
31
|
+
|
|
32
|
+
options:
|
|
33
|
+
- label: 'Yes'
|
|
34
|
+
value: 'yes'
|
|
35
|
+
- label: 'No'
|
|
36
|
+
value: 'no'
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
followup:
|
|
41
|
+
carbonReductionCRPCompleted:
|
|
42
|
+
- 'no'
|
|
43
|
+
carbonReductionGHC:
|
|
44
|
+
- 'yes'
|
|
45
|
+
|
|
46
|
+
validations:
|
|
47
|
+
- name: answer_required
|
|
48
|
+
message: You must select an option
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: CRP completed
|
|
2
|
+
|
|
3
|
+
question: Please confirm that you have detailed your environmental management measures by completing a Carbon Reduction Plan which meets the required reporting standard.
|
|
4
|
+
hint: |
|
|
5
|
+
<p class="govuk-body">
|
|
6
|
+
This question is evaluated Pass / Fail.
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<p class="govuk-body">
|
|
10
|
+
Your tender will Fail, if you do not answer Yes to this question, as you will not satisfy this condition of participation.
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
<p class="govuk-body">
|
|
14
|
+
Your tender will be disregarded. We will tell you that your tender has been disregarded and why.
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
type: boolean
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
followup:
|
|
21
|
+
carbonReductionWebsite:
|
|
22
|
+
- True
|
|
23
|
+
carbonReductionEmissionsBaseYear1:
|
|
24
|
+
- True
|
|
25
|
+
carbonReductionEmissionsBaseYear2:
|
|
26
|
+
- True
|
|
27
|
+
carbonReductionEmissionsBaseYear3:
|
|
28
|
+
- True
|
|
29
|
+
carbonReductionEmissionsCurrentYear1:
|
|
30
|
+
- True
|
|
31
|
+
carbonReductionEmissionsCurrentYear2:
|
|
32
|
+
- True
|
|
33
|
+
carbonReductionEmissionsCurrentYear3:
|
|
34
|
+
- True
|
|
35
|
+
carbonReductionCRPNotReported:
|
|
36
|
+
- True
|
|
37
|
+
|
|
38
|
+
validations:
|
|
39
|
+
-
|
|
40
|
+
name: answer_required
|
|
41
|
+
message: You must select an option
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
name: Explanation why CRP not reported
|
|
2
|
+
|
|
3
|
+
question: If emissions in the Carbon Reduction Plan are not reported for any Scopes or only for some Scopes, or the reporting period is more than 12 months from the date of commencement of the procurement, please provide an explanation why.
|
|
4
|
+
|
|
5
|
+
type: textbox_large
|
|
6
|
+
max_length_in_words: 500
|
|
7
|
+
|
|
8
|
+
validations:
|
|
9
|
+
-
|
|
10
|
+
name: answer_required
|
|
11
|
+
message: You must enter a role description
|
|
12
|
+
-
|
|
13
|
+
name: under_word_limit
|
|
14
|
+
message: Explanation must be less than 500 words
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
name: Date CRP will be published
|
|
2
|
+
|
|
3
|
+
question: Please confirm that your organisation (and if applicable, each of your consortium members) is taking steps to reduce your greenhouse gas (GHG) emissions over time and is publicly committed to achieving Net Zero by 2050.
|
|
4
|
+
|
|
5
|
+
hint: Please confirm the date by which you will publish a full Carbon Reduction Plan (CRP) to your website.
|
|
6
|
+
|
|
7
|
+
type: date
|
|
8
|
+
|
|
9
|
+
validations:
|
|
10
|
+
- name: answer_required
|
|
11
|
+
message: You must enter a date
|
|
12
|
+
- name: invalid_format
|
|
13
|
+
message: 'You must enter a valid date, example: 21/02/2026'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Copy of your CRP
|
|
2
|
+
|
|
3
|
+
question: Please upload a copy of your latest carbon reduction plan.
|
|
4
|
+
|
|
5
|
+
hint: 'Please upload in Open Document Format (ODF) or PDF/A (eg .pdf, .odt). (Maximum file size 5MB).'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
hidden: true
|
|
9
|
+
|
|
10
|
+
type: upload
|
|
11
|
+
|
|
12
|
+
validations:
|
|
13
|
+
- name: answer_required
|
|
14
|
+
message: You must upload your latest Carbon Reduction Plan
|
|
15
|
+
- name: file_is_open_document_format
|
|
16
|
+
message: Please upload a document in the valid format like pdf
|
|
17
|
+
- name: file_is_less_than_5mb
|
|
18
|
+
message: File size must be less than 5mb
|
|
19
|
+
- name: file_can_be_saved
|
|
20
|
+
message: The selected file could not be uploaded - try again.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: Scope 1 to 3 emissions
|
|
2
|
+
|
|
3
|
+
question: >
|
|
4
|
+
<p class="govuk-label--m">Please confirm the Scope 1 to 3 emissions detailed in your carbon reduction plan</p>
|
|
5
|
+
|
|
6
|
+
<p class="govuk-label--m">Baseline Year Scope 1 Emissions</p>
|
|
7
|
+
|
|
8
|
+
type: number
|
|
9
|
+
unit: "tCO2e"
|
|
10
|
+
unit_in_full: "tCO2e (tonne of carbon dioxide equivalent)"
|
|
11
|
+
unit_position: "before"
|
|
12
|
+
limits:
|
|
13
|
+
decimal : 0.01
|
|
14
|
+
|
|
15
|
+
validations:
|
|
16
|
+
-
|
|
17
|
+
name: answer_required
|
|
18
|
+
message: You must select an option
|
|
19
|
+
|
|
20
|
+
-
|
|
21
|
+
name: not_a_number
|
|
22
|
+
message: 'Maximum of 2 decimal places must be entered for ‘relevant field’, e.g. 15.23'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Baseline Year Scope 2 Emissions
|
|
2
|
+
|
|
3
|
+
question: Baseline Year Scope 2 Emissions
|
|
4
|
+
|
|
5
|
+
type: number
|
|
6
|
+
unit: "tCO2e"
|
|
7
|
+
unit_in_full: "tCO2e (tonne of carbon dioxide equivalent)"
|
|
8
|
+
unit_position: "before"
|
|
9
|
+
limits:
|
|
10
|
+
decimal : 0.01
|
|
11
|
+
|
|
12
|
+
validations:
|
|
13
|
+
-
|
|
14
|
+
name: answer_required
|
|
15
|
+
message: You must select an option
|
|
16
|
+
|
|
17
|
+
-
|
|
18
|
+
name: not_a_number
|
|
19
|
+
message: 'Maximum of 2 decimal places must be entered for ‘relevant field’, e.g. 15.23'
|
|
20
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: Baseline Year Scope 3 Emissions
|
|
2
|
+
|
|
3
|
+
question: Baseline Year Scope 3 Emissions
|
|
4
|
+
|
|
5
|
+
type: number
|
|
6
|
+
unit: "tCO2e"
|
|
7
|
+
unit_in_full: "tCO2e (tonne of carbon dioxide equivalent)"
|
|
8
|
+
unit_position: "before"
|
|
9
|
+
limits:
|
|
10
|
+
decimal : 0.01
|
|
11
|
+
|
|
12
|
+
validations:
|
|
13
|
+
-
|
|
14
|
+
name: answer_required
|
|
15
|
+
message: You must select an option
|
|
16
|
+
|
|
17
|
+
-
|
|
18
|
+
name: not_a_number
|
|
19
|
+
message: 'Maximum of 2 decimal places must be entered for ‘relevant field’, e.g. 15.23'
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: Baseline Year Scope 1 Emissions
|
|
2
|
+
|
|
3
|
+
question: 'Current / Most Recent Reporting Year Scope 1 Emissions'
|
|
4
|
+
|
|
5
|
+
type: number
|
|
6
|
+
unit: "tCO2e"
|
|
7
|
+
unit_in_full: "tCO2e (tonne of carbon dioxide equivalent)"
|
|
8
|
+
unit_position: "before"
|
|
9
|
+
limits:
|
|
10
|
+
decimal : 0.01
|
|
11
|
+
|
|
12
|
+
validations:
|
|
13
|
+
-
|
|
14
|
+
name: answer_required
|
|
15
|
+
message: You must select an option
|
|
16
|
+
|
|
17
|
+
-
|
|
18
|
+
name: not_a_number
|
|
19
|
+
message: 'Maximum of 2 decimal places must be entered for ‘relevant field’, e.g. 15.23'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: 'Current / Most Recent Reporting Year Scope 2 Emissions'
|
|
2
|
+
|
|
3
|
+
question: 'Current / Most Recent Reporting Year Scope 2 Emissions'
|
|
4
|
+
|
|
5
|
+
type: number
|
|
6
|
+
unit: "tCO2e"
|
|
7
|
+
unit_in_full: "tCO2e (tonne of carbon dioxide equivalent)"
|
|
8
|
+
unit_position: "before"
|
|
9
|
+
limits:
|
|
10
|
+
decimal : 0.01
|
|
11
|
+
|
|
12
|
+
validations:
|
|
13
|
+
-
|
|
14
|
+
name: answer_required
|
|
15
|
+
message: You must select an option
|
|
16
|
+
|
|
17
|
+
-
|
|
18
|
+
name: not_a_number
|
|
19
|
+
message: 'Maximum of 2 decimal places must be entered for ‘relevant field’, e.g. 15.23'
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: 'Current / Most Recent Reporting Year Scope 3 Emissions'
|
|
2
|
+
|
|
3
|
+
question: 'Current / Most Recent Reporting Year Scope 3 Emissions'
|
|
4
|
+
|
|
5
|
+
type: number
|
|
6
|
+
unit: "tCO2e"
|
|
7
|
+
unit_in_full: "tCO2e (tonne of carbon dioxide equivalent)"
|
|
8
|
+
unit_position: "before"
|
|
9
|
+
limits:
|
|
10
|
+
decimal : 0.01
|
|
11
|
+
|
|
12
|
+
validations:
|
|
13
|
+
-
|
|
14
|
+
name: answer_required
|
|
15
|
+
message: You must select an option
|
|
16
|
+
|
|
17
|
+
-
|
|
18
|
+
name: not_a_number
|
|
19
|
+
message: 'Maximum of 2 decimal places must be entered for ‘relevant field’, e.g. 15.23'
|
|
20
|
+
|
package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionGHC.yml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Taking steps to reduce GHG
|
|
2
|
+
|
|
3
|
+
question: Please confirm that your organisation (and if applicable, each of your consortium members) is taking steps to reduce your greenhouse gas (GHG) emissions over time and is publicly committed to achieving Net Zero by 2050
|
|
4
|
+
|
|
5
|
+
hint: |
|
|
6
|
+
<p class="govuk-body">
|
|
7
|
+
This question is evaluated Pass / Fail.
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
<p class="govuk-body">
|
|
11
|
+
Your tender will Fail, if you do not answer Yes to this question, as you will not satisfy this condition of participation.
|
|
12
|
+
</p>
|
|
13
|
+
|
|
14
|
+
<p class="govuk-body">
|
|
15
|
+
Your tender will be disregarded. We will tell you that your tender has been disregarded and why.
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
type: boolean
|
|
19
|
+
|
|
20
|
+
hidden: true
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
followup:
|
|
24
|
+
carbonReductionCRPPublished:
|
|
25
|
+
- True
|
|
26
|
+
|
|
27
|
+
validations:
|
|
28
|
+
-
|
|
29
|
+
name: answer_required
|
|
30
|
+
message: You must select an option
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name: CRP website
|
|
2
|
+
|
|
3
|
+
question: Please enter the web address for your latest carbon reduction plan.
|
|
4
|
+
|
|
5
|
+
type: text
|
|
6
|
+
|
|
7
|
+
limits:
|
|
8
|
+
format: uri
|
|
9
|
+
|
|
10
|
+
validations:
|
|
11
|
+
-
|
|
12
|
+
name: answer_required
|
|
13
|
+
message: You must select an option
|
|
14
|
+
- name: invalid_format
|
|
15
|
+
message: Enter a valid website
|
package/frameworks/digital-outcomes-and-specialists-7/questions/services/carbonReductionWebsite.yml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: CRP published on website
|
|
2
|
+
|
|
3
|
+
question: Is your Carbon Reduction Plan published on your website?
|
|
4
|
+
hint: |
|
|
5
|
+
<p class="govuk-body">
|
|
6
|
+
This question is evaluated Pass / Fail.
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<p class="govuk-body">
|
|
10
|
+
Your tender will Fail, if you do not answer Yes to this question, as you will not satisfy this condition of participation.
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
<p class="govuk-body">
|
|
14
|
+
Your tender will be disregarded. We will tell you that your tender has been disregarded and why.
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
type: boolean
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
followup:
|
|
21
|
+
carbonReductionCopyUpload:
|
|
22
|
+
- False
|
|
23
|
+
carbonReductionWebAddress:
|
|
24
|
+
- True
|
|
25
|
+
|
|
26
|
+
validations:
|
|
27
|
+
-
|
|
28
|
+
name: answer_required
|
|
29
|
+
message: You must select an option
|
|
@@ -27,7 +27,7 @@ depends:
|
|
|
27
27
|
options:
|
|
28
28
|
- label: Yes, your organisation (and if applicable, your consortium members) has, or will have in place, employer’s liability insurance, public liability insurance and professional indemnity insurance of at least £5 million each, and you will provide evidence of the required levels of insurance cover before the framework is awarded
|
|
29
29
|
value: 'yes'
|
|
30
|
-
- label: No, your organisation (and if applicable, your consortium members) does not have, and will not have in place, public liability insurance and professional indemnity insurance of at least £5 million each before the framework is awarded
|
|
30
|
+
- label: No, your organisation (and if applicable, your consortium members) does not have, and will not have in place, employer’s public liability insurance and professional indemnity insurance of at least £5 million each before the framework is awarded
|
|
31
31
|
value: 'no'
|
|
32
32
|
|
|
33
33
|
validations:
|
package/frameworks/digital-outcomes-and-specialists-7/questions/services/muliqCarbonReduction.yml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: 'Condition of participation: Carbon reduction'
|
|
2
|
+
question: ""
|
|
3
|
+
|
|
4
|
+
type: multiquestion
|
|
5
|
+
|
|
6
|
+
depends:
|
|
7
|
+
- "on": lot
|
|
8
|
+
being:
|
|
9
|
+
- digital-capability-and-delivery-partner
|
|
10
|
+
|
|
11
|
+
questions:
|
|
12
|
+
- carbonReduction
|
|
13
|
+
- carbonReductionGHC
|
|
14
|
+
- carbonReductionCRPPublished
|
|
15
|
+
- carbonReductionCRPCompleted
|
|
16
|
+
- carbonReductionWebsite
|
|
17
|
+
- carbonReductionWebAddress
|
|
18
|
+
- carbonReductionCopyUpload
|
|
19
|
+
- carbonReductionEmissionsBaseYear1
|
|
20
|
+
- carbonReductionEmissionsBaseYear2
|
|
21
|
+
- carbonReductionEmissionsBaseYear3
|
|
22
|
+
- carbonReductionEmissionsCurrentYear1
|
|
23
|
+
- carbonReductionEmissionsCurrentYear2
|
|
24
|
+
- carbonReductionEmissionsCurrentYear3
|
|
25
|
+
- carbonReductionCRPNotReported
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccs-digitalmarketplace-frameworks",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.23",
|
|
4
4
|
"description": "Data files for Digital Marketplace’s procurement frameworks",
|
|
5
5
|
"repository": "git@github.com:Crown-Commercial-Service/ccs-digitalmarketplace-frameworks",
|
|
6
6
|
"author": "enquiries@digitalmarketplace.service.gov.uk"
|
|
@@ -599,6 +599,9 @@ def number_property(question, _dependent_follow_up_map):
|
|
|
599
599
|
inclusive_max = bool(limits.get('integer_only'))
|
|
600
600
|
maximum = limits['max_value'] if limits.get('max_value') is not None else 100
|
|
601
601
|
output[question['id']].update({"maximum": maximum} if inclusive_max else {"exclusiveMaximum": maximum})
|
|
602
|
+
if limits.get("decimal"):
|
|
603
|
+
output[question['id']]["multipleOf"] = limits.get("decimal")
|
|
604
|
+
|
|
602
605
|
return output
|
|
603
606
|
|
|
604
607
|
|
package/schemas/questions.json
CHANGED
|
@@ -336,7 +336,8 @@
|
|
|
336
336
|
"max_value": {"type": "number"},
|
|
337
337
|
"min_value": {"type": "number"},
|
|
338
338
|
"integer_only": {"type": "boolean"},
|
|
339
|
-
"price": {"type": "array"}
|
|
339
|
+
"price": {"type": "array"},
|
|
340
|
+
"decimal": {"type": "number"}
|
|
340
341
|
}
|
|
341
342
|
},
|
|
342
343
|
"empty_message": {
|
|
@@ -352,7 +353,7 @@
|
|
|
352
353
|
"unit": {
|
|
353
354
|
"type": "string",
|
|
354
355
|
"minLength": 1,
|
|
355
|
-
"maxLength":
|
|
356
|
+
"maxLength": 5
|
|
356
357
|
},
|
|
357
358
|
"unit_in_full": {
|
|
358
359
|
"type": "string"
|