Part of Better Data's open operational infrastructure. Use standalone or with Commerce Chain Optimization.

See Commerce Chain Optimization →
tagd.sh

Schema

Schema Overview

The Signal Tags schema defines product identity, provenance, and verification state.

2 min read · Schema

Edit this page

Schema philosophy

Signal Tags is TypeScript-first with JSON-native contracts. The source of truth is JSON Schema; typed interfaces mirror those contracts.

Top-level fields

NameTypeRequiredDescription
idstringyesUnique SignalTag identifier.
statusenumyesLifecycle state for the tag.
productIdstringyesProduct reference identifier.
organizationIdstringyesTenant/issuer scope owner.
createdAtdate-timeyesCreation timestamp.
lotIdstringnoOptional lot linkage.
batchIdstringnoOptional batch linkage.
metadataobjectnoIndustry extension object.
expiresAtdate-timenoOptional expiry timestamp.
revokedAtdate-timenoOptional revocation timestamp.

Product attributes

Signal Tags keeps core fields stable and uses metadata extensions for domain-specific attributes such as:

  • gtin, name, manufacturer
  • udi (healthcare)
  • ndc (pharma)

Status values

  • manufactured
  • in_transit
  • received
  • verified
  • recalled
  • expired
  • revoked

Events and chain of custody

The related TraceEvent schema tracks custody and lifecycle transitions with fields like: eventType, occurredAt, locationId, actorId, and optional metadata.

Extending the schema

Industry add-ons should be additive and backward-compatible:

  • Put optional extensions under metadata.
  • Keep base fields stable for cross-endpoint compatibility.