us.off-the-clock.admin.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | admin.off-the-clock.us |
| Commit rev | 3mzwk7iq2qccb |
| Indexed |
Showing version bafyreidqm6kqrfrhrz6q745u3iy6fpyn265istmukfodrg56735lgts64y. Show the latest
Checks
Validunlimited-stringdefs.automodOutcome.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.automodRule.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.automodRule.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.blob.properties.mimeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.feed.properties.displayNameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.feed.properties.sortNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.feed.properties.textNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.label.properties.targetNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.label.properties.valNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.pair.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.pair.properties.displayNameNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"automodOutcome": {
"description": "What one rule did in a run (AUT-16).",
"properties": {
"labels": {
"items": {
"maxLength": 128,
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"outcome": {
"knownValues": [
"matched",
"missed",
"skipped",
"stopped",
"failed"
],
"maxLength": 64,
"type": "string"
},
"rkey": {
"maxLength": 64,
"type": "string"
},
"warning": {
"description": "A matching rule's warning types, when the content-warning it applies is one the run adds (AUT-13, CW-9).",
"ref": "us.off-the-clock.automod.rule#warning",
"type": "ref"
},
"why": {
"maxLength": 3000,
"type": "string"
}
},
"required": [
"name",
"outcome"
],
"type": "object"
},
"automodRule": {
"description": "A pair's effective automod rule (AUT-1), as it runs.",
"properties": {
"author": {
"format": "did",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"engine": {
"maxLength": 64,
"type": "string"
},
"labels": {
"items": {
"maxLength": 128,
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"precondition": {
"ref": "us.off-the-clock.automod.rule#precondition",
"type": "ref"
},
"priority": {
"type": "integer"
},
"rkey": {
"format": "tid",
"type": "string"
},
"rule": {
"type": "unknown"
},
"stackKey": {
"maxLength": 64,
"type": "string"
},
"warning": {
"ref": "us.off-the-clock.automod.rule#warning",
"type": "ref"
}
},
"required": [
"rkey",
"author",
"name",
"priority",
"engine",
"rule",
"labels",
"enabled",
"createdAt"
],
"type": "object"
},
"blob": {
"description": "A blob records in the space reference.",
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"labels": {
"items": {
"ref": "us.off-the-clock.admin.defs#label",
"type": "ref"
},
"type": "array"
},
"mime": {
"type": "string"
},
"records": {
"type": "integer"
}
},
"required": [
"did",
"cid",
"records",
"labels"
],
"type": "object"
},
"collectionCount": {
"properties": {
"collection": {
"format": "nsid",
"type": "string"
},
"count": {
"type": "integer"
}
},
"required": [
"collection",
"count"
],
"type": "object"
},
"feed": {
"description": "The effective feed of a pair's record key (D13, D36).",
"properties": {
"author": {
"format": "did",
"type": "string"
},
"configuration": {
"type": "unknown"
},
"default": {
"description": "The feed the pair's space record names.",
"type": "boolean"
},
"displayName": {
"type": "string"
},
"rkey": {
"format": "record-key",
"type": "string"
},
"sort": {
"knownValues": [
"newest",
"startsAt"
],
"type": "string"
},
"text": {
"type": "string"
},
"view": {
"description": "How the feed is shown (D93).",
"knownValues": [
"cards",
"wall"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"rkey",
"author",
"displayName",
"text",
"configuration",
"sort",
"default"
],
"type": "object"
},
"label": {
"description": "A label that counts.",
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"cts": {
"format": "datetime",
"type": "string"
},
"record": {
"description": "The label record, in the management space.",
"format": "at-uri",
"type": "string"
},
"src": {
"format": "did",
"type": "string"
},
"target": {
"description": "The record URI, blob CID or DID labelled.",
"type": "string"
},
"val": {
"type": "string"
}
},
"required": [
"record",
"src",
"val",
"target",
"cts"
],
"type": "object"
},
"member": {
"description": "A DID with an entry in any followed space, with every entry naming it.",
"properties": {
"admin": {
"description": "An effective admin (admin on the self management space), or the community identity.",
"type": "boolean"
},
"adminOf": {
"description": "The TIDs of the pairs whose team the DID is on.",
"items": {
"format": "tid",
"type": "string"
},
"type": "array"
},
"did": {
"format": "did",
"type": "string"
},
"entries": {
"items": {
"ref": "#memberEntry",
"type": "ref"
},
"type": "array"
},
"handle": {
"format": "handle",
"type": "string"
},
"invited": {
"description": "A root entry with both read and write false: invited, not yet joined (D80).",
"type": "boolean"
},
"joinedAt": {
"description": "When the DID joined: when its joined root entry was indexed.",
"format": "datetime",
"type": "string"
},
"member": {
"type": "boolean"
},
"spaces": {
"description": "The content halves where the DID holds read or write.",
"items": {
"description": "<space-type>/<space-id>: a pair's content space",
"maxLength": 512,
"type": "string"
},
"type": "array"
}
},
"required": [
"did",
"member",
"admin",
"adminOf",
"spaces",
"entries"
],
"type": "object"
},
"memberEntry": {
"description": "One published member entry naming the DID: its flags in one space (D77).",
"properties": {
"admin": {
"type": "boolean"
},
"indexedAt": {
"format": "datetime",
"type": "string"
},
"read": {
"type": "boolean"
},
"space": {
"description": "The space, as <space-type>/<space-id>.",
"maxLength": 512,
"type": "string"
},
"write": {
"type": "boolean"
}
},
"required": [
"space",
"read",
"write",
"admin"
],
"type": "object"
},
"pair": {
"description": "A registered pair (D33, D34): its space record, its team and both halves.",
"properties": {
"admins": {
"description": "The pair's own team: admin entries on its content half, less the effective admins (D79).",
"items": {
"format": "did",
"type": "string"
},
"type": "array"
},
"content": {
"ref": "#space",
"type": "ref"
},
"default": {
"type": "boolean"
},
"defaultFeed": {
"format": "record-key",
"type": "string"
},
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"management": {
"ref": "#space",
"type": "ref"
},
"tid": {
"format": "tid",
"type": "string"
}
},
"required": [
"tid",
"displayName",
"defaultFeed",
"default",
"admins",
"management",
"content"
],
"type": "object"
},
"record": {
"description": "Any indexed record, hidden or not.",
"properties": {
"author": {
"format": "did",
"type": "string"
},
"authorMember": {
"description": "The author may still use the record's space; if not, the record is hidden.",
"type": "boolean"
},
"cid": {
"format": "cid",
"type": "string"
},
"collection": {
"format": "nsid",
"type": "string"
},
"handle": {
"format": "handle",
"type": "string"
},
"indexedAt": {
"format": "datetime",
"type": "string"
},
"labels": {
"items": {
"ref": "us.off-the-clock.admin.defs#label",
"type": "ref"
},
"type": "array"
},
"rkey": {
"format": "record-key",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"value": {
"type": "unknown"
},
"warnings": {
"description": "The record's counting content warnings as views carry them, the author's first, then the community's oldest first (LEX-77, CW-11).",
"items": {
"ref": "us.off-the-clock.defs#warningView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"uri",
"cid",
"author",
"collection",
"rkey",
"value",
"indexedAt",
"authorMember",
"labels"
],
"type": "object"
},
"space": {
"description": "A space the community names (D34), and how the AppView follows it.",
"properties": {
"blobs": {
"type": "integer"
},
"caughtUp": {
"type": "boolean"
},
"credential": {
"description": "The AppView's credential state in the space.",
"type": "unknown"
},
"followed": {
"type": "boolean"
},
"key": {
"description": "The pair's TID, for a pair's half.",
"maxLength": 512,
"type": "string"
},
"records": {
"type": "integer"
},
"space": {
"description": "<space-type>/<space-id>",
"maxLength": 512,
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
}
},
"required": [
"space",
"uri",
"followed",
"caughtUp",
"records",
"blobs"
],
"type": "object"
}
},
"id": "us.off-the-clock.admin.defs",
"lexicon": 1
}