design.publish

Publish the current draft as the next live version (validates strictly; flips the live pointer).

Payload

fieldtyperequirednotes
expectedHashstring (/^[a-f0-9]{16}$/)yes
labelstring (≤120 chars)no
workspacestring (/^(main|ws_[0-9A-HJKMNP-TV-Z]{26})$/, default "main")no

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "expectedHash": {
      "type": "string",
      "pattern": "^[a-f0-9]{16}$"
    },
    "label": {
      "type": "string",
      "maxLength": 120
    },
    "workspace": {
      "default": "main",
      "type": "string",
      "pattern": "^(main|ws_[0-9A-HJKMNP-TV-Z]{26})$"
    }
  },
  "required": [
    "expectedHash"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/design.publish.md