-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Review, Comment): Move comments to CreativeWork
- Loading branch information
Showing
3 changed files
with
15 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,18 @@ | ||
title: Comment | ||
'@id': schema:Comment | ||
extends: CreativeWork | ||
role: primary | ||
role: secondary | ||
status: stable | ||
category: metadata | ||
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. | ||
The `content` property should be used for the structured content of the | ||
Comment, in preference to the schema.org `text` property which is is expected to | ||
have the plain text content. | ||
comment, in preference to the schema.org `text` property (which is expected to | ||
be plain text). Replies to a comment can be added to its `comments` property | ||
or have their `parentItem` set to the parent comment. | ||
properties: | ||
parentItem: | ||
'@id': schema:parentItem | ||
description: The parent Comment of this Comment. | ||
description: The parent comment of this comment. | ||
$ref: Comment | ||
replies: | ||
'@id': stencila:replies | ||
description: Comments made in reply to this comment. The inverse of parentItem. | ||
type: array | ||
items: | ||
$ref: Comment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters