Skip to content

Commit

Permalink
Add Accessibility#hasBackgroundMusic
Browse files Browse the repository at this point in the history
  • Loading branch information
opyh committed Jun 23, 2024
1 parent 10f3806 commit 0ed3c92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Accessibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ export interface Accessibility extends Interactable<GenericInteraction> {
*/
hasSoundAbsorption?: boolean;

/**
* Determines if there is background music playing.
*/
hasBackgroundMusic?: boolean;

/**
* Determines if there is air conditioning installed and actively used.
*/
Expand Down Expand Up @@ -319,6 +324,7 @@ export const getAccessibilitySchemaDefinition: () => SchemaDefinition = () => ({
hasPatientLifter: BooleanField,
offersTreatmentWithoutLeavingWheelchair: BooleanField,
hasLowStimulusEnvironment: BooleanField,
hasBackgroundMusic: BooleanField,
...getPrefixedSchemaDefinition('staff', getStaffSchemaDefinition()),
...getPrefixedArraySchemaDefinition('availableEquipment', getEquipmentPropertiesSchemaDefinition()),
...getPrefixedSchemaDefinition('wheelchairPlaces', getWheelchairPlacesSchemaDefinition()),
Expand Down
1 change: 1 addition & 0 deletions src/accessibilityFixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const accessibilityFixture: Complete<Accessibility> = {
hasPatientLifter: true,
offersTreatmentWithoutLeavingWheelchair: true,
hasLowStimulusEnvironment: true,
hasBackgroundMusic: true,
serviceContact: { en: 'string' },
media: [mediaFixture],
desks: [deskFixture],
Expand Down

0 comments on commit 0ed3c92

Please sign in to comment.