added lexicons/at/glean/annotation.json +48 -0
| new file mode 100644 |
| @@ -0,0 +1,48 @@ |
| 1 | +{ |
| 2 | + "lexicon": 1, |
| 3 | + "id": "at.glean.annotation", |
| 4 | + "defs": { |
| 5 | + "main": { |
| 6 | + "type": "record", |
| 7 | + "key": "tid", |
| 8 | + "description": "Reading note on a specific RSS article.", |
| 9 | + "record": { |
| 10 | + "type": "object", |
| 11 | + "required": ["feedUrl", "articleUrl"], |
| 12 | + "properties": { |
| 13 | + "createdAt": { |
| 14 | + "type": "string", |
| 15 | + "format": "datetime" |
| 16 | + }, |
| 17 | + "feedUrl": { |
| 18 | + "type": "string" |
| 19 | + }, |
| 20 | + "articleUrl": { |
| 21 | + "type": "string" |
| 22 | + }, |
| 23 | + "quote": { |
| 24 | + "type": "string", |
| 25 | + "maxGraphemes": 5000 |
| 26 | + }, |
| 27 | + "note": { |
| 28 | + "type": "string", |
| 29 | + "maxGraphemes": 500 |
| 30 | + }, |
| 31 | + "tags": { |
| 32 | + "type": "array", |
| 33 | + "items": { |
| 34 | + "type": "string", |
| 35 | + "maxGraphemes": 50 |
| 36 | + }, |
| 37 | + "maxLength": 10 |
| 38 | + }, |
| 39 | + "rating": { |
| 40 | + "type": "integer", |
| 41 | + "minimum": 1, |
| 42 | + "maximum": 5 |
| 43 | + } |
| 44 | + } |
| 45 | + } |
| 46 | + } |
| 47 | + } |
| 48 | +} |
| new file mode 100644 |
| @@ -0,0 +1,48 @@ |
| | 1 | +{ |
| | 2 | + "lexicon": 1, |
| | 3 | + "id": "at.glean.annotation", |
| | 4 | + "defs": { |
| | 5 | + "main": { |
| | 6 | + "type": "record", |
| | 7 | + "key": "tid", |
| | 8 | + "description": "Reading note on a specific RSS article.", |
| | 9 | + "record": { |
| | 10 | + "type": "object", |
| | 11 | + "required": ["feedUrl", "articleUrl"], |
| | 12 | + "properties": { |
| | 13 | + "createdAt": { |
| | 14 | + "type": "string", |
| | 15 | + "format": "datetime" |
| | 16 | + }, |
| | 17 | + "feedUrl": { |
| | 18 | + "type": "string" |
| | 19 | + }, |
| | 20 | + "articleUrl": { |
| | 21 | + "type": "string" |
| | 22 | + }, |
| | 23 | + "quote": { |
| | 24 | + "type": "string", |
| | 25 | + "maxGraphemes": 5000 |
| | 26 | + }, |
| | 27 | + "note": { |
| | 28 | + "type": "string", |
| | 29 | + "maxGraphemes": 500 |
| | 30 | + }, |
| | 31 | + "tags": { |
| | 32 | + "type": "array", |
| | 33 | + "items": { |
| | 34 | + "type": "string", |
| | 35 | + "maxGraphemes": 50 |
| | 36 | + }, |
| | 37 | + "maxLength": 10 |
| | 38 | + }, |
| | 39 | + "rating": { |
| | 40 | + "type": "integer", |
| | 41 | + "minimum": 1, |
| | 42 | + "maximum": 5 |
| | 43 | + } |
| | 44 | + } |
| | 45 | + } |
| | 46 | + } |
| | 47 | + } |
| | 48 | +} |
added lexicons/at/glean/like.json +27 -0
| new file mode 100644 |
| @@ -0,0 +1,27 @@ |
| 1 | +{ |
| 2 | + "lexicon": 1, |
| 3 | + "id": "at.glean.like", |
| 4 | + "defs": { |
| 5 | + "main": { |
| 6 | + "type": "record", |
| 7 | + "key": "tid", |
| 8 | + "description": "Like an RSS article.", |
| 9 | + "record": { |
| 10 | + "type": "object", |
| 11 | + "required": ["feedUrl", "articleUrl"], |
| 12 | + "properties": { |
| 13 | + "createdAt": { |
| 14 | + "type": "string", |
| 15 | + "format": "datetime" |
| 16 | + }, |
| 17 | + "feedUrl": { |
| 18 | + "type": "string" |
| 19 | + }, |
| 20 | + "articleUrl": { |
| 21 | + "type": "string" |
| 22 | + } |
| 23 | + } |
| 24 | + } |
| 25 | + } |
| 26 | + } |
| 27 | +} |
| new file mode 100644 |
| @@ -0,0 +1,27 @@ |
| | 1 | +{ |
| | 2 | + "lexicon": 1, |
| | 3 | + "id": "at.glean.like", |
| | 4 | + "defs": { |
| | 5 | + "main": { |
| | 6 | + "type": "record", |
| | 7 | + "key": "tid", |
| | 8 | + "description": "Like an RSS article.", |
| | 9 | + "record": { |
| | 10 | + "type": "object", |
| | 11 | + "required": ["feedUrl", "articleUrl"], |
| | 12 | + "properties": { |
| | 13 | + "createdAt": { |
| | 14 | + "type": "string", |
| | 15 | + "format": "datetime" |
| | 16 | + }, |
| | 17 | + "feedUrl": { |
| | 18 | + "type": "string" |
| | 19 | + }, |
| | 20 | + "articleUrl": { |
| | 21 | + "type": "string" |
| | 22 | + } |
| | 23 | + } |
| | 24 | + } |
| | 25 | + } |
| | 26 | + } |
| | 27 | +} |
added lexicons/at/glean/subscription.json +30 -0
| new file mode 100644 |
| @@ -0,0 +1,30 @@ |
| 1 | +{ |
| 2 | + "lexicon": 1, |
| 3 | + "id": "at.glean.subscription", |
| 4 | + "defs": { |
| 5 | + "main": { |
| 6 | + "type": "record", |
| 7 | + "key": "tid", |
| 8 | + "description": "A single RSS feed subscription.", |
| 9 | + "record": { |
| 10 | + "type": "object", |
| 11 | + "required": ["feedUrl"], |
| 12 | + "properties": { |
| 13 | + "createdAt": { |
| 14 | + "type": "string", |
| 15 | + "format": "datetime" |
| 16 | + }, |
| 17 | + "feedUrl": { |
| 18 | + "type": "string" |
| 19 | + }, |
| 20 | + "title": { |
| 21 | + "type": "string" |
| 22 | + }, |
| 23 | + "category": { |
| 24 | + "type": "string" |
| 25 | + } |
| 26 | + } |
| 27 | + } |
| 28 | + } |
| 29 | + } |
| 30 | +} |
| new file mode 100644 |
| @@ -0,0 +1,30 @@ |
| | 1 | +{ |
| | 2 | + "lexicon": 1, |
| | 3 | + "id": "at.glean.subscription", |
| | 4 | + "defs": { |
| | 5 | + "main": { |
| | 6 | + "type": "record", |
| | 7 | + "key": "tid", |
| | 8 | + "description": "A single RSS feed subscription.", |
| | 9 | + "record": { |
| | 10 | + "type": "object", |
| | 11 | + "required": ["feedUrl"], |
| | 12 | + "properties": { |
| | 13 | + "createdAt": { |
| | 14 | + "type": "string", |
| | 15 | + "format": "datetime" |
| | 16 | + }, |
| | 17 | + "feedUrl": { |
| | 18 | + "type": "string" |
| | 19 | + }, |
| | 20 | + "title": { |
| | 21 | + "type": "string" |
| | 22 | + }, |
| | 23 | + "category": { |
| | 24 | + "type": "string" |
| | 25 | + } |
| | 26 | + } |
| | 27 | + } |
| | 28 | + } |
| | 29 | + } |
| | 30 | +} |