« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/validators.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/validators.js')
-rw-r--r--src/data/validators.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/data/validators.js b/src/data/validators.js
index 94d628c5..a17a98cc 100644
--- a/src/data/validators.js
+++ b/src/data/validators.js
@@ -718,7 +718,8 @@ export const isSeries = validateProperties({
   description: optional(isContentString),
   albums: optional(validateReferenceList('album')),
 
-  showAlbumArtists: optional(isBoolean),
+  showAlbumArtists:
+    optional(is('all', 'differing', 'none')),
 });
 
 export const isSeriesList = validateArrayItems(isSeries);