ccs-digitalmarketplace-frameworks 3.12.18 → 3.12.21

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.
@@ -1,3 +1,11 @@
1
+ -
2
+ name: Connected Persons
3
+ slug: connected-persons
4
+ editable: True
5
+ prefill: False
6
+ questions:
7
+ - multiqConnectedPerson
8
+
1
9
  -
2
10
  name: Immediate parent company
3
11
  slug: immediate-parent-company
@@ -0,0 +1,14 @@
1
+ name: Connected person at risk
2
+ question: >
3
+ Will disclosure of information about any of your connected persons place that person or anyone living with them at risk?
4
+ type: boolean
5
+ hint: When publishing the contract award notice, we have a duty to publish information about your connected persons (as set out in regulation 11). Depending on the type of connected person, this may include their name, date of birth, nationality and service address (which could be the same as their personal address). In most instances, this information will already be available on Companies House and therefore there should be no sensitivity around its publication.
6
+
7
+ followup:
8
+ connectedPersonAtRiskNameList:
9
+ - true
10
+
11
+ validations:
12
+ -
13
+ name: answer_required
14
+ message: 'You must select an option'
@@ -0,0 +1,19 @@
1
+ name: Name
2
+ question: |
3
+ Tell us who the connected persons is/are.
4
+ Please ensure you enter the name as submitted as part of your core information
5
+ question_advice: Regulation 27(4-6) makes provision for circumstances where disclosure of information about a connected person could place that person or anyone living with them at risk. These provisions are modelled on the Register of People with Significant Control Regulations 2016 (the ‘2016 Regulations’) but apply to all connected persons under the Act.
6
+ hidden: true
7
+
8
+ number_of_items: 100
9
+ type: list
10
+
11
+ validations:
12
+ - name: answer_required
13
+ message: Add connected person name
14
+
15
+ - name: max_items_limit
16
+ message: You can add a maximum of 100 connected persons
17
+
18
+ - name: not_unique
19
+ message: Each connected person's name must be unique
@@ -0,0 +1,8 @@
1
+
2
+ name: Connected Persons
3
+ question: ""
4
+
5
+ type: multiquestion
6
+ questions:
7
+ - connectedPersonAtRisk
8
+ - connectedPersonAtRiskNameList
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccs-digitalmarketplace-frameworks",
3
- "version": "3.12.18",
3
+ "version": "3.12.21",
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"
@@ -108,7 +108,7 @@ govuk-country-register==0.5.0
108
108
  # via
109
109
  # -r requirements.txt
110
110
  # ccs-digitalmarketplace-utils
111
- hypothesis==6.125.3
111
+ hypothesis==6.127.1
112
112
  # via -r requirements-dev.in
113
113
  idna==3.7
114
114
  # via
@@ -507,7 +507,7 @@ def price_string(optional, decimal_place_restriction=False, digit_limit=None, li
507
507
  if limits:
508
508
  for limit in limits:
509
509
  if limit == 'greater_than_zero':
510
- pattern = '^(?!0$)' + pattern.split('^')[1]
510
+ pattern = '^(?!0(?:\\.0+)?$)' + pattern.split('^')[1]
511
511
  return {
512
512
  "type": "string",
513
513
  "pattern": pattern,
@@ -802,7 +802,7 @@ def test_pricing_property_limits_greater_than_zero():
802
802
  cq = ContentQuestion(manifest)
803
803
  result = pricing_property(cq, {})
804
804
 
805
- assert '(?!0$)' in result['price']['pattern']
805
+ assert '(?!0(?:\\.0+)?$)' in result['price']['pattern']
806
806
 
807
807
 
808
808
  @given(st.text())