govuk_document_types 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +4 -0
- data/data/content_purpose_supergroups.md +20 -0
- data/data/supergroups.yml +49 -0
- data/data/supertypes.yml +190 -2
- data/lib/govuk_document_types/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 15817f7fe8f27f931fb48535729a5b2a8dc7932f9995cbe9f140014f6ca1bcc7
|
4
|
+
data.tar.gz: 1353e369255cd95981df1b6e754b981e69082cd45887339dd9dbea3c06bd75f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 302b16424faab73c68816caacc20b320483907f9a3a26e4df4406096cfff7ecb72ee29965f31c6c5723d4aecaa0f56b18df6cea54282fc81ad60f78a324e859d
|
7
|
+
data.tar.gz: 55711279e3813caacc5db86d887f6674546ce83f48b7295f90b76561cdcf28d729fac48653223b88316b1eff273803bb3effbb98fd43ff505e09ced4e198dca7
|
data/CHANGELOG.md
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Content Purpose Supergroups
|
2
|
+
|
3
|
+
These are the grouping that the navigation team came up with
|
4
|
+
as a result of an investigation done using the "Jobs to be Done" framework in Q4.
|
5
|
+
|
6
|
+
There are 5 high level Content Purpose Supergroups which each group together some subgroups
|
7
|
+
which in turn group `document_types`.
|
8
|
+
|
9
|
+
More information about the JTBD framework and the supergroups can be found on the
|
10
|
+
[GovUK wiki](https://gov-uk.atlassian.net/wiki/spaces/GFED/pages/305201156/Document+type+groupings)
|
11
|
+
|
12
|
+
The list of which document types are grouped by both supergroups and subgroups can be
|
13
|
+
found in the [supertypes.yml](./supertypes.yml) file.
|
14
|
+
|
15
|
+
The list of the subgroups grouped by supergroup are in the file [supergroups.yml](./supergroups.yml).
|
16
|
+
If you want to make a change to the `document_type` groupings in the sub or supergroups, you must make the
|
17
|
+
relevant change in both groups and both files to make sure there are no discrepancies between the groups.
|
18
|
+
|
19
|
+
To make sure that your changes were correct, run the data linting test in the
|
20
|
+
[data_lint_spec.rb](../spec/data_lint_spec.rb) file.
|
@@ -0,0 +1,49 @@
|
|
1
|
+
content_purpose_supergroup:
|
2
|
+
name: "Content Purpose Supergroup"
|
3
|
+
description: "These are the new supergroups that came out of the research from the JTBD framework in Q4 by the navigation team and are used in the topic pages."
|
4
|
+
default: other
|
5
|
+
items:
|
6
|
+
- id: news_and_communications
|
7
|
+
subgroups:
|
8
|
+
- updates_and_alerts
|
9
|
+
- news
|
10
|
+
- speeches_and_statements
|
11
|
+
- id: guidance_and_regulation
|
12
|
+
subgroups:
|
13
|
+
- guidance
|
14
|
+
- regulation
|
15
|
+
- business_support
|
16
|
+
- id: services
|
17
|
+
subgroups:
|
18
|
+
- transactions
|
19
|
+
- id: policy_and_engagement
|
20
|
+
subgroups:
|
21
|
+
- policy
|
22
|
+
- consultations
|
23
|
+
- id: transparency
|
24
|
+
subgroups:
|
25
|
+
- decisions
|
26
|
+
- incidents
|
27
|
+
- research_and_data
|
28
|
+
|
29
|
+
documentation : |
|
30
|
+
##Content Purpose Supergroups
|
31
|
+
|
32
|
+
These are the grouping that the navigation team came up with
|
33
|
+
as a result of an investigation done using the "Jobs to be Done" framework in Q4.
|
34
|
+
|
35
|
+
There are 5 high level Content Purpose Supergroups which each group together some subgroups
|
36
|
+
which in turn group `document_types`.
|
37
|
+
|
38
|
+
More information about the JTBD framework and the supergroups can be found on the
|
39
|
+
[GovUK wiki](https://gov-uk.atlassian.net/wiki/spaces/GFED/pages/305201156/Document+type+groupings)
|
40
|
+
|
41
|
+
The list of which document types are grouped by both supergroups and subgroups can be
|
42
|
+
found in the [supertypes.yml](./supertypes.yml) file.
|
43
|
+
|
44
|
+
The list of the subgroups grouped by supergroup are in the file [supergroups.yml](./supergroups.yml).
|
45
|
+
If you want to make a change to the `document_type` groupings in the sub or supergroups, you must make the
|
46
|
+
relevant change in both groups and both files to make sure there are no discrepancies between the groups.
|
47
|
+
|
48
|
+
To make sure that your changes were correct, run the data linting test in the
|
49
|
+
[data_lint_spec.rb](../spec/data_lint_spec.rb) file.
|
data/data/supertypes.yml
CHANGED
@@ -27,7 +27,7 @@ navigation_document_supertype:
|
|
27
27
|
|
28
28
|
content_purpose_document_supertype:
|
29
29
|
name: "Content purpose"
|
30
|
-
description: "
|
30
|
+
description: "DEPRECATED - Please use `content_purpose_subgroup`. The team grouped document types that serve a similar purpose for users into top-level content groups. In time, this information could be used to serve relevant links into a content page sidebar and pull feeds of specific content groups into navigation pages."
|
31
31
|
default: other
|
32
32
|
items:
|
33
33
|
- id: updates-and-alerts
|
@@ -40,7 +40,6 @@ content_purpose_document_supertype:
|
|
40
40
|
- official_statistics_announcement
|
41
41
|
- staff_update
|
42
42
|
- statistics_announcement
|
43
|
-
- vehicle_recalls_and_faults_alert
|
44
43
|
|
45
44
|
- id: news
|
46
45
|
description: To communicate what government is doing (non-urgent)
|
@@ -381,3 +380,192 @@ government_document_supertype:
|
|
381
380
|
- id: government-responses
|
382
381
|
document_types:
|
383
382
|
- government_response
|
383
|
+
|
384
|
+
content_purpose_subgroup:
|
385
|
+
name: "Content Purpose Subgroup"
|
386
|
+
description: "These are the new sub groups that came out of the research from the JTBD framework in Q4 by the navigation team and are used in the topic pages. These are the sub groups connected to the content_purpose_document_supergroup"
|
387
|
+
default: other
|
388
|
+
items:
|
389
|
+
- id: updates_and_alerts
|
390
|
+
document_types:
|
391
|
+
- fatality_notice
|
392
|
+
- medical_safety_alert
|
393
|
+
- drug_safety_update
|
394
|
+
- notice
|
395
|
+
- id: news
|
396
|
+
document_types:
|
397
|
+
- news_article
|
398
|
+
- news_story
|
399
|
+
- press_release
|
400
|
+
- world_location_news_article
|
401
|
+
- world_news_story
|
402
|
+
- id: speeches_and_statements
|
403
|
+
document_types:
|
404
|
+
- speech
|
405
|
+
- oral_statement
|
406
|
+
- written_statement
|
407
|
+
- authored_article
|
408
|
+
- government_response
|
409
|
+
- correspondence
|
410
|
+
- id: guidance
|
411
|
+
document_types:
|
412
|
+
- guide
|
413
|
+
- detailed_guide
|
414
|
+
- manual
|
415
|
+
- manual_section
|
416
|
+
- guidance
|
417
|
+
- answer
|
418
|
+
- contact
|
419
|
+
- calendar
|
420
|
+
- travel_advice
|
421
|
+
- id: regulation
|
422
|
+
document_types:
|
423
|
+
- statutory_guidance
|
424
|
+
- regulation
|
425
|
+
- id: business_support
|
426
|
+
document_types:
|
427
|
+
- international_development_fund
|
428
|
+
- countryside_stewardship_grant
|
429
|
+
- esi_fund
|
430
|
+
- business_finance_support_scheme
|
431
|
+
- id: transactions
|
432
|
+
document_types:
|
433
|
+
- transaction
|
434
|
+
- completed_transaction
|
435
|
+
- local_transaction
|
436
|
+
- form
|
437
|
+
- licence
|
438
|
+
- calculator
|
439
|
+
- smart_answer
|
440
|
+
- simple_smart_answer
|
441
|
+
- place
|
442
|
+
- step_by_step_nav
|
443
|
+
- id: policy
|
444
|
+
document_types:
|
445
|
+
- policy_paper
|
446
|
+
- independent_report
|
447
|
+
- impact_assessment
|
448
|
+
- case_study
|
449
|
+
- id: consultations
|
450
|
+
document_types:
|
451
|
+
- open_consultation
|
452
|
+
- closed_consultation
|
453
|
+
- consultation_outcome
|
454
|
+
- id: decisions
|
455
|
+
document_types:
|
456
|
+
- decision
|
457
|
+
- employment_tribunal_decision
|
458
|
+
- tax_tribunal_decision
|
459
|
+
- utaac_decision
|
460
|
+
- asylum_support_decision
|
461
|
+
- employment_appeal_tribunal_decision
|
462
|
+
- international_treaty
|
463
|
+
- service_standard_report
|
464
|
+
- cma_case
|
465
|
+
- id: incidents
|
466
|
+
document_types:
|
467
|
+
- aaib_report
|
468
|
+
- raib_report
|
469
|
+
- maib_report
|
470
|
+
- id: research_and_data
|
471
|
+
document_types:
|
472
|
+
- official_statistics
|
473
|
+
- statistics
|
474
|
+
- national_statistics
|
475
|
+
- statistics_announcement
|
476
|
+
- national_statistics_announcement
|
477
|
+
- official_statistics_announcement
|
478
|
+
- statistical_data_set
|
479
|
+
- research
|
480
|
+
- dfid_research_output
|
481
|
+
- transparency
|
482
|
+
- map
|
483
|
+
- foi_release
|
484
|
+
|
485
|
+
content_purpose_supergroup:
|
486
|
+
name: "Content Purpose Supergroup"
|
487
|
+
description: "These are the new supergroups that came out of the research from the JTBD framework in Q4 by the navigation team and are used in the topic pages."
|
488
|
+
default: other
|
489
|
+
items:
|
490
|
+
- id: news_and_communications
|
491
|
+
document_types:
|
492
|
+
- fatality_notice
|
493
|
+
- medical_safety_alert
|
494
|
+
- drug_safety_update
|
495
|
+
- notice
|
496
|
+
- news_article
|
497
|
+
- news_story
|
498
|
+
- press_release
|
499
|
+
- world_location_news_article
|
500
|
+
- world_news_story
|
501
|
+
- speech
|
502
|
+
- oral_statement
|
503
|
+
- written_statement
|
504
|
+
- authored_article
|
505
|
+
- government_response
|
506
|
+
- correspondence
|
507
|
+
- id: guidance_and_regulation
|
508
|
+
document_types:
|
509
|
+
- guide
|
510
|
+
- detailed_guide
|
511
|
+
- manual
|
512
|
+
- manual_section
|
513
|
+
- guidance
|
514
|
+
- answer
|
515
|
+
- contact
|
516
|
+
- calendar
|
517
|
+
- travel_advice
|
518
|
+
- statutory_guidance
|
519
|
+
- regulation
|
520
|
+
- international_development_fund
|
521
|
+
- countryside_stewardship_grant
|
522
|
+
- esi_fund
|
523
|
+
- business_finance_support_scheme
|
524
|
+
- id: services
|
525
|
+
document_types:
|
526
|
+
- transaction
|
527
|
+
- completed_transaction
|
528
|
+
- local_transaction
|
529
|
+
- form
|
530
|
+
- licence
|
531
|
+
- calculator
|
532
|
+
- smart_answer
|
533
|
+
- simple_smart_answer
|
534
|
+
- place
|
535
|
+
- step_by_step_nav
|
536
|
+
- id: policy_and_engagement
|
537
|
+
document_types:
|
538
|
+
- policy_paper
|
539
|
+
- independent_report
|
540
|
+
- impact_assessment
|
541
|
+
- case_study
|
542
|
+
- open_consultation
|
543
|
+
- closed_consultation
|
544
|
+
- consultation_outcome
|
545
|
+
- id: transparency
|
546
|
+
document_types:
|
547
|
+
- decision
|
548
|
+
- employment_tribunal_decision
|
549
|
+
- tax_tribunal_decision
|
550
|
+
- utaac_decision
|
551
|
+
- asylum_support_decision
|
552
|
+
- employment_appeal_tribunal_decision
|
553
|
+
- international_treaty
|
554
|
+
- service_standard_report
|
555
|
+
- cma_case
|
556
|
+
- aaib_report
|
557
|
+
- raib_report
|
558
|
+
- maib_report
|
559
|
+
- official_statistics
|
560
|
+
- statistics
|
561
|
+
- national_statistics
|
562
|
+
- statistics_announcement
|
563
|
+
- national_statistics_announcement
|
564
|
+
- official_statistics_announcement
|
565
|
+
- statistical_data_set
|
566
|
+
- research
|
567
|
+
- dfid_research_output
|
568
|
+
- transparency
|
569
|
+
- map
|
570
|
+
- foi_release
|
571
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_document_types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -70,6 +70,8 @@ files:
|
|
70
70
|
- Rakefile
|
71
71
|
- bin/console
|
72
72
|
- bin/setup
|
73
|
+
- data/content_purpose_supergroups.md
|
74
|
+
- data/supergroups.yml
|
73
75
|
- data/supertypes.yml
|
74
76
|
- govuk_document_types.gemspec
|
75
77
|
- lib/govuk_document_types.rb
|
@@ -94,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
96
|
version: '0'
|
95
97
|
requirements: []
|
96
98
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.
|
99
|
+
rubygems_version: 2.7.3
|
98
100
|
signing_key:
|
99
101
|
specification_version: 4
|
100
102
|
summary: Gem to share document type groupings
|