changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "s0": {
+ "allOf": [
+ {
+ "$ref": "#/$defs/s1"
+ }
+ ]
+ },
+ "s1": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "s2": {
+ "pattern": "^agt_[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "s3": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "passport": {
+ "additionalProperties": {},
+ "properties": {
+ "cryptographicProof": {
+ "additionalProperties": {},
+ "properties": {
+ "algorithm": {
+ "type": "string"
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "issuerKeyRegistered": {
+ "type": "boolean"
+ },
+ "proofBundleUrl": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "algorithm",
+ "issuer",
+ "issuerKeyRegistered",
+ "proofBundleUrl"
+ ],
+ "type": "object"
+ },
+ "evidence": {
+ "additionalProperties": {},
+ "properties": {
+ "credibleEvaluators": {
+ "$ref": "#/$defs/s1"
+ },
+ "explain": {
+ "additionalProperties": {},
+ "properties": {
+ "limitations": {
+ "$ref": "#/$defs/s3"
+ },
+ "policyVersion": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "policyVersion",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ "observedInteractions": {
+ "$ref": "#/$defs/s1"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "thirdPartyClaims": {
+ "$ref": "#/$defs/s1"
+ }
+ },
+ "required": [
+ "summary",
+ "observedInteractions",
+ "thirdPartyClaims",
+ "credibleEvaluators",
+ "explain"
+ ],
+ "type": "object"
+ },
+ "freshness": {
+ "additionalProperties": {},
+ "properties": {
+ "lastEvidenceAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "lastEvidenceAt"
+ ],
+ "type": "object"
+ },
+ "generatedAt": {
+ "type": "string"
+ },
+ "identity": {
+ "additionalProperties": {},
+ "properties": {
+ "createdAt": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "publicId": {
+ "$ref": "#/$defs/s2"
+ }
+ },
+ "required": [
+ "publicId",
+ "name",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "knowledge": {
+ "additionalProperties": {},
+ "properties": {
+ "contradictions": {
+ "$ref": "#/$defs/s1"
+ },
+ "contributions": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "confidenceState": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "domain": {
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^mem_[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "domain",
+ "confidenceState",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "corroborations": {
+ "$ref": "#/$defs/s1"
+ },
+ "distinctConsumers": {
+ "$ref": "#/$defs/s1"
+ },
+ "distinctEvaluators": {
+ "$ref": "#/$defs/s1"
+ },
+ "published": {
+ "$ref": "#/$defs/s1"
+ },
+ "reused": {
+ "$ref": "#/$defs/s1"
+ },
+ "successfulUses": {
+ "$ref": "#/$defs/s1"
+ },
+ "unsuccessfulUses": {
+ "$ref": "#/$defs/s1"
+ }
+ },
+ "required": [
+ "published",
+ "reused",
+ "successfulUses",
+ "unsuccessfulUses",
+ "corroborations",
+ "contradictions",
+ "distinctEvaluators",
+ "distinctConsumers",
+ "contributions"
+ ],
+ "type": "object"
+ },
+ "ownership": {
+ "additionalProperties": {},
+ "properties": {
+ "claimed": {
+ "type": "boolean"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "verified",
+ "claimed"
+ ],
+ "type": "object"
+ },
+ "passportVersion": {
+ "type": "string"
+ },
+ "reputation": {
+ "additionalProperties": {},
+ "properties": {
+ "domains": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "domain": {
+ "type": "string"
+ },
+ "score": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "domain",
+ "score"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "global": {
+ "additionalProperties": {},
+ "properties": {
+ "confidence": {
+ "type": "number"
+ },
+ "sampleSize": {
+ "$ref": "#/$defs/s1"
+ },
+ "score": {
+ "type": "number"
+ },
+ "trustLevel": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "score",
+ "trustLevel",
+ "sampleSize",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "policyVersion": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "global",
+ "domains",
+ "policyVersion"
+ ],
+ "type": "object"
+ },
+ "verification": {
+ "additionalProperties": {},
+ "properties": {
+ "a2a": {
+ "type": "boolean"
+ },
+ "domain": {
+ "type": "boolean"
+ },
+ "repository": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "domain",
+ "a2a",
+ "repository"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "passportVersion",
+ "generatedAt",
+ "identity",
+ "ownership",
+ "verification",
+ "knowledge",
+ "reputation",
+ "evidence",
+ "cryptographicProof",
+ "freshness"
+ ],
+ "type": "object"
+ },
+ "profile": {
+ "additionalProperties": {},
+ "properties": {
+ "claimed": {
+ "type": "boolean"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "domains": {
+ "$ref": "#/$defs/s3"
+ },
+ "entityType": {
+ "const": "agent",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "protocols": {
+ "$ref": "#/$defs/s3"
+ },
+ "publicId": {
+ "$ref": "#/$defs/s2"
+ },
+ "skills": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "domains": {
+ "$ref": "#/$defs/s3"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "self_declared",
+ "a2a_import"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "domains",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "status": {
+ "const": "public",
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "publicId",
+ "entityType",
+ "name",
+ "slug",
+ "status",
+ "description",
+ "claimed",
+ "skills",
+ "domains",
+ "protocols",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ "uncertainties": {
+ "$ref": "#/$defs/s3"
+ }
+ },
+ "required": [
+ "profile",
+ "passport",
+ "uncertainties"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "category": {
+ "enum": [
+ "authentication",
+ "authorization",
+ "validation",
+ "rate_limit",
+ "conflict",
+ "not_found",
+ "payment",
+ "server"
+ ],
+ "type": "string"
+ },
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "details": {
+ "additionalProperties": {},
+ "properties": {
+ "currentVersion": {
+ "$ref": "#/$defs/s0"
+ },
+ "keyId": {
+ "allOf": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "memoryId": {
+ "allOf": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "publicId": {
+ "allOf": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "retryAfter": {
+ "$ref": "#/$defs/s0"
+ }
+ },
+ "type": "object"
+ },
+ "error": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "recommendedAction": {
+ "allOf": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "retryAfter": {
+ "$ref": "#/$defs/s0"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "status": {
+ "maximum": 599,
+ "minimum": 400,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "status",
+ "code",
+ "error",
+ "category",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "code": {
+ "enum": [
+ "UPSTREAM_RATE_LIMITED",
+ "UPSTREAM_UNAVAILABLE",
+ "UPSTREAM_ACCESS_DENIED",
+ "UPSTREAM_INVALID_PARAMS",
+ "UPSTREAM_INVALID_RESPONSE",
+ "UPSTREAM_TIMEOUT",
+ "REQUEST_CANCELLED",
+ "UPSTREAM_CATALOG_CHANGED",
+ "UPSTREAM_REDIRECT_REFUSED",
+ "BRIDGE_BUSY"
+ ],
+ "type": "string"
+ },
+ "httpStatus": {
+ "maximum": 599,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "message": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "retryAfterSeconds": {
+ "maximum": 3600,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "rpcCode": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ }
+ ],
+ "properties": {},
+ "type": "object"
+}