Open Pet Data Standard
The CloudEvents of pet telemetry. A citable, open standard for activity trackers, smart collars, and veterinary integrations.
Simple, Versioned Event Envelope
Every OPDS event follows a consistent envelope structure with namespaced types, idempotency keys, and clear provenance. Designed for append-only event stores.
- ✓Globally unique event IDs
- ✓Versioned event types (e.g., opds.activity.summary.v1)
- ✓Immutable corrections, not overwrites
- ✓RFC-0002 consent lifecycle
{
"event_id": "evt_7b2c3d4e-5f6a-7b8c-9d0e",
"event_type": "opds.activity.summary.v1",
"opds_version": "0.2.0",
"subject": "pet_abc123",
"event_time": "2025-12-27T14:30:00Z",
"source": {
"connector": "fitbark",
"device_id": "fb_12345"
},
"data": {
"step_count": 4500,
"active_minutes": 45,
"rest_quality": "good"
}
}Developer Tools
Schema Registry
Browse and validate against versioned JSON schemas for all OPDS event types.
Event Simulator
Generate realistic test events for activity, vitals, and more. Perfect for testing.
Webhook Lab
Test webhook integrations with a public tunnel. Inspect and replay requests.
API Explorer
Interactive API documentation with try-it functionality for all endpoints.
Supported Event Types
OPDS v0.2.0 includes schemas for activity tracking, vital signs, data corrections, and consent management.
opds.activity.summary.v1Daily/hourly activity rollup
opds.vitals.temperature.v1Temperature reading
opds.vitals.weight.v1Weight measurement
opds.system.correction.v1Late-arriving data correction
opds.consent.grant.v1Consent authorization
opds.consent.revoke.v1Consent revocation
Quick Start
# Install conformance tests
npm install @opds/conformance# Validate an event
import { validateEvent } from '@opds/conformance';
const result = validateEvent({
event_type: 'opds.activity.summary.v1',
// ... event data
});
console.log(result.valid); // true