{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A note you wrote at spaces.computer. It is plain text in your own account, so any app can read it.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "format": {
            "default": "text/plain",
            "description": "Whether the note is plain text or Markdown. Plain text if not set.",
            "knownValues": [
              "text/plain",
              "text/markdown"
            ],
            "type": "string"
          },
          "tags": {
            "description": "Words you filed the note under. Written without a leading hash.",
            "items": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "text": {
            "description": "The note itself.",
            "maxLength": 102400,
            "type": "string"
          },
          "title": {
            "description": "The note's title. Without one, apps show the first line instead.",
            "maxLength": 102400,
            "type": "string"
          },
          "updatedAt": {
            "description": "When the note was last edited.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.spaces.note",
  "lexicon": 1
}
