# computer.spaces.note

> A note you wrote at spaces.computer. It is plain text in your own account, so any app can read it.

- Kind: record
- Record key: tid
- Authority: spaces.computer
- Lexicon: 1
- Published by [spaces.computer](https://lexicon.garden/identity/did:plc:fcup7ltuhyvyayda32fru55z), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.note)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.note/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.note/analytics)

## Record (`computer.spaces.note`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `format` (string): Whether the note is plain text or Markdown. Plain text if not set.
  - Constraints: default: "text/plain", knownValues: text/plain | text/markdown
- `tags` (array): Words you filed the note under. Written without a leading hash.
  - Constraints: maxLength: 20
  - `items` (string)
    - Constraints: maxLength: 640, maxGraphemes: 64
- `text` (string, required): The note itself.
  - Constraints: maxLength: 102400
- `title` (string): The note's title. Without one, apps show the first line instead.
  - Constraints: maxLength: 102400
- `updatedAt` (string · datetime): When the note was last edited.

## Schema

```json
{
  "$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
}
```
