# com.bbq-joints.place

> Published by [bbq-joints.com](https://lexicon.garden/identity/did:plc:khymkx52wx2lpwib6l2ysqha)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:khymkx52wx2lpwib6l2ysqha/com.bbq-joints.place)
- [Documentation](https://lexicon.garden/lexicon/did:plc:khymkx52wx2lpwib6l2ysqha/com.bbq-joints.place/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:khymkx52wx2lpwib6l2ysqha/com.bbq-joints.place/examples)

## Definitions

### `com.bbq-joints.place#dayHours`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `close` | `integer` | Yes | Minutes from midnight. |
| `isClosed` | `boolean` | Yes |  |
| `open` | `integer` | Yes | Minutes from midnight. |

### `com.bbq-joints.place`

**Type**: `record`

A barbecue joint. Place facts only: ratings and reviews are separate contributions and are not part of a place record.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `blurb` | `string` | No |  |
| `city` | `string` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `hours` | `ref` → `#weeklyHours` | No |  |
| `lat` | `string` | Yes | WGS84 latitude in decimal degrees, as a string so the value round-trips exactly. |
| `lon` | `string` | Yes | WGS84 longitude in decimal degrees, as a string so the value round-trips exactly. |
| `name` | `string` | Yes | The joint's name as it trades. |
| `priceLevel` | `integer` | No |  |
| `region` | `string` | No | State or province code, e.g. TX. |
| `source` | `string` | No | Where these facts came from. |
| `specialty` | `string` | No | What to order, e.g. Brisket. |
| `styles` | `array` | No |  |
| `updatedAt` | `string` (datetime) | No |  |

### `com.bbq-joints.place#weeklyHours`

**Type**: `object`

Opening hours, Sunday first. Seven entries; a close at or before the open means the window runs past midnight.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `days` | `array` | Yes |  |

## Raw Schema

```json
{
  "$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
}
```
