Skip to content

Commit

Permalink
Merge pull request #3026 from alphagov/data-ethics-guidance-hub
Browse files Browse the repository at this point in the history
Add data_ethics_guidance_document Specialist Document type
  • Loading branch information
lauraghiorghisor-tw authored Dec 16, 2024
2 parents 35a47a9 + c2137dc commit 92d6dd0
Show file tree
Hide file tree
Showing 11 changed files with 154 additions and 0 deletions.
1 change: 1 addition & 0 deletions content_schemas/allowed_document_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
- corporate_report
- correspondence
- countryside_stewardship_grant
- data_ethics_guidance_document
- decision
- deputy_head_of_mission_role
- detailed_guide
Expand Down
1 change: 1 addition & 0 deletions content_schemas/dist/formats/generic/frontend/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"data_ethics_guidance_document",
"decision",
"deputy_head_of_mission_role",
"detailed_guide",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"data_ethics_guidance_document",
"decision",
"deputy_head_of_mission_role",
"detailed_guide",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"data_ethics_guidance_document",
"decision",
"deputy_head_of_mission_role",
"detailed_guide",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"data_ethics_guidance_document",
"decision",
"deputy_head_of_mission_role",
"detailed_guide",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"data_ethics_guidance_document",
"decision",
"deputy_head_of_mission_role",
"detailed_guide",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"data_ethics_guidance_document",
"decision",
"deputy_head_of_mission_role",
"detailed_guide",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"data_ethics_guidance_document",
"decision",
"deputy_head_of_mission_role",
"detailed_guide",
Expand Down Expand Up @@ -628,6 +629,9 @@
{
"$ref": "#/definitions/employment_tribunal_decision_metadata"
},
{
"$ref": "#/definitions/data_ethics_guidance_document_metadata"
},
{
"$ref": "#/definitions/european_structural_investment_fund_metadata"
},
Expand Down Expand Up @@ -888,6 +892,39 @@
}
}
},
"data_ethics_guidance_document_metadata": {
"type": "object",
"additionalProperties": false,
"properties": {
"bulk_published": {
"type": "boolean"
},
"data_ethics_guidance_document_ethical_theme": {
"type": "array",
"items": {
"type": "string"
}
},
"data_ethics_guidance_document_key_reference": {
"type": "string"
},
"data_ethics_guidance_document_organisation": {
"type": "string"
},
"data_ethics_guidance_document_project_phase": {
"type": "array",
"items": {
"type": "string"
}
},
"data_ethics_guidance_document_technology_area": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"description_optional": {
"anyOf": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"data_ethics_guidance_document",
"decision",
"deputy_head_of_mission_role",
"detailed_guide",
Expand Down Expand Up @@ -716,6 +717,9 @@
{
"$ref": "#/definitions/employment_tribunal_decision_metadata"
},
{
"$ref": "#/definitions/data_ethics_guidance_document_metadata"
},
{
"$ref": "#/definitions/european_structural_investment_fund_metadata"
},
Expand Down Expand Up @@ -976,6 +980,39 @@
}
}
},
"data_ethics_guidance_document_metadata": {
"type": "object",
"additionalProperties": false,
"properties": {
"bulk_published": {
"type": "boolean"
},
"data_ethics_guidance_document_ethical_theme": {
"type": "array",
"items": {
"type": "string"
}
},
"data_ethics_guidance_document_key_reference": {
"type": "string"
},
"data_ethics_guidance_document_organisation": {
"type": "string"
},
"data_ethics_guidance_document_project_phase": {
"type": "array",
"items": {
"type": "string"
}
},
"data_ethics_guidance_document_technology_area": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"description_optional": {
"anyOf": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"data_ethics_guidance_document",
"decision",
"deputy_head_of_mission_role",
"detailed_guide",
Expand Down Expand Up @@ -562,6 +563,9 @@
{
"$ref": "#/definitions/employment_tribunal_decision_metadata"
},
{
"$ref": "#/definitions/data_ethics_guidance_document_metadata"
},
{
"$ref": "#/definitions/european_structural_investment_fund_metadata"
},
Expand Down Expand Up @@ -822,6 +826,39 @@
}
}
},
"data_ethics_guidance_document_metadata": {
"type": "object",
"additionalProperties": false,
"properties": {
"bulk_published": {
"type": "boolean"
},
"data_ethics_guidance_document_ethical_theme": {
"type": "array",
"items": {
"type": "string"
}
},
"data_ethics_guidance_document_key_reference": {
"type": "string"
},
"data_ethics_guidance_document_organisation": {
"type": "string"
},
"data_ethics_guidance_document_project_phase": {
"type": "array",
"items": {
"type": "string"
}
},
"data_ethics_guidance_document_technology_area": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"description_optional": {
"anyOf": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
{
"$ref": "#/definitions/employment_tribunal_decision_metadata",
},
{
"$ref": "#/definitions/data_ethics_guidance_document_metadata",
},
{
"$ref": "#/definitions/european_structural_investment_fund_metadata",
},
Expand Down Expand Up @@ -456,6 +459,39 @@
},
},
},
data_ethics_guidance_document_metadata: {
type: "object",
additionalProperties: false,
properties: {
bulk_published: {
type: "boolean",
},
data_ethics_guidance_document_key_reference: {
type: "string",
},
data_ethics_guidance_document_ethical_theme: {
type: "array",
items: {
type: "string",
},
},
data_ethics_guidance_document_organisation: {
type: "string",
},
data_ethics_guidance_document_project_phase: {
type: "array",
items: {
type: "string",
},
},
data_ethics_guidance_document_technology_area: {
type: "array",
items: {
type: "string",
},
},
},
},
drcf_digital_markets_research_metadata: {
type: "object",
additionalProperties: false,
Expand Down

0 comments on commit 92d6dd0

Please sign in to comment.