Skip to content

Commit

Permalink
fix(Works): Put all types derived from CreativeWork in works category
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed May 6, 2021
1 parent 26d7b52 commit 1b72009
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion schema/Article.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Article
'@id': schema:Article
extends: CreativeWork
category: works
role: primary
status: unstable
category: other
description: An article, including news and scholarly articles.
properties:
content:
Expand Down
2 changes: 1 addition & 1 deletion schema/AudioObject.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: AudioObject
extends: MediaObject
role: secondary
status: stable
category: media
category: works
description: An audio file
properties:
caption:
Expand Down
2 changes: 1 addition & 1 deletion schema/Claim.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Claim
'@id': schema:Claim
extends: CreativeWork
category: prose
category: works
role: secondary
status: unstable
description: A claim represents specific reviewable facts or statements.
Expand Down
2 changes: 1 addition & 1 deletion schema/Collection.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Collection
'@id': schema:Collection
extends: CreativeWork
category: works
role: secondary
status: stable
category: other
description: A created collection of CreativeWorks or other artefacts.
# The [schema.org defintion](https://schema.org/Collection) adds
# `collectionSize` but has not been added here because that feels
Expand Down
2 changes: 1 addition & 1 deletion schema/Comment.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Comment
'@id': schema:Comment
extends: CreativeWork
category: works
role: secondary
status: stable
category: other
description: A comment on an item, e.g on a Article, or SoftwareSourceCode.
$comment: |
Use the `about` property to define the item that a comment is on and
Expand Down
2 changes: 1 addition & 1 deletion schema/CreativeWork.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: CreativeWork
'@id': schema:CreativeWork
extends: Thing
category: works
role: base
status: stable
category: other
description: |
A creative work, including books, movies, photographs, software programs, etc.
properties:
Expand Down
2 changes: 1 addition & 1 deletion schema/Datatable.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Datatable
'@id': stencila:Datatable
extends: CreativeWork
category: works
role: primary
status: unstable
category: data
description: A table of data.
properties:
columns:
Expand Down
2 changes: 1 addition & 1 deletion schema/Figure.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Figure
'@id': stencila:Figure
extends: CreativeWork
category: works
role: primary
status: unstable
category: prose
description: Encapsulates one or more images, videos, tables, etc, and provides captions and labels for them.
properties:
caption:
Expand Down
2 changes: 1 addition & 1 deletion schema/ImageObject.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: ImageObject
'@id': schema:ImageObject
extends: MediaObject
category: works
role: secondary
status: stable
category: media
description: An image file.
properties:
caption:
Expand Down
2 changes: 1 addition & 1 deletion schema/MediaObject.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: MediaObject
'@id': schema:MediaObject
extends: CreativeWork
category: works
role: base
status: stable
category: media
description: |
A media object, such as an image, video, or audio object embedded in a web page or a
downloadable dataset.
Expand Down
2 changes: 1 addition & 1 deletion schema/Periodical.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Periodical
'@id': schema:Periodical
extends: CreativeWork
category: works
role: secondary
status: unstable
category: other
description: A periodical publication.
properties:
dateStart:
Expand Down
2 changes: 1 addition & 1 deletion schema/PublicationIssue.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: PublicationIssue
'@id': schema:PublicationIssue
extends: CreativeWork
category: works
role: secondary
status: unstable
category: other
description: |
A part of a successively published publication such as a periodical or publication
volume, often numbered.
Expand Down
2 changes: 1 addition & 1 deletion schema/PublicationVolume.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: PublicationVolume
'@id': schema:PublicationVolume
extends: CreativeWork
category: works
role: secondary
status: unstable
category: other
description: |
A part of a successively published publication such as a periodical or multi-volume work.
properties:
Expand Down
2 changes: 1 addition & 1 deletion schema/Review.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Review
'@id': schema:Review
extends: CreativeWork
category: works
role: secondary
status: stable
category: other
description: A review of an item, e.g of an Article, or SoftwareSourceCode.
$comment: |
Use the `content` property for the structured content of the review in
Expand Down
2 changes: 1 addition & 1 deletion schema/SoftwareApplication.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: SoftwareApplication
'@id': schema:SoftwareApplication
extends: CreativeWork
category: works
role: primary
status: unstable
category: code
description: |
A software application.
properties:
Expand Down
2 changes: 1 addition & 1 deletion schema/SoftwareSourceCode.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: SoftwareSourceCode
'@id': schema:SoftwareSourceCode
extends: CreativeWork
category: works
role: primary
status: unstable
category: code
description: |
Computer programming source code. Example: Full (compile ready) solutions, code snippet samples, scripts, templates.
properties:
Expand Down
2 changes: 1 addition & 1 deletion schema/Table.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Table
'@id': schema:Table
extends: CreativeWork
category: works
role: primary
status: unstable
category: prose
description: A table.
properties:
caption:
Expand Down
2 changes: 1 addition & 1 deletion schema/VideoObject.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: VideoObject
'@id': schema:VideoObject
extends: MediaObject
category: works
role: secondary
status: stable
category: media
description: A video file.
properties:
caption:
Expand Down

0 comments on commit 1b72009

Please sign in to comment.