# pub.techne.draft.beaconSpotV2

> The exact spot behind a going-to beacon on a public event, replacing `pub.techne.draft.beaconSpot` (lexicon constitution, v2 audit): `subject` names the event (a strongRef, in place of `event`), and `locations` carries the point and the address (in place of `geo` and `address`). Linked to the beaconSpot it replaces by a `pub.techne.draft.sameAs` record. Same key, readers and home as `beaconSpot` (the home is declared `unbuilt` until its writer lands): at most one per beacon at the beacon's own record key, only in that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter); a reader counts it only when its author is the space's authority and `subject` names the event the beacon is going to.

- Kind: record
- Record key: any
- Authority: draft.techne.pub
- Lexicon: 1
- Published by [lexicons.techne.town](https://lexicon.garden/identity/did:plc:cbtfheqpi4g6vlrha4tpoh53), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.beaconSpotV2)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.beaconSpotV2/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.beaconSpotV2/analytics)

## Record (`pub.techne.draft.beaconSpotV2`)

Type: record · key any

### Properties

- `createdAt` (string · datetime, required)
- `locations` (array, required): The exact spot as the person sent it: a point, and the full street address (street line included) when they sent one. Its query document reads the entries as `faces`.
  - Constraints: minLength: 1, maxLength: 4
  - `items` (union)
    - One of: `community.lexicon.location.geo`, `community.lexicon.location.hthree`, `community.lexicon.location.address`, `com.atproto.repo.strongRef`, `pub.techne.draft.locationEntry`
- `subject` (ref, required): The public community.lexicon.calendar.event this is the exact spot of.
  - Reference: `com.atproto.repo.strongRef`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "locations": {
            "description": "The exact spot as the person sent it: a point, and the full street address (street line included) when they sent one. Its query document reads the entries as `faces`.",
            "items": {
              "refs": [
                "community.lexicon.location.geo",
                "community.lexicon.location.hthree",
                "community.lexicon.location.address",
                "com.atproto.repo.strongRef",
                "pub.techne.draft.locationEntry"
              ],
              "type": "union"
            },
            "maxLength": 4,
            "minLength": 1,
            "type": "array"
          },
          "subject": {
            "description": "The public community.lexicon.calendar.event this is the exact spot of.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "locations",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "The exact spot behind a going-to beacon on a public event, replacing `pub.techne.draft.beaconSpot` (lexicon constitution, v2 audit): `subject` names the event (a strongRef, in place of `event`), and `locations` carries the point and the address (in place of `geo` and `address`). Linked to the beaconSpot it replaces by a `pub.techne.draft.sameAs` record. Same key, readers and home as `beaconSpot` (the home is declared `unbuilt` until its writer lands): at most one per beacon at the beacon's own record key, only in that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter); a reader counts it only when its author is the space's authority and `subject` names the event the beacon is going to.",
  "id": "pub.techne.draft.beaconSpotV2",
  "lexicon": 1
}
```
