Skip to content

Commit

Permalink
fix(CreativeWork): Add csi codec to CreativeWork.authors
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Aug 21, 2019
1 parent 52db76f commit 60cc14f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions schema/CreativeWork.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@ 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
items:
anyOf:
- $ref: Person
- $ref: Organization
allOf:
- codec: csi
- type: array
items:
anyOf:
- $ref: Person
- $ref: Organization
references:
'@id': schema:citation
aliases:
Expand Down

0 comments on commit 60cc14f

Please sign in to comment.