{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A private text note in the owner's TaskedAT workspace.",
      "key": "tid",
      "record": {
        "properties": {
          "archived": {
            "type": "boolean"
          },
          "body": {
            "maxGraphemes": 100000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "formatVersion": {
            "const": 1,
            "type": "integer"
          },
          "labels": {
            "items": {
              "maxGraphemes": 50,
              "minGraphemes": 1,
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "pinned": {
            "type": "boolean"
          },
          "title": {
            "maxGraphemes": 240,
            "minGraphemes": 1,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "formatVersion",
          "title",
          "body",
          "pinned",
          "archived",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "at.tasked.note",
  "lexicon": 1
}
