Page MenuHomePhabricator
Paste P8831

Jade entity schema example (v3)
ActivePublic

Authored by Halfak on Tue, Jul 30, 4:51 PM.
{
"$schema": "/mediawiki/jade/entity/1.0.0",
"facets": {
"editquality": {
"proposals": [
{
"labeldata": {"damaging": false, "goodfaith": true},
"notes": "Adds a link #anon #link",
"preferred": true,
"author": {"id": 10, "gid": 101},
"endorsements": [
{
"author": {"id": 10, "gid": 101},
"comment": "As proposer",
"origin": "Huggle 2.1.0",
"created": "2019-01-01T12:53:01Z",
"touched": "2019-01-01T12:53:01Z"
},
{
"author": {"ip": "123.12.14.150"},
"comment": "Definitely good.",
"origin": "Special:Recentchanges",
"created": "2019-01-01T09:13:43Z",
"touched": "2019-01-01T09:18:00Z"
}
]
}
]
},
"contentquality": {
"proposals": [
{
"labeldata": 4,
"notes": "The lead section doesn't follow MOS. One major section unreferenced.",
"preferred": true,
"author": {"id": 22, "gid": 501},
"endorsements": [
{
"author": {"id": 22, "gid": 501},
"comment": "As proposer",
"origin": "Wiki labels",
"created": "2019-01-05T21:22:45Z"
"touched": "2019-01-05T21:22:45Z"
}
]
},
{
"labeldata": 5,
"notes": "The last section is a bit of a mess, but otherwise perfect.",
"preferred": false,
"author": {"id": 13, "gid": 232},
"endorsements": [
{
"author": {"id": 13, "gid": 232},
"comment": "As proposer",
"origin": "Entity page",
"created": "2019-01-01T12:53:01Z",
"touched": "2019-01-02T18:03:24Z"
}
]
}
]
}
}
}