{
	"schemaVersion": 1,
	"plugin": "fair-events",
	"pluginVersion": "2.1.0",
	"discovery": {
		"shipped": "Every entry in \"blocks\" and \"variations\" ships with this plugin release.",
		"registered": "GET /wp/v2/block-types/<namespace>/<name> (authenticated, requires the edit_posts capability) reports whether a shipped block is registered on a site. Match its \"name\" against \"blocks[].name\"; the namespace alone does not identify the owning plugin.",
		"available": "A registered block is only insertable where its parent/ancestor constraints, the parent block's allowed inner blocks, and the registration condition all permit it. See each guide."
	},
	"blocks": [
		{
			"name": "fair-events/event-dates",
			"title": "Event Dates",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/event-dates/block.json",
			"metadataSource": "block.json",
			"status": "authoring",
			"registration": {
				"condition": "always",
				"detail": "Registered on init whenever Fair Events is active."
			},
			"requires": [],
			"guide": "block-docs/fair-events/event-dates/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Dates of the current event",
					"context": "event",
					"path": "block-docs/fair-events/event-dates/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-event-dates.event-dates"
				}
			]
		},
		{
			"name": "fair-events/event-info",
			"title": "Event Info",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/event-info/block.json",
			"metadataSource": "block.json",
			"status": "authoring",
			"registration": {
				"condition": "always",
				"detail": "Registered on init whenever Fair Events is active."
			},
			"requires": [],
			"guide": "block-docs/fair-events/event-info/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Event summary on an event post",
					"context": "event",
					"path": "block-docs/fair-events/event-info/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-event-info"
				}
			]
		},
		{
			"name": "fair-events/event-prices",
			"title": "Event Prices",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/event-prices/block.json",
			"metadataSource": "block.json",
			"status": "authoring",
			"registration": {
				"condition": "always",
				"detail": "Registered on init whenever Fair Events is active."
			},
			"requires": [],
			"guide": "block-docs/fair-events/event-prices/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "All public prices of the current event",
					"context": "event",
					"path": "block-docs/fair-events/event-prices/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-event-prices"
				},
				{
					"name": "hidden-ticket-types",
					"title": "Prices with a ticket type and sale period hidden",
					"context": "event",
					"path": "block-docs/fair-events/event-prices/examples/hidden-ticket-types.html",
					"frontendSelector": ".wp-block-fair-events-event-prices",
					"syntheticIds": {
						"hiddenTicketTypeIds": "IDs of ticket types of this event (Fair Events → event → Prices tab; table fair_events_ticket_types).",
						"hiddenSalePeriodIds": "IDs of sale periods of this event (same tab; table fair_events_sale_periods)."
					}
				}
			]
		},
		{
			"name": "fair-events/event-proposal",
			"title": "Event Proposal Form",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/event-proposal/block.json",
			"metadataSource": "block.json",
			"status": "unregistered",
			"registration": {
				"condition": "feature",
				"detail": "Registered only when Fair Events' `sources` feature is enabled. This release's Fair Events feature registry has no `sources` key (the bundle moved to Fair Events Experimental), so the block is never registered and existing instances do not render."
			},
			"requires": [],
			"guide": "block-docs/fair-events/event-proposal/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Proposal form with default fields",
					"context": "page",
					"path": "block-docs/fair-events/event-proposal/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-event-proposal.fair-events-proposal-form"
				}
			]
		},
		{
			"name": "fair-events/event-signup",
			"title": "Event Signup",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/event-signup/block.json",
			"metadataSource": "block.json",
			"status": "authoring",
			"registration": {
				"condition": "always",
				"detail": "Registered on init whenever Fair Events is active. Fair Audience, Fair Form, and Fair Payments Connector extend it when active."
			},
			"requires": [],
			"guide": "block-docs/fair-events/event-signup/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Signup for the current event",
					"context": "event",
					"path": "block-docs/fair-events/event-signup/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-event-signup.fair-events-get-tickets form"
				},
				{
					"name": "explicit-event-date",
					"title": "Signup for a specific event date",
					"context": "event",
					"path": "block-docs/fair-events/event-signup/examples/explicit-event-date.html",
					"frontendSelector": ".wp-block-fair-events-event-signup.fair-events-get-tickets",
					"syntheticIds": {
						"eventDateId": "ID of an event date (Fair Events → Events; table fair_event_dates). 0 or omitted means: use the event date of the current post."
					}
				},
				{
					"name": "with-questions",
					"title": "Signup with Fair Form questions",
					"context": "event",
					"path": "block-docs/fair-events/event-signup/examples/with-questions.html",
					"frontendSelector": ".fair-events-get-tickets .fair-events-event-signup-questions [data-question-key='experience_level']"
				}
			]
		},
		{
			"name": "fair-events/events-calendar",
			"title": "Events Calendar",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/events-calendar/block.json",
			"metadataSource": "block.json",
			"status": "authoring",
			"registration": {
				"condition": "always",
				"detail": "Registered on init whenever Fair Events is active."
			},
			"requires": [],
			"guide": "block-docs/fair-events/events-calendar/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Current month with navigation",
					"context": "page",
					"path": "block-docs/fair-events/events-calendar/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-events-calendar"
				},
				{
					"name": "fixed-month",
					"title": "A fixed month for one category",
					"context": "page",
					"path": "block-docs/fair-events/events-calendar/examples/fixed-month.html",
					"frontendSelector": ".wp-block-fair-events-events-calendar",
					"syntheticIds": {
						"categories": "Post category term IDs (Posts → Categories)."
					}
				}
			]
		},
		{
			"name": "fair-events/events-list",
			"title": "Events List",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/events-list/block.json",
			"metadataSource": "block.json",
			"status": "authoring",
			"registration": {
				"condition": "always",
				"detail": "Registered on init whenever Fair Events is active."
			},
			"requires": [],
			"guide": "block-docs/fair-events/events-list/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Upcoming events",
					"context": "page",
					"path": "block-docs/fair-events/events-list/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-events-list"
				},
				{
					"name": "filtered",
					"title": "Past events of one category as a grid",
					"context": "page",
					"path": "block-docs/fair-events/events-list/examples/filtered.html",
					"frontendSelector": ".wp-block-fair-events-events-list",
					"syntheticIds": {
						"categories": "Post category term IDs (Posts → Categories)."
					}
				}
			]
		},
		{
			"name": "fair-events/events-week",
			"title": "Events Week View",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/events-week/block.json",
			"metadataSource": "block.json",
			"status": "authoring",
			"registration": {
				"condition": "always",
				"detail": "Registered on init whenever Fair Events is active."
			},
			"requires": [],
			"guide": "block-docs/fair-events/events-week/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Current week",
					"context": "page",
					"path": "block-docs/fair-events/events-week/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-events-week"
				},
				{
					"name": "with-summary",
					"title": "Week with a copyable text summary",
					"context": "page",
					"path": "block-docs/fair-events/events-week/examples/with-summary.html",
					"frontendSelector": ".wp-block-fair-events-events-week"
				}
			]
		},
		{
			"name": "fair-events/get-tickets",
			"title": "Get Tickets (legacy)",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/get-tickets/block.json",
			"metadataSource": "block.json",
			"status": "legacy",
			"registration": {
				"condition": "always",
				"detail": "Registered so existing content keeps rendering, but hidden from the inserter (supports.inserter: false)."
			},
			"requires": [],
			"guide": "block-docs/fair-events/get-tickets/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Existing legacy block",
					"context": "event",
					"path": "block-docs/fair-events/get-tickets/examples/minimal.html",
					"frontendSelector": ".fair-events-get-tickets"
				}
			],
			"replacement": "fair-events/event-signup"
		},
		{
			"name": "fair-events/other-sessions",
			"title": "Other Sessions",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/other-sessions/block.json",
			"metadataSource": "block.json",
			"status": "authoring",
			"registration": {
				"condition": "always",
				"detail": "Registered on init whenever Fair Events is active."
			},
			"requires": [],
			"guide": "block-docs/fair-events/other-sessions/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Upcoming sessions on a recurring event post",
					"context": "recurring-event",
					"path": "block-docs/fair-events/other-sessions/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-other-sessions"
				}
			]
		},
		{
			"name": "fair-events/venue-info",
			"title": "Venue Info",
			"ownerPlugin": "fair-events",
			"metadata": "build/blocks/venue-info/block.json",
			"metadataSource": "block.json",
			"status": "authoring",
			"registration": {
				"condition": "always",
				"detail": "Registered on init whenever Fair Events is active."
			},
			"requires": [],
			"guide": "block-docs/fair-events/venue-info/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Details of one venue",
					"context": "page",
					"path": "block-docs/fair-events/venue-info/examples/minimal.html",
					"frontendSelector": ".wp-block-fair-events-venue-info",
					"syntheticIds": {
						"venueId": "ID of a venue (Fair Events → Venues; table fair_event_venues)."
					}
				}
			]
		}
	],
	"variations": [
		{
			"block": "core/button",
			"variation": "calendar-button",
			"title": "Add to Calendar",
			"ownerPlugin": "fair-events",
			"isActive": {
				"isCalendarButton": true
			},
			"status": "authoring",
			"registration": {
				"condition": "post-type",
				"detail": "Fair Events adds the isCalendarButton attribute to core/button on every site. The editor offers the variation only while editing a post type enabled for events (fair_event by default)."
			},
			"requires": [],
			"guide": "block-docs/variations/core/button/calendar-button/README.md",
			"examples": [
				{
					"name": "minimal",
					"title": "Calendar button on an event post",
					"context": "event",
					"path": "block-docs/variations/core/button/calendar-button/examples/minimal.html",
					"frontendSelector": "a.wp-block-button__link[data-calendar-button='true']"
				}
			]
		}
	]
}
