# com.test.note

> Published by [scan.is-testing.xyz](https://lexicon.garden/identity/did:plc:hlvelv7wbmna5q6nd32vzalm)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:hlvelv7wbmna5q6nd32vzalm/com.test.note)
- [Documentation](https://lexicon.garden/lexicon/did:plc:hlvelv7wbmna5q6nd32vzalm/com.test.note/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:hlvelv7wbmna5q6nd32vzalm/com.test.note/examples)

## Definitions

### `com.test.note`

**Type**: `record`

A simple text note record.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tags` | `array` | No | Optional set of tags for the note. |
| `text` | `string` | Yes | The content of the note. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when the note was created. |

## Raw Schema

```json
{
  "id": "com.test.note",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "text",
          "createdAt"
        ],
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 64
            },
            "maxLength": 8,
            "description": "Optional set of tags for the note."
          },
          "text": {
            "type": "string",
            "maxLength": 3000,
            "description": "The content of the note.",
            "maxGraphemes": 500
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when the note was created."
          }
        }
      },
      "description": "A simple text note record."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
