···
3
+
"id": "com.atproto.label.defs",
7
+
"description": "Metadata tag on an atproto resource (eg, repo or record).",
8
+
"required": ["src", "uri", "val", "cts"],
12
+
"description": "The AT Protocol version of the label object."
17
+
"description": "DID of the actor who created this label."
22
+
"description": "AT URI of the record, repository (account), or other resource that this label applies to."
27
+
"description": "Optionally, CID specifying the specific version of 'uri' resource this label applies to."
32
+
"description": "The short string name of the value or type of this label."
36
+
"description": "If true, this is a negation label, overwriting a previous label."
40
+
"format": "datetime",
41
+
"description": "Timestamp when this label was created."
45
+
"format": "datetime",
46
+
"description": "Timestamp at which this label expires (no longer applies)."
50
+
"description": "Signature of dag-cbor encoded label."
56
+
"description": "Metadata tags on an atproto record, published by the author within the record.",
57
+
"required": ["values"],
61
+
"items": { "type": "ref", "ref": "#selfLabel" },
68
+
"description": "Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.",
69
+
"required": ["val"],
74
+
"description": "The short string name of the value or type of this label."
78
+
"labelValueDefinition": {
80
+
"description": "Declares a label value and its expected interpretations and behaviors.",
81
+
"required": ["identifier", "severity", "blurs", "locales"],
85
+
"description": "The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+).",
91
+
"description": "How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing.",
92
+
"knownValues": ["inform", "alert", "none"]
96
+
"description": "What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing.",
97
+
"knownValues": ["content", "media", "none"]
101
+
"description": "The default setting for this label.",
102
+
"knownValues": ["ignore", "warn", "hide"],
107
+
"description": "Does the user need to have adult content enabled in order to configure this label?"
111
+
"items": { "type": "ref", "ref": "#labelValueDefinitionStrings" }
115
+
"labelValueDefinitionStrings": {
117
+
"description": "Strings which describe the label in the UI, localized into a specific language.",
118
+
"required": ["lang", "name", "description"],
122
+
"description": "The code of the language these strings are written in.",
123
+
"format": "language"
127
+
"description": "A short human-readable name for the label.",
128
+
"maxGraphemes": 64,
133
+
"description": "A longer description of what the label means and why it might be applied.",
134
+
"maxGraphemes": 10000,
135
+
"maxLength": 100000
145
+
"!no-unauthenticated",