{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-server-worker-simplified-schema.json",
  "title": "server.WorkerSimplified",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-workers-api-openapi.yml#/components/schemas/server.WorkerSimplified",
  "type": "object",
  "properties": {
    "activeError": {
      "type": "string"
    },
    "activities": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/server.ActivitySimplified"
      }
    },
    "adminStatus": {
      "type": "string"
    },
    "createdAt": {
      "description": "models.WFBase",
      "type": "string"
    },
    "infraJobId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    }
  },
  "$defs": {
    "server.ActivitySimplified": {
      "type": "object",
      "properties": {
        "adapterId": {
          "type": "string"
        },
        "numOfActivities": {
          "type": "integer"
        }
      }
    }
  }
}