{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/capmus-com/json-schema/capmus-com-draft-created-schema.json",
  "title": "DraftCreated",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/capmus-com-openapi.yml#/components/schemas/DraftCreated",
  "type": "object",
  "required": [
    "draft_id",
    "continue_url",
    "payment_required",
    "publish_email_sent"
  ],
  "properties": {
    "draft_id": {
      "type": "integer"
    },
    "publish_email_sent": {
      "type": "boolean",
      "description": "True when a one-click publish link was emailed to the poster (publish: true on a free-tier email). Clicking it publishes the post immediately."
    },
    "payment_required": {
      "type": "boolean",
      "description": "True when the poster's email is not on the free posting tier — publishing at continue_url will include choosing a posting plan."
    },
    "continue_url": {
      "type": "string",
      "format": "uri",
      "description": "Opens the create-post wizard with this draft loaded. Grants edit access — share only with the poster."
    },
    "detail": {
      "type": "string"
    }
  }
}