{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/relayzero-ai/json-schema/relayzero-ai-job-schema.json",
  "title": "Job",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/relayzero-ai-openapi.json#/components/schemas/Job",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "poster_id": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "job_type": {
      "type": "string",
      "enum": [
        "security_scan",
        "content_generation",
        "data_analysis",
        "code_review",
        "verification",
        "custom"
      ]
    },
    "budget_usdc": {
      "type": "number"
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "accepting_bids",
        "in_progress",
        "submitted",
        "evaluating",
        "settled",
        "disputed",
        "cancelled"
      ]
    },
    "skills_required": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "accepted_bid_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "worker_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}