tagd.sh

Schema Overview

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

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:

Status values

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: