com.suibari.nagi.putDraft

suibari.com

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "channel": {
      "properties": {
        "end": {
          "minimum": 0,
          "type": "integer"
        },
        "name": {
          "maxLength": 300,
          "type": "string"
        },
        "start": {
          "minimum": 0,
          "type": "integer"
        },
        "uri": {
          "format": "at-uri",
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "start",
        "end",
        "uri",
        "name"
      ],
      "type": "object"
    },
    "draftContent": {
      "properties": {
        "channels": {
          "items": {
            "ref": "#channel",
            "type": "ref"
          },
          "maxLength": 100,
          "type": "array"
        },
        "dismissedUrls": {
          "items": {
            "maxLength": 2048,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "emojis": {
          "items": {
            "ref": "#emoji",
            "type": "ref"
          },
          "maxLength": 100,
          "type": "array"
        },
        "linkCards": {
          "items": {
            "ref": "#linkCard",
            "type": "ref"
          },
          "maxLength": 4,
          "type": "array"
        },
        "mentions": {
          "items": {
            "ref": "#mention",
            "type": "ref"
          },
          "maxLength": 100,
          "type": "array"
        },
        "quoteUri": {
          "format": "at-uri",
          "maxLength": 2048,
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      },
      "required": [
        "text",
        "mentions",
        "channels",
        "emojis",
        "linkCards",
        "dismissedUrls"
      ],
      "type": "object"
    },
    "draftInput": {
      "properties": {
        "content": {
          "ref": "#draftContent",
          "type": "ref"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "maxLength": 36,
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "id",
        "content",
        "createdAt",
        "updatedAt"
      ],
      "type": "object"
    },
    "draftView": {
      "properties": {
        "channels": {
          "items": {
            "ref": "#channel",
            "type": "ref"
          },
          "maxLength": 100,
          "type": "array"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "dismissedUrls": {
          "items": {
            "maxLength": 2048,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "emojis": {
          "items": {
            "ref": "#emoji",
            "type": "ref"
          },
          "maxLength": 100,
          "type": "array"
        },
        "id": {
          "maxLength": 36,
          "type": "string"
        },
        "linkCards": {
          "items": {
            "ref": "#linkCard",
            "type": "ref"
          },
          "maxLength": 4,
          "type": "array"
        },
        "mentions": {
          "items": {
            "ref": "#mention",
            "type": "ref"
          },
          "maxLength": 100,
          "type": "array"
        },
        "quoteUri": {
          "format": "at-uri",
          "maxLength": 2048,
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "id",
        "text",
        "mentions",
        "channels",
        "emojis",
        "linkCards",
        "dismissedUrls",
        "createdAt",
        "updatedAt"
      ],
      "type": "object"
    },
    "emoji": {
      "properties": {
        "end": {
          "minimum": 0,
          "type": "integer"
        },
        "start": {
          "minimum": 0,
          "type": "integer"
        },
        "uri": {
          "format": "at-uri",
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "start",
        "end",
        "uri"
      ],
      "type": "object"
    },
    "linkCard": {
      "properties": {
        "description": {
          "maxLength": 30000,
          "type": "string"
        },
        "title": {
          "maxLength": 3000,
          "type": "string"
        },
        "uri": {
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "uri",
        "title"
      ],
      "type": "object"
    },
    "main": {
      "errors": [
        {
          "name": "AuthRequired"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "name": "DraftLimit"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "ref": "#draftInput",
          "type": "ref"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#draftView",
          "type": "ref"
        }
      },
      "type": "procedure"
    },
    "mention": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "end": {
          "minimum": 0,
          "type": "integer"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "start": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "start",
        "end",
        "did",
        "handle"
      ],
      "type": "object"
    }
  },
  "id": "com.suibari.nagi.putDraft",
  "lexicon": 1
}

Validate Record

Validate a record against com.suibari.nagi.putDraft

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:uixgxpiqf4i63p6rgpu7ytmx
CID
bafyreibw46my5a5hyzvdczdc2ugkduimeltxfdcq3q2hjz7briecarsbby
Indexed At
2026-09-23 13:20 UTC
AT-URI
at://did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.atproto.lexicon.schema/com.suibari.nagi.putDraft

Version History (2 versions)

Similar Lexicons

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

Lexicon Garden

@