atproto blogging
1{
2 "lexicon": 1,
3 "id": "app.bsky.labeler.service",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "A declaration of the existence of labeler service.",
8 "key": "literal:self",
9 "record": {
10 "type": "object",
11 "required": [
12 "policies",
13 "createdAt"
14 ],
15 "properties": {
16 "createdAt": {
17 "type": "string",
18 "format": "datetime"
19 },
20 "labels": {
21 "type": "union",
22 "refs": [
23 "com.atproto.label.defs#selfLabels"
24 ]
25 },
26 "policies": {
27 "type": "ref",
28 "ref": "app.bsky.labeler.defs#labelerPolicies"
29 },
30 "reasonTypes": {
31 "type": "array",
32 "description": "The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.",
33 "items": {
34 "type": "ref",
35 "ref": "com.atproto.moderation.defs#reasonType"
36 }
37 },
38 "subjectCollections": {
39 "type": "array",
40 "description": "Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.",
41 "items": {
42 "type": "string",
43 "format": "nsid"
44 }
45 },
46 "subjectTypes": {
47 "type": "array",
48 "description": "The set of subject types (account, record, etc) this service accepts reports on.",
49 "items": {
50 "type": "ref",
51 "ref": "com.atproto.moderation.defs#subjectType"
52 }
53 }
54 }
55 }
56 }
57 }
58}