Skip to content

Commit

Permalink
fix(Periodical & SoftwareSession): Use Date
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Mar 22, 2021
1 parent 1d35af9 commit 94cc6ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
16 changes: 2 additions & 14 deletions schema/Periodical.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,11 @@ properties:
dateStart:
'@id': schema:startDate
description: The date this Periodical was first published.
type: string
anyOf:
- $ref: Date
- type: string
format: date
- type: string
format: date-time
$ref: Date
dateEnd:
'@id': schema:endDate
description: The date this Periodical ceased publication.
type: string
anyOf:
- $ref: Date
- type: string
format: date
- type: string
format: date-time
$ref: Date
issns:
'@id': schema:issn
description: The International Standard Serial Number(s) (ISSN) that identifies this serial publication.
Expand Down
14 changes: 2 additions & 12 deletions schema/SoftwareSession.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,11 @@ properties:
dateStart:
'@id': schema:startDate
description: The date-time that the session began.
anyOf:
- $ref: Date
- type: string
format: date
- type: string
format: date-time
$ref: Date
dateEnd:
'@id': schema:endDate
description: The date-time that the session ended.
anyOf:
- $ref: Date
- type: string
format: date
- type: string
format: date-time
$ref: Date
status:
'@id': stencila:sessionStatus
description: The status of the session (starting, stopped, etc).
Expand Down

0 comments on commit 94cc6ac

Please sign in to comment.