// AUTOGENERATED — DO NOT EDIT. // // Generated by scripts/codegen-schemas.ts from UCP spec at: // url https://ucp.dev/2026-04-08/schemas/shopping/types/reverse_domain_name.json // version 2026-04-08 // // Transforms applied: // (none — verbatim source) // // To regenerate: pnpm gen:schemas // CI drift gate: any uncommitted change here fails the build. // Consumed through the release registry: `isReverseDnsKey` in // src/core/operation.ts validates caller-supplied extension keys against // `RELEASES[].reverseDomainPattern`. Never hand-copy this // pattern — the grammar is not stable across releases (2026-04-08 is strictly // narrower: no hyphens, no digit-leading segments), so one release's regex is // wrong for the other. /** `reverse_domain_name` pattern for UCP 2026-04-08, verbatim from the spec. */ export const reverseDomainPattern: RegExp = new RegExp("^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$")