Document and verify optional CMS associations
verify / verify (push) Successful in 4m50s

This commit is contained in:
2026-09-10 18:00:25 -04:00
parent fcb200453a
commit ebcbbf06f5
5 changed files with 57 additions and 0 deletions
+2
View File
@@ -45,6 +45,8 @@ func (r Reference) Validate() error {
// Associations are an immutable revision's term memberships and explicit links.
// Reverse discovery reads the same links; callers must not store a second edge.
// Terms and Links are independently optional. The zero value is valid for a
// valid source; unclassified content never needs a placeholder taxonomy or link.
type Associations struct {
Terms []string `json:"terms,omitempty"`
Links []Reference `json:"links,omitempty"`