# fair-events block documentation

Machine-readable entry point: `index.json` (schema version 1).
It records the plugin version these files ship with, every block the
plugin supplies, the path to its block.json, its usage guide, and
serialized examples. All paths are relative to the plugin directory.

## Shipped, registered, and available

- **Shipped:** listed in `index.json`. Shipping a block does not mean a site can use it.
- **Registered:** WordPress knows the block on a given site. Check with the
  authenticated core endpoint `GET /wp-json/wp/v2/block-types/<namespace>/<name>`
  (or `GET /wp-json/wp/v2/block-types?namespace=<namespace>`), which requires
  the `edit_posts` capability. Registration can depend on other active plugins
  or feature flags; each entry's `registration` and `requires` say when.
- **Available:** the editor offers the block in a particular place. A block
  with `parent` or `ancestor` metadata, or a parent with a restricted list of
  allowed inner blocks, is only insertable inside those parents, and a block
  hidden from the inserter (`supports.inserter: false`) only renders existing
  content. REST registration alone does not establish availability.

Block names are not a reliable ownership signal: some blocks use another
plugin's namespace. Use `ownerPlugin` in `index.json`.

## Blocks

| Block | Title | Status | Guide |
| --- | --- | --- | --- |
| `fair-events/event-dates` | Event Dates | authoring | [README](fair-events/event-dates/README.md) |
| `fair-events/event-info` | Event Info | authoring | [README](fair-events/event-info/README.md) |
| `fair-events/event-prices` | Event Prices | authoring | [README](fair-events/event-prices/README.md) |
| `fair-events/event-proposal` | Event Proposal Form | unregistered | [README](fair-events/event-proposal/README.md) |
| `fair-events/event-signup` | Event Signup | authoring | [README](fair-events/event-signup/README.md) |
| `fair-events/events-calendar` | Events Calendar | authoring | [README](fair-events/events-calendar/README.md) |
| `fair-events/events-list` | Events List | authoring | [README](fair-events/events-list/README.md) |
| `fair-events/events-week` | Events Week View | authoring | [README](fair-events/events-week/README.md) |
| `fair-events/get-tickets` | Get Tickets (legacy) | legacy | [README](fair-events/get-tickets/README.md) |
| `fair-events/other-sessions` | Other Sessions | authoring | [README](fair-events/other-sessions/README.md) |
| `fair-events/venue-info` | Venue Info | authoring | [README](fair-events/venue-info/README.md) |

## Block variations

| Block | Variation | Title | Guide |
| --- | --- | --- | --- |
| `core/button` | `calendar-button` | Add to Calendar | [README](variations/core/button/calendar-button/README.md) |
