Skip to main content

What is a Parser?

A parser defines the data structure for events in a specific vertical. It controls which fields are collected, how they are encoded for transmission, and whether they can be sent offline via structured protocols when internet connectivity is unavailable. Each parser belongs to a tenant and is scoped to a vertical - healthcare, banking, emergency, logistics, telecom, or gov. A tenant can have multiple parser versions per vertical, but only one is active at a time.

Why Parsers Matter

In environments where connectivity is unreliable, every byte counts. When an event cannot be sent via REST, Wede falls back to structured protocols. A parser ensures that the most critical fields are encoded efficiently - fitting into as few protocol units as possible - while preserving data integrity and legal compliance. A well-configured parser means your operations continue without interruption, regardless of network conditions.

Field Sections

Each parser is composed of fields organised into sections:

Field Types

Structured Encoding

Wede calculates the estimated byte size of each enabled field and the total payload size. If the payload exceeds 140 bytes, it is automatically fragmented and reassembled at the destination - transparently, without changes to your integration. Each field is encoded as compact key-value pairs. The field code is a short identifier (up to 8 characters) that minimises transmission size. Fields marked offline_capable: false are excluded when transmitting via structured protocols. Fields marked legal: true contain personally identifiable information (PII). These fields are subject to GDPR and local data protection regulations. Wede logs access to legal fields in the audit trail automatically.

Versioning

When you update a parser schema, Wede creates a new version. The previous version is deactivated but retained for audit purposes. All events are tagged with the parser version active at the time of creation.

Parser Protection — Three Layers

Parsers are protected at three levels to prevent accidental or malicious modification of critical fields: Attempts to modify protected fields are rejected and recorded in the Audit Log as parser.update.rejected.

Action Catalog Integration

The event_type field in a parser points to the action catalog — not a hardcoded list. This means:
  • The tenant defines which event types exist (via the catalog)
  • The parser event_type field references catalog action codes
  • Teams are linked to catalog actions to determine dispatch eligibility
To configure event types for a parser, go to Parsers → Actions tab in the dashboard and link catalog actions.

Automatic Seed on Vertical Assignment

When a vertical is assigned to a tenant, Wede automatically seeds a default parser for that vertical. The seed parser includes:
  • Core integrity fields (locked)
  • Standard legal fields (locked)
  • Vertical-specific operational fields (configurable)
The tenant can extend the seeded parser with custom fields but cannot remove core or legal fields.

Roles & Access

Example - Healthcare Parser

A minimal healthcare parser for offline-capable emergency events:
This parser fits in a single protocol unit (approximately 90 bytes), ensuring delivery even on the most degraded networks.