31 lines
814 B
JSON
31 lines
814 B
JSON
|
{
|
||
|
"title": "Reaction",
|
||
|
"description": "Reaction associated to a comment that is displayed as a single emoji.",
|
||
|
|
||
|
"type": "object",
|
||
|
"additionalProperties": false,
|
||
|
"properties": {
|
||
|
"index": {
|
||
|
"description": "Unique identifier of the reaction.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user_id": {
|
||
|
"description": "Unique identifier of the user who authored the reaction.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"content": {
|
||
|
"description": "Representation of the reaction. The rendering of the reaction depends on the forge displaying it.",
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"required": [
|
||
|
"index",
|
||
|
"user_id",
|
||
|
"content"
|
||
|
],
|
||
|
|
||
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||
|
"$id": "https://code.forgejo.org/f3/f3-schemas/src/branch/main/reaction.json",
|
||
|
"$$target": "reaction.json"
|
||
|
}
|