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