Skip to content

runtime-connection

Generated reference page for spec/v1/schemas/resources/runtime-connection.json.

Metadata

  • Type: JSON Schema
  • Source: spec/v1/schemas/resources/runtime-connection.json
  • Raw: View Raw

Summary

Source

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agent-service.spec/v1/schemas/resources/runtime-connection.json",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "runtimeConnectionId",
    "orgId",
    "runId",
    "attemptId",
    "sessionId",
    "status",
    "connectionEpoch",
    "openedAt",
    "updatedAt"
  ],
  "properties": {
    "runtimeConnectionId": {
      "$ref": "../common/identity.json#/$defs/runtimeConnectionId"
    },
    "orgId": {
      "$ref": "../common/identity.json#/$defs/orgId"
    },
    "runId": {
      "$ref": "../common/identity.json#/$defs/runId"
    },
    "attemptId": {
      "$ref": "../common/identity.json#/$defs/attemptId"
    },
    "sessionId": {
      "$ref": "../common/identity.json#/$defs/sessionId"
    },
    "runtimeInstanceId": {
      "$ref": "../common/identity.json#/$defs/opaqueId"
    },
    "protocolVersion": {
      "type": "string"
    },
    "status": {
      "$ref": "../common/enums.json#/$defs/runtimeConnectionStatus"
    },
    "connectionEpoch": {
      "type": "integer",
      "minimum": 0
    },
    "effectiveSdkCapabilities": {
      "type": "array",
      "items": {
        "$ref": "../commands/runtime-connection.json#/$defs/SDKCapabilityDescriptor"
      }
    },
    "openedAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "updatedAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "lastHeartbeatAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "closedAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    }
  }
}

白皮书与规范内容以仓库真源为准。