{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/speedbot-dev/json-schema/speedbot-dev-service-draft-schema.json",
  "title": "ServiceDraft",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/speedbot-dev-openapi.json#/components/schemas/ServiceDraft",
  "type": "object",
  "required": [
    "optional",
    "draft",
    "publish_action",
    "order_check_action"
  ],
  "properties": {
    "optional": {
      "const": true
    },
    "draft": {
      "type": "object"
    },
    "required_from_provider": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "existing_services": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "wallet_bound": {
      "type": "boolean"
    },
    "listing_bonus": {
      "type": "object"
    },
    "market_service_bonus": {
      "type": "object"
    },
    "listing_bonus_categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "listing_bonus_policy": {
      "type": "string"
    },
    "work_example": {
      "type": [
        "object",
        "null"
      ]
    },
    "publish_action": {
      "type": "object"
    },
    "order_check_action": {
      "type": "object"
    }
  }
}