Find lexicons, request features, and report bugs. Please include steps to reproduce and any relevant info like OS, browser, etc. Found a security bug? Contact us at hello@pipup.social

Initial commit

+61
+22
lexicons/defs.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "social.pipup.blog.defs", 4 + "defs": { 5 + "blobMetadata": { 6 + "type": "object", 7 + "required": [ 8 + "blobref" 9 + ], 10 + "properties": { 11 + "blobref": { 12 + "type": "blob", 13 + "description": "Attached image for blog post", 14 + "accept": ["image/*"] 15 + }, 16 + "name": { 17 + "type": "string" 18 + } 19 + } 20 + } 21 + } 22 + }
+39
lexicons/entry.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "social.pipup.blog.entry", 4 + "defs": { 5 + "main": { 6 + "type": "record", 7 + "description": "A blog post with rich content.", 8 + "key": "tid", 9 + "record": { 10 + "type": "object", 11 + "required": ["content", "createdAt", "visibility"], 12 + "properties": { 13 + "content": { 14 + "type": "string", 15 + "minLength": 1, 16 + "maxLength": 100000 17 + }, 18 + "createdAt": { "type": "string", "format": "datetime" }, 19 + "updatedAt": { "type": "string", "format": "datetime" }, 20 + "title": { 21 + "type": "string", 22 + "maxLength": 1000 23 + }, 24 + "visibility": { 25 + "type": "string", 26 + "enum": ["draft", "published"] 27 + }, 28 + "blobs": { 29 + "type": "array", 30 + "items": { 31 + "type": "ref", 32 + "ref": "social.pipup.blog.defs#blobMetadata" 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }