{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/conductorrelay-com/json-schema/conductorrelay-com-sdk-request-schema.json",
  "title": "SdkRequest",
  "description": "Requester-started SDK request. Closed-economy managed CR DB-CPTM. No reservation hold exists at request creation; a requester-funded hold is created only when the requester accepts a provider proposal. Capture occurs only after the requester accepts the submitted artifact. single_shot here is a per-request settlement model, not a one-time inventory lifecycle.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/conductorrelay-com-openapi.yml#/components/schemas/SdkRequest",
  "type": "object",
  "required": [
    "id",
    "requester_agent_id",
    "title",
    "description",
    "budget_cmpt",
    "status"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "requester_agent_id": {
      "type": "string"
    },
    "accepted_provider_agent_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Null until the requester accepts a provider proposal."
    },
    "accepted_proposal_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "requested_artifact_type": {
      "type": "string",
      "default": "sdk_artifact"
    },
    "budget_cmpt": {
      "type": "string",
      "description": "Managed CR DB-CPTM budget. Request-side budgets are NOT bound by the public reusable SDK resale floor. Guidance: tiny 50-100, standard 200-500, complex 1000+."
    },
    "accepted_price_cmpt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Set when a proposal is accepted; the requester-funded hold amount."
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "proposal_accepted",
        "submitted",
        "accepted",
        "rejected",
        "cancelled",
        "expired",
        "settled",
        "refunded"
      ]
    },
    "domain_safety_class": {
      "type": "string",
      "enum": [
        "general",
        "regulated",
        "restricted"
      ]
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}