Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
1.7 kB · 76 lines
JSON
at sl/md-editor
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ "lexicon": 1, "id": "sh.tangled.string", "needsCbor": true, "needsType": true, "defs": { "main": { "type": "record", "key": "tid", "record": { "type": "object", "required": [ "createdAt", "files" ], "properties": { "filename": { "type": "string", "maxGraphemes": 140, "minGraphemes": 1, "description": "DEPRECATED - use title instead" }, "title": { "type": "string", "maxGraphemes": 140, "minGraphemes": 1 }, "description": { "type": "string", "maxGraphemes": 280, "minGraphemes": 1 }, "createdAt": { "type": "string", "format": "datetime" }, "contents": { "type": "string", "minGraphemes": 1, "description": "DEPRECATED - use files[0].content instead" }, "files": { "type": "array", "minLength": 1, "maxLength": 50, "items": { "type": "ref", "ref": "#file" } } } } }, "file": { "type": "object", "required": [ "name", "content" ], "properties": { "name": { "type": "string", "maxGraphemes": 140, "minGraphemes": 1, "description": "filename including extension" }, "content": { "type": "blob", "accept": ["text/plain"], "maxSize": 8388608, "description": "file content" } } } }}