Skip to content

Commit

Permalink
fix(CreativeWork): Use semicolon separated items for authors, add csi…
Browse files Browse the repository at this point in the history
… for genre
  • Loading branch information
nokome committed Jul 14, 2021
1 parent 54a8264 commit 56a3bb6
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions schema/CreativeWork.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ properties:
authors:
'@id': schema:author
description: The authors of this creative work.
# This first type:array allows for wrapping of objects into an array
# during `coerce()`
type: array
allOf:
- parser: csi
- parser: scsi
- type: array
items:
anyOf:
Expand Down Expand Up @@ -113,17 +110,17 @@ properties:
genre:
'@id': schema:genre
description: Genre of the creative work, broadcast channel or group.
type: array
items:
type: string
allOf:
- parser: csi
- type: array
items:
type: string
keywords:
'@id': schema:keywords
description: |
Keywords or tags used to describe this content.
Multiple entries in a keywords list are typically delimited by commas.
allOf:
# Allow for a comma separated list of keywords to be decoded to
# an array of strings
- parser: csi
- type: array
items:
Expand Down

0 comments on commit 56a3bb6

Please sign in to comment.