forked from beakerbrowser/unwalled.garden
-
Notifications
You must be signed in to change notification settings - Fork 0
/
comment.json
38 lines (38 loc) · 893 Bytes
/
comment.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "dat://unwalled.garden/comment.json",
"type": "object",
"title": "Comment",
"description": "A text post about some resource.",
"required": [
"topic",
"body",
"createdAt"
],
"properties": {
"topic": {
"type": "string",
"description": "What this comment is about",
"format": "uri"
},
"replyTo": {
"type": "string",
"description": "What this comment is replying to",
"format": "uri"
},
"body": {
"type": "string",
"description": "The post's text content"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "The time of this post's creation"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"description": "The time of this post's last edit"
}
}
}