-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
1,557 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "fyi.unravel.frontpage.post", | ||
"defs": { | ||
"main": { | ||
"type": "record", | ||
"description": "Record containing a Frontpage post.", | ||
"key": "tid", | ||
"record": { | ||
"type": "object", | ||
"required": ["title", "url", "createdAt"], | ||
"properties": { | ||
"title": { | ||
"type": "string", | ||
"maxLength": 3000, | ||
"maxGraphemes": 300, | ||
"description": "The title of the post." | ||
}, | ||
"url": { | ||
"type": "string", | ||
"format": "uri", | ||
"description": "The URL of the post." | ||
}, | ||
"createdAt": { | ||
"type": "string", | ||
"format": "datetime", | ||
"description": "Client-declared timestamp when this post was originally created." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "blue.linkat.board", | ||
"defs": { | ||
"main": { | ||
"type": "record", | ||
"description": "Record containing a cards of your profile.", | ||
"key": "literal:self", | ||
"record": { | ||
"type": "object", | ||
"required": ["cards"], | ||
"properties": { | ||
"cards": { | ||
"type": "array", | ||
"description": "List of cards in the board.", | ||
"items": { | ||
"type": "ref", | ||
"ref": "#card" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"card": { | ||
"type": "object", | ||
"properties": { | ||
"url": { | ||
"type": "string", | ||
"description": "URL of the link" | ||
}, | ||
"text": { | ||
"type": "string", | ||
"description": "Text of the card" | ||
}, | ||
"emoji": { | ||
"type": "string", | ||
"description": "Emoji of the card" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "com.whtwnd.blog.defs", | ||
"defs": { | ||
"blogEntry": { | ||
"type": "object", | ||
"required": ["content"], | ||
"properties": { | ||
"content": { | ||
"type": "string", | ||
"maxLength": 100000 | ||
}, | ||
"createdAt": { | ||
"type": "string", | ||
"format": "datetime" | ||
} | ||
} | ||
}, | ||
"comment": { | ||
"type": "object", | ||
"required": ["content", "entryUri"], | ||
"properties": { | ||
"content": { | ||
"type": "string", | ||
"maxLength": 1000 | ||
}, | ||
"entryUri": { | ||
"type": "string", | ||
"format": "at-uri" | ||
} | ||
} | ||
}, | ||
"ogp": { | ||
"type": "object", | ||
"required": ["url"], | ||
"properties": { | ||
"url": { | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
"width": { | ||
"type": "integer" | ||
}, | ||
"height": { | ||
"type": "integer" | ||
} | ||
} | ||
}, | ||
"blobMetadata": { | ||
"type": "object", | ||
"required": ["blobref"], | ||
"properties": { | ||
"blobref": { | ||
"type": "blob", | ||
"accept": ["*/*"] | ||
}, | ||
"name": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "com.whtwnd.blog.entry", | ||
"defs": { | ||
"main": { | ||
"type": "record", | ||
"description": "A declaration of a post.", | ||
"key": "tid", | ||
"record": { | ||
"type": "object", | ||
"required": ["content"], | ||
"properties": { | ||
"content": { | ||
"type": "string", | ||
"maxLength": 100000 | ||
}, | ||
"createdAt": { | ||
"type": "string", | ||
"format": "datetime" | ||
}, | ||
"title": { | ||
"type": "string", | ||
"maxLength": 1000 | ||
}, | ||
"ogp": { | ||
"type": "ref", | ||
"ref": "com.whtwnd.blog.defs#ogp" | ||
}, | ||
"theme": { | ||
"type": "string", | ||
"enum": ["github-light"] | ||
}, | ||
"blobs": { | ||
"type": "array", | ||
"items": { | ||
"type": "ref", | ||
"ref": "com.whtwnd.blog.defs#blobMetadata" | ||
} | ||
}, | ||
"isDraft": { | ||
"type": "boolean", | ||
"description": "(DEPRECATED) Marks this entry as draft to tell AppViews not to show it to anyone except for the author" | ||
}, | ||
"visibility": { | ||
"type": "string", | ||
"enum": ["public", "url", "author"], | ||
"default": "public", | ||
"description": "Tells the visibility of the article to AppView." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.