Skip to content

Commit 7d72fe3

Browse files
authored
Merge pull request #2589 from alphagov/add-algorithmic-transparency-reports-document-type
Add algorithmic transparency record specialist document type
2 parents 7cad8f3 + 17e69d1 commit 7d72fe3

File tree

13 files changed

+979
-1
lines changed

13 files changed

+979
-1
lines changed

content_schemas/allowed_document_types.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- accessible_documents_policy
55
- access_and_opening
66
- ai_assurance_portfolio_technique
7+
- algorithmic_transparency_record
78
- ambassador_role
89
- animal_disease_case
910
- answer

content_schemas/dist/formats/generic/frontend/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"accessible_documents_policy",
4141
"access_and_opening",
4242
"ai_assurance_portfolio_technique",
43+
"algorithmic_transparency_record",
4344
"ambassador_role",
4445
"animal_disease_case",
4546
"answer",

content_schemas/dist/formats/generic/notification/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"accessible_documents_policy",
6565
"access_and_opening",
6666
"ai_assurance_portfolio_technique",
67+
"algorithmic_transparency_record",
6768
"ambassador_role",
6869
"animal_disease_case",
6970
"answer",

content_schemas/dist/formats/generic/publisher_v2/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"accessible_documents_policy",
5151
"access_and_opening",
5252
"ai_assurance_portfolio_technique",
53+
"algorithmic_transparency_record",
5354
"ambassador_role",
5455
"animal_disease_case",
5556
"answer",

content_schemas/dist/formats/generic_with_external_related_links/frontend/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"accessible_documents_policy",
4141
"access_and_opening",
4242
"ai_assurance_portfolio_technique",
43+
"algorithmic_transparency_record",
4344
"ambassador_role",
4445
"animal_disease_case",
4546
"answer",

content_schemas/dist/formats/generic_with_external_related_links/notification/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"accessible_documents_policy",
6565
"access_and_opening",
6666
"ai_assurance_portfolio_technique",
67+
"algorithmic_transparency_record",
6768
"ambassador_role",
6869
"animal_disease_case",
6970
"answer",

content_schemas/dist/formats/generic_with_external_related_links/publisher_v2/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"accessible_documents_policy",
5151
"access_and_opening",
5252
"ai_assurance_portfolio_technique",
53+
"algorithmic_transparency_record",
5354
"ambassador_role",
5455
"animal_disease_case",
5556
"answer",

content_schemas/dist/formats/specialist_document/frontend/schema.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"enum": [
3737
"aaib_report",
3838
"ai_assurance_portfolio_technique",
39+
"algorithmic_transparency_record",
3940
"animal_disease_case",
4041
"asylum_support_decision",
4142
"business_finance_support_scheme",
@@ -436,6 +437,122 @@
436437
}
437438
}
438439
},
440+
"algorithmic_transparency_record_metadata": {
441+
"type": "object",
442+
"additionalProperties": false,
443+
"properties": {
444+
"algorithmic_transparency_record_atrs_version": {
445+
"type": "string"
446+
},
447+
"algorithmic_transparency_record_capability": {
448+
"type": "array",
449+
"items": {
450+
"type": "string",
451+
"enum": [
452+
"computer-vision",
453+
"computer-audition",
454+
"computer-linguistics",
455+
"robotics",
456+
"forecasting",
457+
"discovery",
458+
"planning",
459+
"creation",
460+
"analysis",
461+
"management",
462+
"other"
463+
]
464+
}
465+
},
466+
"algorithmic_transparency_record_date_published": {
467+
"type": "string",
468+
"pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
469+
},
470+
"algorithmic_transparency_record_function": {
471+
"type": "array",
472+
"items": {
473+
"type": "string",
474+
"enum": [
475+
"general-public-services",
476+
"defence",
477+
"public-order-and-safety",
478+
"economic-affairs",
479+
"environmental-protection",
480+
"housing-and-community-amenities",
481+
"health",
482+
"recreation-culture-and-religion",
483+
"education",
484+
"social-protection",
485+
"regulation"
486+
]
487+
}
488+
},
489+
"algorithmic_transparency_record_organisation": {
490+
"type": "string",
491+
"enum": [
492+
"cabinet-office",
493+
"ministry-of-justice",
494+
"information-commissioners-office",
495+
"department-for-health-and-social-care",
496+
"food-standards-agency",
497+
"hampshire-and-thames-valley-police",
498+
"west-midlands-police",
499+
"department-for-science-innovation-and-technology",
500+
"department-for-education"
501+
]
502+
},
503+
"algorithmic_transparency_record_organisation_type": {
504+
"type": "array",
505+
"items": {
506+
"type": "string",
507+
"enum": [
508+
"ministerial-department",
509+
"non-ministerial-department",
510+
"agency-or-public-body",
511+
"local-authority",
512+
"devolved-administration",
513+
"high-profile-group",
514+
"public-corporation"
515+
]
516+
}
517+
},
518+
"algorithmic_transparency_record_other_tags": {
519+
"type": "string"
520+
},
521+
"algorithmic_transparency_record_phase": {
522+
"type": "string",
523+
"enum": [
524+
"pre-deployment",
525+
"beta-pilot",
526+
"production",
527+
"retired"
528+
]
529+
},
530+
"algorithmic_transparency_record_region": {
531+
"type": "array",
532+
"items": {
533+
"type": "string",
534+
"enum": [
535+
"northern-ireland",
536+
"scotland",
537+
"wales",
538+
"england",
539+
"london",
540+
"north-east",
541+
"north-west",
542+
"yorkshire-and-the-humber",
543+
"east-midlands",
544+
"west-midlands",
545+
"south-east",
546+
"east-of-england",
547+
"south-west"
548+
]
549+
}
550+
},
551+
"algorithmic_transparency_record_task": {
552+
"type": "string"
553+
}
554+
}
555+
},
439556
"analytics_identifier": {
440557
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations.",
441558
"anyOf": [
@@ -521,6 +638,9 @@
521638
{
522639
"$ref": "#/definitions/ai_assurance_portfolio_technique_metadata"
523640
},
641+
{
642+
"$ref": "#/definitions/algorithmic_transparency_record_metadata"
643+
},
524644
{
525645
"$ref": "#/definitions/animal_disease_case_metadata"
526646
},

content_schemas/dist/formats/specialist_document/notification/schema.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"enum": [
6161
"aaib_report",
6262
"ai_assurance_portfolio_technique",
63+
"algorithmic_transparency_record",
6364
"animal_disease_case",
6465
"asylum_support_decision",
6566
"business_finance_support_scheme",
@@ -528,6 +529,122 @@
528529
}
529530
}
530531
},
532+
"algorithmic_transparency_record_metadata": {
533+
"type": "object",
534+
"additionalProperties": false,
535+
"properties": {
536+
"algorithmic_transparency_record_atrs_version": {
537+
"type": "string"
538+
},
539+
"algorithmic_transparency_record_capability": {
540+
"type": "array",
541+
"items": {
542+
"type": "string",
543+
"enum": [
544+
"computer-vision",
545+
"computer-audition",
546+
"computer-linguistics",
547+
"robotics",
548+
"forecasting",
549+
"discovery",
550+
"planning",
551+
"creation",
552+
"analysis",
553+
"management",
554+
"other"
555+
]
556+
}
557+
},
558+
"algorithmic_transparency_record_date_published": {
559+
"type": "string",
560+
"pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
561+
},
562+
"algorithmic_transparency_record_function": {
563+
"type": "array",
564+
"items": {
565+
"type": "string",
566+
"enum": [
567+
"general-public-services",
568+
"defence",
569+
"public-order-and-safety",
570+
"economic-affairs",
571+
"environmental-protection",
572+
"housing-and-community-amenities",
573+
"health",
574+
"recreation-culture-and-religion",
575+
"education",
576+
"social-protection",
577+
"regulation"
578+
]
579+
}
580+
},
581+
"algorithmic_transparency_record_organisation": {
582+
"type": "string",
583+
"enum": [
584+
"cabinet-office",
585+
"ministry-of-justice",
586+
"information-commissioners-office",
587+
"department-for-health-and-social-care",
588+
"food-standards-agency",
589+
"hampshire-and-thames-valley-police",
590+
"west-midlands-police",
591+
"department-for-science-innovation-and-technology",
592+
"department-for-education"
593+
]
594+
},
595+
"algorithmic_transparency_record_organisation_type": {
596+
"type": "array",
597+
"items": {
598+
"type": "string",
599+
"enum": [
600+
"ministerial-department",
601+
"non-ministerial-department",
602+
"agency-or-public-body",
603+
"local-authority",
604+
"devolved-administration",
605+
"high-profile-group",
606+
"public-corporation"
607+
]
608+
}
609+
},
610+
"algorithmic_transparency_record_other_tags": {
611+
"type": "string"
612+
},
613+
"algorithmic_transparency_record_phase": {
614+
"type": "string",
615+
"enum": [
616+
"pre-deployment",
617+
"beta-pilot",
618+
"production",
619+
"retired"
620+
]
621+
},
622+
"algorithmic_transparency_record_region": {
623+
"type": "array",
624+
"items": {
625+
"type": "string",
626+
"enum": [
627+
"northern-ireland",
628+
"scotland",
629+
"wales",
630+
"england",
631+
"london",
632+
"north-east",
633+
"north-west",
634+
"yorkshire-and-the-humber",
635+
"east-midlands",
636+
"west-midlands",
637+
"south-east",
638+
"east-of-england",
639+
"south-west"
640+
]
641+
}
642+
},
643+
"algorithmic_transparency_record_task": {
644+
"type": "string"
645+
}
646+
}
647+
},
531648
"analytics_identifier": {
532649
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations.",
533650
"anyOf": [
@@ -613,6 +730,9 @@
613730
{
614731
"$ref": "#/definitions/ai_assurance_portfolio_technique_metadata"
615732
},
733+
{
734+
"$ref": "#/definitions/algorithmic_transparency_record_metadata"
735+
},
616736
{
617737
"$ref": "#/definitions/animal_disease_case_metadata"
618738
},

0 commit comments

Comments
 (0)