Skip to main content
VelinStyle v1.4.0
⌂ Home

block.json 1.4.0

A manifest is the install, compatibility, accessibility, and Adapt boundary for owned Block source.

Required fields

FieldRule
nameStable kebab-case ID
versionSemver
descriptionNon-empty purpose
filesRelative copy paths; no traversal
a11yLandmark, keyboard, contrast expectations

Extended fields

id, category, dependencies, peerDependencies, tokens, components, framework(s), adaptContract, compatibility, license, author, repository, origin, and integrity provide the Phase-5 contract.

Adapt contract

{
  "roles": ["hero"],
  "density": ["compact", "comfortable", "spacious"],
  "layout": ["stack", "split"],
  "allowedActions": ["density", "layout"]
}

Security

Manifest capability is declarative. It cannot register runtime hooks, external fetch, free DOM/CSS, innerHTML, cloud AI, eval, or script URLs.