is.danny.scrapbook.entry

danny.is

Documentation

A scrap: a bit of text, optionally with a picture pinned to it.

main record

A scrap: a bit of text, optionally with a picture pinned to it.

Record Key tid Timestamp-based ID

Properties

alt string Optional

Alt text for the image.

maxLength: 2000 bytesmaxGraphemes: 200 graphemes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

image blob Optional

A reference to an image uploaded to the repo's blob store.

maxSize: 1.0 MB
text string Required

The note itself.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "description": "A scrap: a bit of text, optionally with a picture pinned to it.",
  "key": "tid",
  "record": {
    "properties": {
      "alt": {
        "description": "Alt text for the image.",
        "maxGraphemes": 200,
        "maxLength": 2000,
        "type": "string"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "image": {
        "accept": [
          "image/*"
        ],
        "description": "A reference to an image uploaded to the repo's blob store.",
        "maxSize": 1000000,
        "type": "blob"
      },
      "text": {
        "description": "The note itself.",
        "maxGraphemes": 300,
        "maxLength": 3000,
        "type": "string"
      }
    },
    "required": [
      "text",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@