At
view release on metacpan or search on metacpan
share/lexicons/com/atproto/label/defs.json view on Meta::CPAN
"val": {
"type": "string",
"maxLength": 128,
"description": "The short string name of the value or type of this label."
}
}
},
"labelValueDefinition": {
"type": "object",
"description": "Declares a label value and its expected interpretations and behaviors.",
"required": ["identifier", "severity", "blurs", "locales"],
"properties": {
"identifier": {
"type": "string",
"description": "The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+).",
"maxLength": 100,
"maxGraphemes": 100
},
"severity": {
"type": "string",
"description": "How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing.",
share/lexicons/com/atproto/label/defs.json view on Meta::CPAN
"defaultSetting": {
"type": "string",
"description": "The default setting for this label.",
"knownValues": ["ignore", "warn", "hide"],
"default": "warn"
},
"adultOnly": {
"type": "boolean",
"description": "Does the user need to have adult content enabled in order to configure this label?"
},
"locales": {
"type": "array",
"items": { "type": "ref", "ref": "#labelValueDefinitionStrings" }
}
}
},
"labelValueDefinitionStrings": {
"type": "object",
"description": "Strings which describe the label in the UI, localized into a specific language.",
"required": ["lang", "name", "description"],
"properties": {
( run in 1.351 second using v1.01-cache-2.11-cpan-5a3173703d6 )