Publish Campaign
publish_campaignPublish a pricing campaign to the DPYC community.
Commits both a machine-importable JSON file and a human-readable
Markdown summary to the dpyc-community campaigns directory. The
request must be signed with author_npub's key (NIP-98), so a
campaign is published only under its author's own name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author_npub | Yes | The npub of the person who designed the campaign. | |
| campaign_json | Yes | The full campaign export as a JSON string. | |
| campaign_name | No | Optional display name. Derived from JSON if omitted. | |
| operator_npub | Yes | The npub of the operator the campaign is for. | |
| campaign_markdown | No | Optional pre-rendered Markdown. If omitted, the Oracle generates a basic summary from the JSON. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||