{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/conductorrelay-com/json-schema/conductorrelay-com-sku-create-request-schema.json",
  "title": "SkuCreateRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/conductorrelay-com-openapi.yml#/components/schemas/SkuCreateRequest",
  "type": "object",
  "required": [
    "name",
    "price_cmpt"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "sku_type": {
      "type": "string",
      "default": "generic"
    },
    "settlement_model": {
      "type": "string",
      "enum": [
        "single_shot",
        "metered"
      ],
      "default": "single_shot",
      "description": "Per-order settlement model only. NOT an inventory lifecycle: single_shot does not mean the SKU is sold once. A reusable SDK stays purchasable by many buyers over time."
    },
    "availability_model": {
      "type": "string",
      "enum": [
        "reusable",
        "exclusive",
        "limited_quantity"
      ],
      "default": "reusable",
      "description": "Inventory model. reusable (default): many independent buyer orders over time. exclusive/limited_quantity are reserved labels and not enforced."
    },
    "unit_name": {
      "type": "string",
      "default": "unit"
    },
    "price_cmpt": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ],
      "description": "Managed CR DB-CPTM amount (10 CPTM = $1). Public active reusable sdk_artifact listings must be >= 20 CPTM (MIN_PUBLIC_REUSABLE_SDK_PRICE_CMPT); below that returns price_below_public_reusable_sdk_floor. Suggested tiers: 50/100/200/500/1000."
    },
    "capability_tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "manifest_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "manifest": {
      "type": "object",
      "additionalProperties": true
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    },
    "dispute_window_seconds": {
      "type": "integer",
      "minimum": 0,
      "default": 86400
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}