@aventurevc/api-schemas 0.8.216 → 0.8.218

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ const EntityUrlLinkSchemaDefinition = z.object({
13
13
  id: z.int().nullish(),
14
14
  /** `true` = owner currently uses this URL; `false` = historical/former (rebrand source domain, deprecated platform handle). The lifecycle state lives here, NEVER in the `urlType` discriminator. */
15
15
  isCurrent: z.boolean().nullish(),
16
- /** `true` = canonical/primary URL of this `urlType` for this owner. Only one row per (owner, urlType) may be `isCurrent=true` AND `isPrimary=true`. */
16
+ /** `true` = canonical/primary URL of this `urlType` for this owner. Only one row per (owner, urlType) may be `isCurrent=true` AND `isPrimary=true`. Retired rows are always non-primary, including when a write requests otherwise. */
17
17
  isPrimary: z.boolean().nullish(),
18
18
  /** Owning record, nested ids only: owner.entityId or owner.personId — exactly one is set, and no name fields. Writes are scoped by the owning entity/person route; owner is never a write field. */
19
19
  owner: EntityPersonOwnerSchema.nullish(),
@@ -23,7 +23,7 @@ const EntityUrlLinkSchemaDefinition = z.object({
23
23
  /** Time of the latest URL status observation. */
24
24
  statusChecked: z.iso.datetime({ offset: true }).nullish(),
25
25
  updatedAt: z.iso.datetime({ offset: true }).nullish(),
26
- /** Canonical absolute HTTP URL value - validates scheme + host at construction */
26
+ /** Canonical absolute URL after storage and live same-site host normalization. */
27
27
  url: z.string(),
28
28
  urlType: EntityUrlTypeSchema,
29
29
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.216",
3
+ "version": "0.8.218",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",