ccs-digitalmarketplace-frameworks 1.9.1 → 1.9.2
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/package.json +1 -1
- package/schema_generator/validation.py +20 -8
- package/tests/test_content.py +2 -2
- /package/frameworks/digital-outcomes-and-specialists-7/manifests/{edit_evaluation.yml → edit_evaluations.yml} +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/manifests/{evaluation.yml → evaluations.yml} +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluation → evaluations}/deliverCapability.yml +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluation → evaluations}/deliverCapabilityComment.yml +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluation → evaluations}/deliverCapabilityScore.yml +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluation → evaluations}/describeCapabilityPartner.yml +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluation → evaluations}/describeCapabilityPartnerComment.yml +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluation → evaluations}/describeCapabilityPartnerScore.yml +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluation → evaluations}/provideCapability.yml +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluation → evaluations}/provideCapabilityComment.yml +0 -0
- /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluation → evaluations}/provideCapabilityScore.yml +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccs-digitalmarketplace-frameworks",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
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"
|
|
@@ -21,6 +21,10 @@ MANIFESTS = {
|
|
|
21
21
|
'question_set': 'briefs',
|
|
22
22
|
'manifest': 'award_brief'
|
|
23
23
|
},
|
|
24
|
+
'evaluations': {
|
|
25
|
+
'question_set': 'evaluations',
|
|
26
|
+
'manifest': 'edit_evaluations'
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
LEGACY_GCLOUD_LOTS = [
|
|
@@ -111,7 +115,7 @@ BRIEF_EXCLUDED_FRAMEWORKS = [
|
|
|
111
115
|
]
|
|
112
116
|
|
|
113
117
|
|
|
114
|
-
def _get_schema_title_and_slugs(schema_type, framework_family=None,
|
|
118
|
+
def _get_schema_title_and_slugs(schema_type, framework_family=None, exclude_lots=[], exclude_frameworks=[]):
|
|
115
119
|
titles_and_slugs = []
|
|
116
120
|
for family, framework_list in FRAMEWORKS_AND_LOTS.items():
|
|
117
121
|
if framework_family:
|
|
@@ -123,10 +127,8 @@ def _get_schema_title_and_slugs(schema_type, framework_family=None, exclude_lot=
|
|
|
123
127
|
if framework['framework_slug'] in exclude_frameworks:
|
|
124
128
|
continue
|
|
125
129
|
for lot_slug, lot_name in framework['lots']:
|
|
126
|
-
if
|
|
127
|
-
|
|
128
|
-
if exclude_lot == lot_slug:
|
|
129
|
-
continue
|
|
130
|
+
if lot_slug in exclude_lots:
|
|
131
|
+
continue
|
|
130
132
|
|
|
131
133
|
titles_and_slugs.append(
|
|
132
134
|
(
|
|
@@ -143,20 +145,30 @@ SCHEMAS = {
|
|
|
143
145
|
'briefs': _get_schema_title_and_slugs(
|
|
144
146
|
"Brief",
|
|
145
147
|
"digital-outcomes-and-specialists",
|
|
146
|
-
|
|
148
|
+
exclude_lots=["user-research-studios"],
|
|
147
149
|
exclude_frameworks=BRIEF_EXCLUDED_FRAMEWORKS
|
|
148
150
|
),
|
|
149
151
|
'brief-responses': _get_schema_title_and_slugs(
|
|
150
152
|
"Brief Response",
|
|
151
153
|
"digital-outcomes-and-specialists",
|
|
152
|
-
|
|
154
|
+
exclude_lots=["user-research-studios"],
|
|
153
155
|
exclude_frameworks=BRIEF_EXCLUDED_FRAMEWORKS
|
|
154
156
|
),
|
|
155
157
|
'brief-awards': _get_schema_title_and_slugs(
|
|
156
158
|
"Brief Award",
|
|
157
159
|
"digital-outcomes-and-specialists",
|
|
158
|
-
|
|
160
|
+
exclude_lots=["user-research-studios"],
|
|
159
161
|
exclude_frameworks=BRIEF_EXCLUDED_FRAMEWORKS
|
|
162
|
+
),
|
|
163
|
+
'evaluations': _get_schema_title_and_slugs(
|
|
164
|
+
"Evaluation",
|
|
165
|
+
"digital-outcomes-and-specialists",
|
|
166
|
+
exclude_lots=[
|
|
167
|
+
"digital-outcomes",
|
|
168
|
+
"digital-specialists",
|
|
169
|
+
"user-research-studios",
|
|
170
|
+
"user-research-participants",
|
|
171
|
+
],
|
|
160
172
|
)
|
|
161
173
|
}
|
|
162
174
|
|
package/tests/test_content.py
CHANGED
|
@@ -33,8 +33,8 @@ MANIFEST_QUESTION_SET = {
|
|
|
33
33
|
"services_search_filters": "services",
|
|
34
34
|
"download_results": "services",
|
|
35
35
|
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"evaluations": "evaluations",
|
|
37
|
+
"edit_evaluations": "evaluations"
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
# `item` property wouldn't usually be part of a brief response but is included here as the dynamic list child question
|
|
File without changes
|
/package/frameworks/digital-outcomes-and-specialists-7/manifests/{evaluation.yml → evaluations.yml}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|