Files
remanso-jetstream/lexicons/space/remanso/note.json
2026-03-01 18:34:17 +01:00

133 lines
3.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"lexicon": 1,
"id": "space.remanso.note",
"defs": {
"main": {
"type": "record",
"description": "A markdown blog post with LaTeX, GitHub notes, Mermaid, YouTube and Bluesky extensions.",
"key": "tid",
"record": {
"type": "object",
"required": ["title", "content"],
"properties": {
"title": {
"type": "string",
"maxLength": 1000
},
"content": {
"type": "string",
"description": "Markdown content. Local image paths are replaced with blob CIDs at publish time.",
"maxLength": 10000
},
"language": {
"type": "string",
"description": "Most used language in the note. In ISO 639-3 code.",
"maxLength": 10,
"knownValues": [
"afr",
"ara",
"aze",
"bel",
"ben",
"bul",
"cat",
"ces",
"ckb",
"cmn",
"dan",
"deu",
"ell",
"eng",
"est",
"eus",
"fin",
"fra",
"hau",
"heb",
"hin",
"hrv",
"hun",
"hye",
"ind",
"isl",
"ita",
"jpn",
"kat",
"kaz",
"kor",
"lit",
"mar",
"mkd",
"nld",
"nob",
"pes",
"pol",
"por",
"ron",
"run",
"rus",
"slk",
"spa",
"srp",
"swe",
"tgl",
"tur",
"ukr",
"vie"
]
},
"images": {
"type": "array",
"description": "Blob references for images embedded in the markdown content.",
"items": { "type": "ref", "ref": "#image" },
"maxLength": 20
},
"publishedAt": {
"type": "string",
"format": "datetime"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"fontFamily": {
"type": "string",
"description": "Font family name available from Coollabs.",
"maxLength": 200
},
"fontSize": {
"type": "integer",
"description": "Font size in points. Recommended range: 921, but clients may allow larger sizes for accessibility."
},
"theme": {
"type": "string",
"description": "Display theme for the note.",
"knownValues": ["light", "dark"]
},
"discoverable": {
"type": "boolean",
"description": "Whether the note can be discovered by others in public listings. Defaults to true."
}
}
}
},
"image": {
"type": "object",
"descriptions": "Images from the markdown content, separately uploaded and link in markdown content with blob CID.",
"required": ["image"],
"properties": {
"image": {
"type": "blob",
"accept": ["image/*"],
"maxSize": 2000000
},
"alt": {
"type": "string",
"maxLength": 2000,
"description": "Alt text for the image."
}
}
}
}
}