fyi.opensocial.listDrafts

lexicons.opensocial.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "draftView": {
      "properties": {
        "asGroup": {
          "description": "Added as the group, by whoever adds it and may.",
          "type": "boolean"
        },
        "by": {
          "description": "The AI app that left it, by the name it gave.",
          "type": "string"
        },
        "collection": {
          "format": "nsid",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "page": {
          "description": "Its tab's page makes it into what it keeps.",
          "type": "boolean"
        },
        "record": {
          "type": "unknown"
        },
        "remove": {
          "description": "It removes that one, rather than changing it.",
          "type": "boolean"
        },
        "replaces": {
          "description": "The one it changes, or removes: the record's address, or, for its tab's page to change, as the page names one.",
          "type": "string"
        },
        "space": {
          "description": "The space it goes in, added.",
          "type": "string"
        },
        "tab": {
          "description": "Its tab's namespace.",
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "was": {
          "description": "What the one it changes or removes is called.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tab",
        "collection",
        "title",
        "record",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "The drafts your assistant left for you in the group's tabs, waiting for you to add or let go: each with the space it goes in, added as you, or for its tab's page to make into what it keeps (page).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "drafts": {
              "items": {
                "ref": "#draftView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "drafts"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "group": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.listDrafts",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.opensocial.listDrafts

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2gqnilpksz2e7faj3bwvo6qc
CID
bafyreid2jvinjczepom5mxpq4cwzaiors3l5kgrauaytlq4hdoqnm327i4
Indexed At
2026-10-16 15:02 UTC
AT-URI
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.listDrafts

Version History (3 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@