example restaurant review app on atproto
at main 891 B view raw
1{ 2 "lexicon": 1, 3 "id": "app.fooodz.review", 4 "defs": { 5 "main": { 6 "type": "record", 7 "description": "A user's review/rating of a restaurant", 8 "record": { 9 "type": "object", 10 "required": ["place", "review", "rating", "createdAt"], 11 "properties": { 12 "place": { 13 "type": "string", 14 "description": "The name of the place that the review is for", 15 "maxLength": 200, 16 "maxGraphemes": 20 17 }, 18 "review": { 19 "type": "string", 20 "description": "review of food place", 21 "maxLength": 3000, 22 "maxGraphemes": 300 23 }, 24 "rating": { 25 "type": "integer", 26 "minimum": 1, 27 "maximum": 5, 28 "description": "The rating for the restaurant on a scale of 1 to 5" 29 }, 30 "createdAt": { 31 "type": "string", 32 "format": "datetime", 33 "description": "When the review was written" 34 } 35 } 36 } 37 } 38 } 39}