Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Contracts and edge cases

Platform spec article

Contracts and edge cases

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Registry validator and UI MUST rules.

IDRule
PK-T01When packageKind is template, validator must not require .beskid/docs/api.json.
PK-T02Validator must require .beskid/template.json with schema: beskid.template.v1.
PK-T03Project.proj must be present and should declare type: Template for author packages.
PK-T04package.json id must match Project.proj name (same rule as libraries).
PK-T05Versioning, checksum, forbidden paths, and yank semantics must match library packages.
IDRule
PK-U01Package detail for template must not render API documentation components.
PK-U02Search and catalog may filter by packageKind.
PK-U03Dashboard publish flows must allow selecting template projects for pack.
  • Upload library .bpk to template-only route — reject if packageKind mismatch when enforced server-side.
  • Template package with documentation.apiJson in package.json — strip at publish or reject as invalid for template profile.
  • Yanked template: catalog shows yank; beskid new warns per project templates contracts.