Hey folks! I am the proud owner of the domain nownownownow.now. My intent is to define a lexicon for publishing /now updates on protocol. If you aren’t familiar, sive.rs created about nownownow.com, an indieweb slashpage for sharing what you are up to nowadays. I have a non-schema-validated record on my PDS now, which powers my /now page on tynanpurdy.com/now.
I figure this will be a simple lexicon. A now.nownownownow.entry constitutes a createdAt, langs, and content. The content I propose should use the https://markpub.at/ lexicon so that folks can use good ol’ markdown to write their updates. I have decorated my /now page with additional content like the books I’m reading and my last few teal scrobbles, but I think those can live outside the .entry body.
Requests: a co-lead for this Lexicon Community Working Group, and feedback on the schema definition.
See my stub at the lexicon definition below.
{
"lexicon": 1,
"id": "now.nownownownow.entry",
"description": "A /now entry containing current activities and thoughts",
"defs": {
"main": {
"type": "record",
"key": "tid",
"record": {
"type": "object",
"required": ["createdAt", "content"],
"properties": {
"content": {
"type": "union",
"description": "Rich markdown content using the markpub lexicon",
"closed": false,
"refs": ["at.markpub.markdown"]
},
"langs": {
"type": "array",
"description": "Optional ISO 639 language codes (e.g., 'en', 'en-US', 'zh-Hans') identifying the language(s) of this entry",
"items": {
"type": "string",
"minLength": 2,
"maxLength": 10
},
"minItems": 1,
"maxItems": 10
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp when this entry was created"
}
}
}
}
}
}