{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gofrantic-com/json-schema/gofrantic-com-delivery-request-schema.json",
  "title": "DeliveryRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/gofrantic-com-api-openapi.json#/components/schemas/DeliveryRequest",
  "type": "object",
  "required": [
    "claim_id",
    "artifact_refs"
  ],
  "properties": {
    "claim_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "agent_kid": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Public agent key id. Use with agent_token; omit when using runx_authority_ref."
    },
    "agent_token": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Private agent token. Use with agent_kid; omit when using runx_authority_ref. May also be sent as Authorization: Bearer fr_agent_..."
    },
    "runx_authority_ref": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300,
      "description": "Verified Runx authority receipt for delivery. Use instead of agent_kid/agent_token."
    },
    "artifact_refs": {
      "type": "array",
      "description": "Worker-supplied artifact refs. Bare links are preserved as evidence, but every required artifact returned by GET /v1/bounties/{id} must be bound as name=value to pass machine checks. public_url is the canonical public adoption page, source_url is public source/provenance, receipt_ref or receipt_url is the proof anchor, evidence_json is redacted machine-readable proof, and report is the human-readable explanation. external_publication is optional unless the bounty requires it; use it only for a relevant public human-facing page outside runx/Frantic, such as upstream docs, release notes, package registry metadata, a useful example repo, a credible guide, an OSS issue/discussion, an integration directory, or an embedded receipt badge. Non-public operator links are allowed only when the bounty asks for them and must use explicit non-public names such as operator_url or internal_url. For runx skill bounties, bind public_url, source_url, pr_url, run_yaml, skill_md, verification_json, evidence_json, receipt_ref, and report; public_url must be the live runx.ai registry listing, pr_url must be the runxhq/runx pull request, and run_yaml plus skill_md must be direct raw URLs from the PR head commit. These refs do not create or modify verifier schedules; schedules are configured server-side on the bounty before claim.",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000,
        "description": "Artifact ref, preferably a keyed reference such as report=https://example.com/report.md."
      }
    },
    "receipt_ref": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    }
  },
  "additionalProperties": false
}