{
"$type": "com.atproto.lexicon.schema",
"defs": {
"dayHours": {
"properties": {
"close": {
"description": "Minutes from midnight.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
},
"isClosed": {
"type": "boolean"
},
"open": {
"description": "Minutes from midnight.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
}
},
"required": [
"isClosed",
"open",
"close"
],
"type": "object"
},
"main": {
"description": "A barbecue joint. Place facts only: ratings and reviews are separate contributions and are not part of a place record.",
"key": "any",
"record": {
"properties": {
"blurb": {
"maxLength": 1000,
"type": "string"
},
"city": {
"maxLength": 100,
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"hours": {
"ref": "#weeklyHours",
"type": "ref"
},
"lat": {
"description": "WGS84 latitude in decimal degrees, as a string so the value round-trips exactly.",
"type": "string"
},
"lon": {
"description": "WGS84 longitude in decimal degrees, as a string so the value round-trips exactly.",
"type": "string"
},
"name": {
"description": "The joint's name as it trades.",
"maxLength": 200,
"type": "string"
},
"priceLevel": {
"maximum": 4,
"minimum": 1,
"type": "integer"
},
"region": {
"description": "State or province code, e.g. TX.",
"maxLength": 10,
"type": "string"
},
"source": {
"description": "Where these facts came from.",
"maxLength": 500,
"type": "string"
},
"specialty": {
"description": "What to order, e.g. Brisket.",
"maxLength": 100,
"type": "string"
},
"styles": {
"items": {
"maxLength": 60,
"type": "string"
},
"maxLength": 8,
"type": "array"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"name",
"lat",
"lon",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"weeklyHours": {
"description": "Opening hours, Sunday first. Seven entries; a close at or before the open means the window runs past midnight.",
"properties": {
"days": {
"items": {
"ref": "#dayHours",
"type": "ref"
},
"maxLength": 7,
"minLength": 7,
"type": "array"
}
},
"required": [
"days"
],
"type": "object"
}
},
"id": "com.bbq-joints.place",
"lexicon": 1
}