{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/epicdirectories/json-schema/epicdirectories-create-comped-order-dto-schema.json",
  "title": "CreateCompedOrderDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/epicdirectories-orders-admin-api-openapi.yml#/components/schemas/CreateCompedOrderDto",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "guest_post",
        "niche_edit"
      ]
    },
    "purchaserEmail": {
      "type": "string",
      "description": "Who the work is discussed with. Not validated as an email: this is a note to the operator, and nothing sends mail to it — there is no email infrastructure in this system."
    },
    "targetUrl": {
      "type": "string",
      "description": "Link destination the post should point at."
    },
    "anchorText": {
      "type": "string"
    },
    "brief": {
      "type": "string",
      "description": "Topic, a link to a draft, or instructions."
    },
    "operatorNotes": {
      "type": "string",
      "description": "Why it was comped, ideally."
    }
  },
  "required": [
    "kind"
  ]
}