Skip to content

identity

Generated reference page for spec/v1/schemas/common/identity.json.

Metadata

  • Type: JSON Schema
  • Source: spec/v1/schemas/common/identity.json
  • Raw: View Raw

Summary

Source

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agent-service.spec/v1/schemas/common/identity.json",
  "$defs": {
    "opaqueId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "sequence": {
      "type": "integer",
      "minimum": 0
    },
    "version": {
      "type": "integer",
      "minimum": 0
    },
    "orgId": {
      "$ref": "#/$defs/opaqueId"
    },
    "agentId": {
      "$ref": "#/$defs/opaqueId"
    },
    "toolId": {
      "$ref": "#/$defs/opaqueId"
    },
    "runId": {
      "$ref": "#/$defs/opaqueId"
    },
    "attemptId": {
      "$ref": "#/$defs/opaqueId"
    },
    "threadId": {
      "$ref": "#/$defs/opaqueId"
    },
    "messageId": {
      "$ref": "#/$defs/opaqueId"
    },
    "artifactId": {
      "$ref": "#/$defs/opaqueId"
    },
    "checkpointId": {
      "$ref": "#/$defs/opaqueId"
    },
    "sessionId": {
      "$ref": "#/$defs/opaqueId"
    },
    "eventId": {
      "$ref": "#/$defs/opaqueId"
    },
    "cursor": {
      "type": "object",
      "additionalProperties": false,
      "required": ["runId", "sequence"],
      "properties": {
        "runId": {
          "$ref": "#/$defs/runId"
        },
        "threadId": {
          "$ref": "#/$defs/threadId"
        },
        "sequence": {
          "$ref": "#/$defs/sequence"
        }
      }
    }
  }
}

Generated from spec source.