Skip to content

Commit

Permalink
fix(Quote, QuoteBlock): Use cite instead of citation
Browse files Browse the repository at this point in the history
Avoids conflict with `schema:citation` which is used as an alias for `CreativeWork.references`
  • Loading branch information
nokome committed Aug 21, 2019
1 parent af2b8e9 commit cef76af
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
10 changes: 6 additions & 4 deletions schema/Quote.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ status: stable
category: prose
description: Inline, quoted content.
properties:
citation:
'@id': schema:citation
cite:
'@id': stencila:cite
description: The source of the quote.
type: string
format: uri
anyOf:
- $ref: Cite
- type: string
format: uri
12 changes: 7 additions & 5 deletions schema/QuoteBlock.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ category: prose
description: |
A section quoted from somewhere else.
properties:
citation:
'@id': schema:citation
description: The source of the quote
type: string
format: uri
cite:
'@id': stencila:cite
description: The source of the quote.
anyOf:
- $ref: Cite
- type: string
format: uri
content:
'@id': 'stencila:content'
description: The content of the quote.
Expand Down

0 comments on commit cef76af

Please sign in to comment.