Skip to content

Instantly share code, notes, and snippets.

@theseanything
Last active July 30, 2019 14:30
Show Gist options
  • Save theseanything/06dabff05580869d39c32f4c46bf130e to your computer and use it in GitHub Desktop.
Save theseanything/06dabff05580869d39c32f4c46bf130e to your computer and use it in GitHub Desktop.
---
defaults:
features: &default_features
- title
- base_path
- summary
- body
tags: &default_tags
- primary_publishing_org
- id: news_story
publishing_metadata:
schema_name: news_article
rendering_app: government-frontend
features:
<<: *default_features
- lead_images
- topics
- change_notes
tags:
- primary_publishing_organisation
- organisations
- role_appointments
- topical_events
- world_locations
- id: press_release
features:
<<: *default_features
- lead_images
- topics
- change_notes
tags:
- primary_publishing_organisation
- organisations
- role_appointments
- topical_events
- world_locations
publishing_metadata:
schema_name: press_release
rendering_app: government-frontend
managed_elsewhere:
publishing_app: whitehall-admin
publishing_path: /government/admin/fatalities/new
- id: fatality_notice
publishing_metadata:
managed_elsewhere:
app: whitehall-admin
path: /government/admin/speech/new
- id: speech
publishing_metadata:
managed_elsewhere:
app: whitehall-admin
path: /government/admin/speech/new
---
root:
type: selection
options:
- news
- guidance
- transparency
- policy
- document_collection
- corporate_information
- not-sure
news:
type: selection
options:
- news_story
- press_release
- speech
- statement_to_parliament
- authored_article
- fatality_notice
---
edit_sections:
content:
type: multi
features:
- title
- base_path
- summary
- body
- change_note
lead_image:
type: single
feature: lead_image
topics:
type: single
feature: topics
details:
type: multi
features:
- speech_type
- speaker
- speech_date
tags:
type: multi
tags:
- primary_publishing_organisation
- organisations
- role_appointments
- topical_events
- world_locations
content_settings:
type: multi
features:
- access_limiting
- backdate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment