aboutsummaryrefslogtreecommitdiffstats
path: root/modules/migration/schemas/reaction.json
blob: 25652514be0ead32e6cbf8741b9c68368fc24556 (plain)
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
{
    "title": "Reaction",
    "description": "Reaction associated to an issue or a comment.",

    "type": "object",
    "additionalProperties": false,
    "properties": {
	"user_id": {
	    "description": "Unique identifier of the user who authored the reaction.",
	    "type": "number"
	},
	"user_name": {
	    "description": "Name of the user who authored the reaction.",
	    "type": "string"
	},
	"content": {
	    "description": "Representation of the reaction",
	    "type": "string"
	}
    },
    "required": [
	"user_id",
	"content"
    ],

    "$schema": "http://json-schema.org/draft-04/schema#",
    "$id": "http://example.com/reaction.json",
    "$$target": "reaction.json"
}