ccs-digitalmarketplace-frameworks 3.0.3 → 3.2.0

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.
Files changed (79) hide show
  1. package/README.md +4 -1
  2. package/frameworks/digital-outcomes-and-specialists-7/manifests/edit_service.yml +40 -6
  3. package/frameworks/digital-outcomes-and-specialists-7/manifests/edit_service_as_admin.yml +43 -6
  4. package/frameworks/digital-outcomes-and-specialists-7/manifests/edit_submission.yml +47 -6
  5. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefDataOfficerBasicDayRate.yml +26 -0
  6. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefDataOfficerBasicDayRateSpecialist.yml +26 -0
  7. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefDataOfficerBasicLocations.yml +32 -0
  8. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefDataOfficerBasicOffshoreDayRate.yml +27 -0
  9. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefDataOfficerBasicQuantity.yml +22 -0
  10. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefDataOfficerBasicSecurityClearance.yml +23 -0
  11. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefDataOfficerBasicUkDayRate.yml +26 -0
  12. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefDataOfficerRoles.yml +19 -0
  13. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefInformationSecurityOfficerBasicDayRate.yml +26 -0
  14. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefInformationSecurityOfficerBasicDayRateSpecialist.yml +26 -0
  15. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefInformationSecurityOfficerBasicLocations.yml +32 -0
  16. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefInformationSecurityOfficerBasicOffshoreDayRate.yml +27 -0
  17. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefInformationSecurityOfficerBasicQuantity.yml +22 -0
  18. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefInformationSecurityOfficerBasicSecurityClearance.yml +23 -0
  19. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefInformationSecurityOfficerBasicUkDayRate.yml +26 -0
  20. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefInformationSecurityOfficerRoles.yml +19 -0
  21. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefTechnologyOfficerBasicDayRate.yml +26 -0
  22. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefTechnologyOfficerBasicDayRateSpecialist.yml +26 -0
  23. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefTechnologyOfficerBasicLocations.yml +32 -0
  24. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefTechnologyOfficerBasicOffshoreDayRate.yml +27 -0
  25. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefTechnologyOfficerBasicQuantity.yml +22 -0
  26. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefTechnologyOfficerBasicSecurityClearance.yml +23 -0
  27. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefTechnologyOfficerBasicUkDayRate.yml +26 -0
  28. package/frameworks/digital-outcomes-and-specialists-7/questions/services/chiefDigitalAndDataRolesChiefTechnologyOfficerRoles.yml +19 -0
  29. package/frameworks/digital-outcomes-and-specialists-7/questions/services/complyWithMrsCodeOfConduct.yml +19 -0
  30. package/frameworks/digital-outcomes-and-specialists-7/questions/services/icoRegistered.yml +21 -0
  31. package/frameworks/digital-outcomes-and-specialists-7/questions/services/icoRegistrationReference.yml +16 -0
  32. package/frameworks/digital-outcomes-and-specialists-7/questions/services/mrsMember.yml +18 -0
  33. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefDataOfficer.yml +19 -0
  34. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefDataOfficerBasic.yml +20 -0
  35. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefDataOfficerBasicDCDP.yml +20 -0
  36. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefDataOfficerDCDP.yml +14 -0
  37. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefInformationSecurityOfficer.yml +19 -0
  38. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefInformationSecurityOfficerBasic.yml +20 -0
  39. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefInformationSecurityOfficerBasicDCDP.yml +20 -0
  40. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefInformationSecurityOfficerDCDP.yml +14 -0
  41. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefTechnologyOfficer.yml +19 -0
  42. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefTechnologyOfficerBasic.yml +20 -0
  43. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefTechnologyOfficerBasicDCDP.yml +20 -0
  44. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqChiefDigitalAndDataRolesChiefTechnologyOfficerDCDP.yml +14 -0
  45. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqIcoRegistered.yml +17 -0
  46. package/frameworks/digital-outcomes-and-specialists-7/questions/services/multiqOtherTradeOrIndustryBodies.yml +17 -0
  47. package/frameworks/digital-outcomes-and-specialists-7/questions/services/otherTradeOrIndustryBodies.yml +29 -0
  48. package/frameworks/digital-outcomes-and-specialists-7/questions/services/otherTradeOrIndustryBodiesOther.yml +18 -0
  49. package/frameworks/digital-outcomes-and-specialists-7/questions/services/rasAccredited.yml +18 -0
  50. package/frameworks/digital-outcomes-and-specialists-7/questions/services/useRasAccreditedSubcontractors.yml +18 -0
  51. package/frameworks/digital-outcomes-and-specialists-7/questions/services/userResearchParticipantsEssentialsManage.yml +22 -0
  52. package/frameworks/digital-outcomes-and-specialists-7/questions/services/userResearchParticipantsEssentialsRecruit.yml +22 -0
  53. package/frameworks/digital-outcomes-and-specialists-7/questions/services/whatTypesOfUserResearchStudio.yml +24 -0
  54. package/frameworks/digital-outcomes-and-specialists-7/questions/services/whatUserResearchServices.yml +46 -0
  55. package/package.json +1 -1
  56. package/requirements-dev.txt +2 -2
  57. package/requirements.in +1 -1
  58. package/requirements.txt +1 -1
  59. package/schema_generator/validation.py +89 -17
  60. package/schemas/questions.json +23 -0
  61. package/tests/test_content.py +43 -0
  62. package/tests/test_generate_validation_schema.py +86 -2
  63. package/assets/style.css +0 -186
  64. package/assets/tests_test_generate_validation_schema.py__test_boolean_list_property_0_0.txt +0 -11
  65. package/assets/tests_test_generate_validation_schema.py__test_boolean_property_with_required_value_0_0.txt +0 -11
  66. package/assets/tests_test_generate_validation_schema.py__test_checkbox_property_0_0.txt +0 -14
  67. package/assets/tests_test_generate_validation_schema.py__test_checkbox_tree_property_0_0.txt +0 -13
  68. package/assets/tests_test_generate_validation_schema.py__test_list_property_0_0.txt +0 -11
  69. package/assets/tests_test_generate_validation_schema.py__test_number_property_0_0.txt +0 -11
  70. package/assets/tests_test_generate_validation_schema.py__test_number_property_limits_0_0.txt +0 -11
  71. package/assets/tests_test_generate_validation_schema.py__test_optional_text_property_0_0.txt +0 -11
  72. package/assets/tests_test_generate_validation_schema.py__test_parse_question_limits_char_count_0_0.txt +0 -11
  73. package/assets/tests_test_generate_validation_schema.py__test_parse_question_limits_word_count_0_0.txt +0 -11
  74. package/assets/tests_test_generate_validation_schema.py__test_parse_question_limits_word_count_optional_0_0.txt +0 -11
  75. package/assets/tests_test_generate_validation_schema.py__test_radios_property_0_0.txt +0 -14
  76. package/assets/tests_test_generate_validation_schema.py__test_text_property_0_0.txt +0 -11
  77. package/assets/tests_test_generate_validation_schema.py__test_text_property_format_0_0.txt +0 -11
  78. package/assets/tests_test_generate_validation_schema.py__test_uri_property_0_0.txt +0 -11
  79. package/frameworks/digital-outcomes-and-specialists-7/questions/services/serviceName.yml +0 -18
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_boolean_property_with_required_value:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 32% in data generation
5
- - 1 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.00 seconds):
8
- - Typical runtimes: < 1ms, ~ 43% in data generation
9
- - 1 passing examples, 0 failing examples, 0 invalid examples
10
-
11
- - Stopped because nothing left to do
@@ -1,14 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_checkbox_property:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 62% in data generation
5
- - 2 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (1.45 seconds):
8
- - Typical runtimes: 0-5 ms, ~ 90% in data generation
9
- - 98 passing examples, 0 failing examples, 307 invalid examples
10
- - Events:
11
- * 73.09%, Retried draw from lists(tuples(sampled_from(['label', 'value', 'description']), lists(<hypothesis.strategies._internal.strings.OneCharStringStrategy at 0x7fa37fde7b50>).map(''.join)), unique_by=operator.itemgetter(0)).map(dict).filter(lambda c: <unknown>) to satisfy filter
12
- * 52.84%, Aborted test because unable to satisfy lists(tuples(sampled_from(['label', 'value', 'description']), lists(<hypothesis.strategies._internal.strings.OneCharStringStrategy at 0x7fa37fde7b50>).map(''.join)), unique_by=operator.itemgetter(0)).map(dict).filter(lambda c: <unknown>)
13
-
14
- - Stopped because settings.max_examples=100
@@ -1,13 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_checkbox_tree_property:
2
-
3
- - during reuse phase (0.39 seconds):
4
- - Typical runtimes: 1-66 ms, ~ 96% in data generation
5
- - 10 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (12.13 seconds):
8
- - Typical runtimes: 0-91 ms, ~ 95% in data generation
9
- - 90 passing examples, 0 failing examples, 109 invalid examples
10
- - Events:
11
- * 62.81%, Draw for recursive(lists(nested_checkboxes()), create_options_with_children, max_leaves=10) exceeded max_leaves and had to be retried
12
-
13
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_list_property:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 47% in data generation
5
- - 2 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.10 seconds):
8
- - Typical runtimes: 0-1 ms, ~ 71% in data generation
9
- - 98 passing examples, 0 failing examples, 1 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_number_property:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 47% in data generation
5
- - 2 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.13 seconds):
8
- - Typical runtimes: 0-1 ms, ~ 72% in data generation
9
- - 98 passing examples, 0 failing examples, 1 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_number_property_limits:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 49% in data generation
5
- - 1 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.06 seconds):
8
- - Typical runtimes: < 1ms, ~ 64% in data generation
9
- - 99 passing examples, 0 failing examples, 0 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_optional_text_property:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 49% in data generation
5
- - 2 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.10 seconds):
8
- - Typical runtimes: < 1ms, ~ 71% in data generation
9
- - 98 passing examples, 0 failing examples, 3 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_parse_question_limits_char_count:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 27% in data generation
5
- - 1 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.04 seconds):
8
- - Typical runtimes: < 1ms, ~ 50% in data generation
9
- - 99 passing examples, 0 failing examples, 0 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_parse_question_limits_word_count:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 20% in data generation
5
- - 1 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.81 seconds):
8
- - Typical runtimes: 0-14 ms, ~ 2% in data generation
9
- - 99 passing examples, 0 failing examples, 0 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_parse_question_limits_word_count_optional:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 20% in data generation
5
- - 1 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.04 seconds):
8
- - Typical runtimes: < 1ms, ~ 25% in data generation
9
- - 99 passing examples, 0 failing examples, 0 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,14 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_radios_property:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 62% in data generation
5
- - 4 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.76 seconds):
8
- - Typical runtimes: 0-6 ms, ~ 89% in data generation
9
- - 96 passing examples, 0 failing examples, 110 invalid examples
10
- - Events:
11
- * 66.50%, Retried draw from lists(tuples(sampled_from(['label', 'value', 'description']), lists(<hypothesis.strategies._internal.strings.OneCharStringStrategy at 0x7fa37fde7b50>).map(''.join)), unique_by=operator.itemgetter(0)).map(dict).filter(lambda c: <unknown>) to satisfy filter
12
- * 49.51%, Aborted test because unable to satisfy lists(tuples(sampled_from(['label', 'value', 'description']), lists(<hypothesis.strategies._internal.strings.OneCharStringStrategy at 0x7fa37fde7b50>).map(''.join)), unique_by=operator.itemgetter(0)).map(dict).filter(lambda c: <unknown>)
13
-
14
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_text_property:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 46% in data generation
5
- - 2 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.09 seconds):
8
- - Typical runtimes: < 1ms, ~ 71% in data generation
9
- - 98 passing examples, 0 failing examples, 2 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_text_property_format:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 53% in data generation
5
- - 2 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.10 seconds):
8
- - Typical runtimes: 0-1 ms, ~ 70% in data generation
9
- - 98 passing examples, 0 failing examples, 1 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,11 +0,0 @@
1
- tests/test_generate_validation_schema.py::test_uri_property:
2
-
3
- - during reuse phase (0.00 seconds):
4
- - Typical runtimes: < 1ms, ~ 46% in data generation
5
- - 2 passing examples, 0 failing examples, 0 invalid examples
6
-
7
- - during generate phase (0.10 seconds):
8
- - Typical runtimes: < 1ms, ~ 72% in data generation
9
- - 98 passing examples, 0 failing examples, 1 invalid examples
10
-
11
- - Stopped because settings.max_examples=100
@@ -1,18 +0,0 @@
1
- name: What is the name of the room in the studio where participants and researchers carry out testing?
2
- question: >
3
- What is the name of the room in the studio where participants and researchers carry out testing?
4
- type: text
5
-
6
- depends:
7
- -
8
- "on": lot
9
- being:
10
- - user-research-studios-and-participants
11
-
12
- validations:
13
- -
14
- name: answer_required
15
- message: Enter the name of the room
16
- -
17
- name: under_character_limit
18
- message: The name of the room must be 100 characters or fewer