ccs-digitalmarketplace-frameworks 5.2.3 → 5.2.4

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.
@@ -26,10 +26,12 @@ unit_position: "after"
26
26
  limits:
27
27
  min_value: 0
28
28
  max_value: 100
29
- integer_only: true
29
+ max_decimal_places: 2
30
30
 
31
31
  validations:
32
32
  - name: answer_required
33
- message: You must provide a percentage discount as a whole number between 0 and 100
33
+ message: You must provide a percentage discount between 0 and 100
34
34
  - name: not_a_number
35
- message: You must provide a percentage discount as a whole number between 0 and 100
35
+ message: You must provide a percentage discount between 0 and 100
36
+ - name: exceeded_allowed_decimal_places
37
+ message: The percentage must have a maximum of 2 decimal places
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccs-digitalmarketplace-frameworks",
3
- "version": "5.2.3",
3
+ "version": "5.2.4",
4
4
  "description": "Data files for Digital Marketplace’s procurement frameworks",
5
5
  "repository": {
6
6
  "type": "git",