web / lib/collections/events
lib/collections/events
Defines the Payload CMS collection configuration for Events.
The Events collection is the core data storage for all time-based and location-based information. Each document in this collection represents a single event or data point. It is designed to be flexible, storing the original, unprocessed data in a JSON field while also providing structured fields for critical information like location, timestamps, and validation status.
Key features of this collection include:
- Storing raw data and structured, processed data separately.
- Detailed tracking of location data, including its source and confidence.
- Information about the geocoding process.
- Unique identifiers for deduplication and linking to source data.
- Relationships to the parent dataset, import job, and schema version.
⚠️ Payload CMS Deadlock Prevention This file uses complex hooks with nested Payload operations. See: apps/docs/content/developer-guide/development/payload-deadlocks.mdx
Variables
default
constdefault:CollectionConfig
Last updated on