Skip to content

Commit

Permalink
fix: add missing @ids for consistency with schema.org
Browse files Browse the repository at this point in the history
editor, funder, isPartOf, publisher, version
  • Loading branch information
jwijay committed May 24, 2019
1 parent 290692f commit 1135100
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions schema/CreativeWork.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,14 @@ properties:
- type: string
format: date-time
editors:
'@id': schema:editor
description: |
Persons who edited the CreativeWork.
type: array
allOf:
- $ref: Person.schema.yaml
funders:
'@id': schema:funder
description: |
Person or organisation that funded the CreativeWork.
type: array
Expand All @@ -79,6 +81,7 @@ properties:
- $ref: Person.schema.yaml
- $ref: Organization.schema.yaml
isPartOf:
'@id': schema:isPartOf
description: |
An item or other CreativeWork that this CreativeWork is a part of.
allOf:
Expand All @@ -94,6 +97,7 @@ properties:
format: uri
- $ref: CreativeWork.schema.yaml
publisher:
'@id': schema:publisher
description: |
A publisher of the CreativeWork.
anyOf:
Expand All @@ -111,6 +115,7 @@ properties:
- headline
type: string
version:
'@id': schema:version
anyOf:
- type: string
- type: number

0 comments on commit 1135100

Please sign in to comment.