{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/confighub/json-schema/confighub-bridge-worker-status-schema.json",
  "title": "BridgeWorkerStatus",
  "description": "BridgeWorkerStatus represents the status information of a bridge worker within the system.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/confighub-bridgeworkerstatus-api-openapi.yml#/components/schemas/BridgeWorkerStatus",
  "type": "object",
  "properties": {
    "BridgeWorkerID": {
      "type": "string",
      "description": "Unique identifier for the Bridge Worker.",
      "format": "uuid",
      "x-confighub-where": {
        "dataType": "uuid",
        "references": "BridgeWorker"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "BridgeWorkerSlug": {
      "type": "string",
      "description": "Slug for the Bridge Worker.",
      "x-confighub-where": {
        "dataType": "string"
      },
      "x-go-type-skip-optional-pointer": true
    },
    "BridgeWorkerStatusID": {
      "type": "string",
      "description": "BridgeWorkerStatusID is the unique identifier for the bridge worker status entry.",
      "format": "uuid",
      "x-confighub-where": {
        "dataType": "uuid"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "IPAddress": {
      "type": "string",
      "description": "IPAddress is the IP address from which the bridge worker is connecting.",
      "x-go-type-skip-optional-pointer": true
    },
    "OrganizationID": {
      "type": "string",
      "description": "OrganizationID is the unique identifier of the organization the bridge worker belongs to.",
      "format": "uuid",
      "x-confighub-where": {
        "dataType": "uuid",
        "references": "Organization"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "SeenAt": {
      "type": "string",
      "description": "The timestamp when the bridge worker last responded in \"2023-01-01T12:00:00Z\" format.",
      "format": "date-time",
      "x-confighub-where": {
        "dataType": "time"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "SpaceID": {
      "type": "string",
      "description": "SpaceID is the unique identifier of the space the bridge worker belongs to.",
      "format": "uuid",
      "x-confighub-where": {
        "dataType": "uuid",
        "references": "Space"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "Status": {
      "type": "string",
      "description": "Status indicates the current status of the bridge worker. Possible values include Connected, Disconnected, ActionSent, ActionResultReceived.",
      "x-confighub-where": {
        "dataType": "string"
      },
      "x-go-type-skip-optional-pointer": true
    }
  },
  "x-confighub-where": {
    "CreatedAt": {
      "dataType": "time"
    },
    "Labels": {
      "dataType": "map[string]string"
    },
    "UpdatedAt": {
      "dataType": "time"
    }
  }
}