40 lines
1.5 KiB
JSON
40 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:UserComments",
|
|
"title": "UserComments",
|
|
"description": "UserInteraction and its subtypes is an old way of talking about users interacting with pages. It is generally better to use [[Action]]-based vocabulary, alongside types such as [[Comment]].",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "UserInteraction and its subtypes is an old way of talking about users interacting with pages. It is generally better to use [[Action]]-based vocabulary, alongside types such as [[Comment]].",
|
|
"$ref": "schema:UserInteraction"
|
|
}
|
|
],
|
|
"properties": {
|
|
"commentText": {
|
|
"description": "The text of the UserComment.",
|
|
"type": "string"
|
|
},
|
|
"commentTime": {
|
|
"description": "The time at which the UserComment was made.",
|
|
"anyOf": [
|
|
{ "type": "string", "format": "date" },
|
|
{ "type": "string", "format": "date-time" }
|
|
]
|
|
},
|
|
"creator": {
|
|
"description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.",
|
|
"anyOf": [{ "$ref": "schema:Organization" }, { "$ref": "schema:Person" }]
|
|
},
|
|
"discusses": {
|
|
"description": "Specifies the CreativeWork associated with the UserComment.",
|
|
"$ref": "schema:CreativeWork"
|
|
},
|
|
"replyToUrl": {
|
|
"description": "The URL at which a reply may be posted to the specified UserComment.",
|
|
"type": "string",
|
|
"format": "uri"
|
|
}
|
|
}
|
|
}
|