com.suibari.nagi.putDraft

Repository @suibari.com did:plc:uixgxpiqf4i63p6rgpu7ytmx namespace authority
Details · procedure
Kindprocedure
Authoritynagi.suibari.com
Commit rev3n2g56lt3pi2d
Indexed

Showing version bafyreifhgcxkkwnqpxwkoewzwhu4vkkzp4gv7hqu6qtlivu2xkesi6kx24. Show the latest

cid bafyreifhgcxkkwnqpxwkoewzwhu4vkkzp4gv7hqu6qtlivu2xkesi6kx24

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "draftContent": {
      "properties": {
        "articleTags": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "articleTitle": {
          "type": "string"
        },
        "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",
        "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": {
        "articleTags": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "articleTitle": {
          "type": "string"
        },
        "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",
        "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
}