As a Facilities team member, I want to prevent Editors from entering information that will result in skipped headings. While there may be ways to make the Front End defensive against these scenarios, making a requirement at the Drupal level could be more impactful long-term
As a consumer of the Facilities API, I need a unique ID to differentiate Service Locations when there are more than 1 on a Service
Desired logic:
IF either field_building_name_number or field_wing_floor_or_room_number are populated
THEN field_clinic_name should be required
ALSO
IF there are two or more Service Locations on a Service
THEN field_clinic_name should be required
AND Should be different that other Service Locations on the Service
Possible wrinkle:
Service Location Address is nested in Service Location which is nested in four different Facility Services. Can this logic live at the Paragraph level, or does it need to be added to every Content Type that uses the Paragraph?
User Story or Problem Statement
As a Facilities team member, I want to prevent Editors from entering information that will result in skipped headings. While there may be ways to make the Front End defensive against these scenarios, making a requirement at the Drupal level could be more impactful long-term
As a consumer of the Facilities API, I need a unique ID to differentiate Service Locations when there are more than 1 on a Service
Desired logic: IF either
field_building_name_number
orfield_wing_floor_or_room_number
are populated THENfield_clinic_name
should be requiredALSO
IF there are two or more Service Locations on a Service THEN
field_clinic_name
should be required AND Should be different that other Service Locations on the ServicePossible wrinkle: Service Location Address is nested in Service Location which is nested in four different Facility Services. Can this logic live at the Paragraph level, or does it need to be added to every Content Type that uses the Paragraph?
Description or Additional Context
Steps for Implementation
Acceptance Criteria
Team
Please check the team(s) that will do this work.