-
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.
Closes #227.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
title: Comment | ||
'@id': schema:Comment | ||
extends: CreativeWork | ||
role: primary | ||
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. | ||
properties: | ||
parentItem: | ||
'@id': schema:parentItem | ||
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 |