Skip to content

Commit

Permalink
Remove placeholder document type
Browse files Browse the repository at this point in the history
Since all rendering has been moved out of Whitehall, there will be no
documents published with the type of `placeholder`.

Therefore removing it from the schemas.
  • Loading branch information
brucebolt committed Sep 14, 2023
1 parent 48d6d8a commit a0c4286
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 16 deletions.
1 change: 0 additions & 1 deletion content_schemas/allowed_document_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
- personal_information_charter
- petitions_and_campaigns
- place
- placeholder
- policy_paper
- press_release
- procurement
Expand Down
1 change: 0 additions & 1 deletion content_schemas/dist/formats/generic/frontend/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"policy_paper",
"press_release",
"procurement",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"policy_paper",
"press_release",
"procurement",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"policy_paper",
"press_release",
"procurement",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"policy_paper",
"press_release",
"procurement",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"policy_paper",
"press_release",
"procurement",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"policy_paper",
"press_release",
"procurement",
Expand Down
6 changes: 3 additions & 3 deletions content_schemas/dist/formats/placeholder/frontend/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"policy_paper",
"press_release",
"procurement",
Expand Down Expand Up @@ -399,9 +398,10 @@
]
},
"schema_name": {
"description": "Should be of the form 'placeholder_my_format_name'. 'placeholder' is allowed for backwards compatibility.",
"type": "string",
"pattern": "^(placeholder|placeholder_.+)$"
"enum": [
"placeholder"
]
},
"title": {
"$ref": "#/definitions/title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"policy_paper",
"press_release",
"procurement",
Expand Down Expand Up @@ -483,9 +482,10 @@
"$ref": "#/definitions/routes"
},
"schema_name": {
"description": "Should be of the form 'placeholder_my_format_name'. 'placeholder' is allowed for backwards compatibility.",
"type": "string",
"pattern": "^(placeholder|placeholder_.+)$"
"enum": [
"placeholder"
]
},
"search_user_need_document_supertype": {
"description": "Document supertype grouping core and government documents",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"policy_paper",
"press_release",
"procurement",
Expand Down Expand Up @@ -286,9 +285,10 @@
"$ref": "#/definitions/routes"
},
"schema_name": {
"description": "Should be of the form 'placeholder_my_format_name'. 'placeholder' is allowed for backwards compatibility.",
"type": "string",
"pattern": "^(placeholder|placeholder_.+)$"
"enum": [
"placeholder"
]
},
"title": {
"$ref": "#/definitions/title"
Expand Down

0 comments on commit a0c4286

Please sign in to comment.