diff options
Diffstat (limited to 'src/data/validators.js')
-rw-r--r-- | src/data/validators.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/validators.js b/src/data/validators.js index 987f806d..e3e56122 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -614,8 +614,8 @@ export function isThingClass(thingClass) { } export const isContribution = validateProperties({ - who: isArtistRef, - what: optional(isStringNonEmpty), + artist: isArtistRef, + annotation: optional(isStringNonEmpty), }); export const isContributionList = validateArrayItems(isContribution); |