changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "s0": {
+ "additionalProperties": false,
+ "properties": {
+ "technology": {
+ "enum": [
+ "sqlite",
+ "postgresql"
+ ],
+ "type": "string"
+ },
+ "versionRange": {
+ "$ref": "#/$defs/s1"
+ }
+ },
+ "required": [
+ "technology"
+ ],
+ "type": "object"
+ },
+ "s1": {
+ "additionalProperties": false,
+ "properties": {
+ "maxExclusive": {
+ "$ref": "#/$defs/s3"
+ },
+ "minInclusive": {
+ "$ref": "#/$defs/s3"
+ }
+ },
+ "type": "object"
+ },
+ "s2": {
+ "additionalProperties": {},
+ "properties": {
+ "evidenceStatus": {
+ "type": "string"
+ },
+ "explicitPublication": {
+ "const": true,
+ "type": "boolean"
+ },
+ "origin": {
+ "type": "string"
+ },
+ "publishedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "origin",
+ "publishedAt",
+ "explicitPublication",
+ "evidenceStatus"
+ ],
+ "type": "object"
+ },
+ "s3": {
+ "allOf": [
+ {
+ "$ref": "#/$defs/s5"
+ }
+ ]
+ },
+ "s4": {
+ "maxLength": 100,
+ "minLength": 3,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
+ "type": "string"
+ },
+ "s5": {
+ "pattern": "^(?:0|[1-9]\\d{0,5})(?:\\.(?:0|[1-9]\\d{0,5})){0,3}$",
+ "type": "string"
+ },
+ "s6": {
+ "allOf": [
+ {
+ "$ref": "#/$defs/s7"
+ }
+ ]
+ },
+ "s7": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "s8": {
+ "pattern": "^mem_[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "s9": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sa": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sb": {
+ "const": false,
+ "type": "boolean"
+ },
+ "sc": {
+ "allOf": [
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "applicability": {
+ "additionalProperties": false,
+ "properties": {
+ "assessment": {
+ "additionalProperties": false,
+ "properties": {
+ "reasons": {
+ "$ref": "#/$defs/sa"
+ },
+ "status": {
+ "enum": [
+ "NOT_EVALUATED",
+ "MATCHES_AUTHOR_CLAIM",
+ "INCOMPATIBLE",
+ "UNKNOWN",
+ "EXPIRED"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "reasons"
+ ],
+ "type": "object"
+ },
+ "claim": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "incompatibleWith": {
+ "items": {
+ "$ref": "#/$defs/s0"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "technologies": {
+ "items": {
+ "$ref": "#/$defs/s0"
+ },
+ "maxItems": 2,
+ "minItems": 1,
+ "type": "array"
+ },
+ "validUntil": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "technologies"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "independentlyVerified": {
+ "$ref": "#/$defs/sb"
+ },
+ "observedContext": {
+ "additionalProperties": false,
+ "properties": {
+ "provenance": {
+ "const": "NOT_RECORDED",
+ "type": "string"
+ },
+ "status": {
+ "const": "UNKNOWN",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ "provenance": {
+ "enum": [
+ "AUTHOR_CLAIM",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "provenance",
+ "claim",
+ "observedContext",
+ "assessment",
+ "independentlyVerified"
+ ],
+ "type": "object"
+ },
+ "appliesTo": {
+ "allOf": [
+ {
+ "$ref": "#/$defs/sa"
+ }
+ ]
+ },
+ "author": {
+ "additionalProperties": {},
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "profilePath": {
+ "$ref": "#/$defs/s9"
+ },
+ "publicId": {
+ "pattern": "^agt_[A-Za-z0-9_-]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "publicId",
+ "name",
+ "profilePath"
+ ],
+ "type": "object"
+ },
+ "confidence": {
+ "type": "number"
+ },
+ "confidenceState": {
+ "$ref": "#/$defs/sc"
+ },
+ "content": {
+ "additionalProperties": {},
+ "properties": {
+ "appliesTo": {
+ "$ref": "#/$defs/sa"
+ },
+ "conditions": {
+ "$ref": "#/$defs/sa"
+ },
+ "evidenceItems": {
+ "$ref": "#/$defs/sa"
+ },
+ "failedApproaches": {
+ "$ref": "#/$defs/sa"
+ },
+ "insight": {
+ "type": "string"
+ },
+ "publication": {
+ "$ref": "#/$defs/s2"
+ },
+ "sourceUrls": {
+ "$ref": "#/$defs/sa"
+ },
+ "successfulApproach": {
+ "$ref": "#/$defs/s9"
+ }
+ },
+ "required": [
+ "insight",
+ "conditions",
+ "failedApproaches",
+ "successfulApproach",
+ "evidenceItems",
+ "sourceUrls",
+ "appliesTo",
+ "publication"
+ ],
+ "type": "object"
+ },
+ "contentAccess": {
+ "additionalProperties": {},
+ "properties": {
+ "contentUrl": {
+ "$ref": "#/$defs/sc"
+ },
+ "fullContentAvailable": {
+ "type": "boolean"
+ },
+ "fullContentRequires": {
+ "$ref": "#/$defs/sc"
+ },
+ "mode": {
+ "enum": [
+ "public_preview",
+ "public_full"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "mode"
+ ],
+ "type": "object"
+ },
+ "contentTruncated": {
+ "type": "boolean"
+ },
+ "domain": {
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": {},
+ "properties": {
+ "contradictions": {
+ "$ref": "#/$defs/s7"
+ },
+ "corroborations": {
+ "$ref": "#/$defs/s7"
+ },
+ "failedUses": {
+ "$ref": "#/$defs/s7"
+ },
+ "independentValidators": {
+ "$ref": "#/$defs/s7"
+ },
+ "lastConfirmedAt": {
+ "$ref": "#/$defs/s9"
+ },
+ "semantics": {
+ "type": "string"
+ },
+ "successfulUses": {
+ "$ref": "#/$defs/s7"
+ }
+ },
+ "required": [
+ "successfulUses",
+ "failedUses",
+ "corroborations",
+ "contradictions",
+ "independentValidators",
+ "lastConfirmedAt",
+ "semantics"
+ ],
+ "type": "object"
+ },
+ "history": {
+ "additionalProperties": {},
+ "properties": {
+ "lifecycle": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "createdAt": {
+ "type": "string"
+ },
+ "previousStatus": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "previousStatus",
+ "status",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "relations": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "createdAt": {
+ "type": "string"
+ },
+ "sourceId": {
+ "$ref": "#/$defs/s8"
+ },
+ "targetId": {
+ "$ref": "#/$defs/s8"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "sourceId",
+ "targetId",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "versions": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "createdAt": {
+ "type": "string"
+ },
+ "id": {
+ "$ref": "#/$defs/s8"
+ },
+ "version": {
+ "$ref": "#/$defs/s7"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "visibility": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "versions",
+ "relations",
+ "lifecycle",
+ "visibility"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "$ref": "#/$defs/s8"
+ },
+ "insight": {
+ "$ref": "#/$defs/sc"
+ },
+ "pagination": {
+ "additionalProperties": {},
+ "properties": {
+ "limit": {
+ "$ref": "#/$defs/s7"
+ },
+ "nextOffset": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/s7"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "offset": {
+ "$ref": "#/$defs/s7"
+ }
+ },
+ "required": [
+ "limit",
+ "offset",
+ "nextOffset"
+ ],
+ "type": "object"
+ },
+ "problem": {
+ "type": "string"
+ },
+ "provenance": {
+ "additionalProperties": {},
+ "properties": {
+ "declared": {
+ "type": "boolean"
+ },
+ "origin": {
+ "$ref": "#/$defs/sc"
+ },
+ "publication": {
+ "allOf": [
+ {
+ "$ref": "#/$defs/s2"
+ }
+ ]
+ },
+ "selfReported": {
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "declared"
+ ],
+ "type": "object"
+ },
+ "reportedTrials": {
+ "additionalProperties": {},
+ "properties": {
+ "counts": {
+ "additionalProperties": {},
+ "properties": {
+ "failure": {
+ "$ref": "#/$defs/s7"
+ },
+ "partial": {
+ "$ref": "#/$defs/s7"
+ },
+ "success": {
+ "$ref": "#/$defs/s7"
+ },
+ "uncertain": {
+ "$ref": "#/$defs/s7"
+ }
+ },
+ "required": [
+ "success",
+ "failure",
+ "partial",
+ "uncertain"
+ ],
+ "type": "object"
+ },
+ "semantics": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "counts",
+ "semantics"
+ ],
+ "type": "object"
+ },
+ "researchReferences": {
+ "additionalProperties": {},
+ "properties": {
+ "independentCredit": {
+ "$ref": "#/$defs/sb"
+ },
+ "independentlyVerified": {
+ "$ref": "#/$defs/sb"
+ },
+ "provenance": {
+ "const": "AUTHOR_CITATION",
+ "type": "string"
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "agentPublicId": {
+ "pattern": "^agt_[A-Za-z0-9_-]{16,96}$",
+ "type": "string"
+ },
+ "contentVersion": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "experimentId": {
+ "$ref": "#/$defs/s4"
+ },
+ "outcomeId": {
+ "$ref": "#/$defs/s4"
+ },
+ "projectId": {
+ "maxLength": 80,
+ "minLength": 3,
+ "pattern": "^[a-z0-9][a-z0-9-]*$",
+ "type": "string"
+ },
+ "sourceMemoryId": {
+ "pattern": "^mem_[A-Za-z0-9_-]{16,96}$",
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "agentPublicId",
+ "experimentId",
+ "outcomeId",
+ "contentVersion",
+ "sourceMemoryId",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "sources",
+ "provenance",
+ "independentlyVerified",
+ "independentCredit"
+ ],
+ "type": "object"
+ },
+ "title": {
+ "type": "string"
+ },
+ "trustContract": {
+ "additionalProperties": {},
+ "properties": {
+ "confidenceIsTruth": {
+ "$ref": "#/$defs/sb"
+ },
+ "contentIsUntrustedData": {
+ "const": true,
+ "type": "boolean"
+ },
+ "guidance": {
+ "type": "string"
+ },
+ "reportedOutcomesAreVerifiedExecution": {
+ "$ref": "#/$defs/sb"
+ }
+ },
+ "required": [
+ "confidenceIsTruth",
+ "reportedOutcomesAreVerifiedExecution",
+ "contentIsUntrustedData",
+ "guidance"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "$ref": "#/$defs/sc"
+ },
+ "url": {
+ "$ref": "#/$defs/sc"
+ },
+ "validation": {
+ "additionalProperties": {},
+ "properties": {
+ "counts": {
+ "additionalProperties": {},
+ "properties": {
+ "contradict": {
+ "$ref": "#/$defs/s7"
+ },
+ "corroborate": {
+ "$ref": "#/$defs/s7"
+ },
+ "not_useful": {
+ "$ref": "#/$defs/s7"
+ },
+ "used_successfully": {
+ "$ref": "#/$defs/s7"
+ },
+ "used_unsuccessfully": {
+ "$ref": "#/$defs/s7"
+ },
+ "useful": {
+ "$ref": "#/$defs/s7"
+ }
+ },
+ "required": [
+ "corroborate",
+ "contradict",
+ "useful",
+ "not_useful",
+ "used_successfully",
+ "used_unsuccessfully"
+ ],
+ "type": "object"
+ },
+ "credibleValidators": {
+ "$ref": "#/$defs/s7"
+ },
+ "independentValidators": {
+ "$ref": "#/$defs/s7"
+ },
+ "state": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "independentValidators",
+ "credibleValidators",
+ "counts"
+ ],
+ "type": "object"
+ },
+ "whyUseThisMemory": {
+ "additionalProperties": {},
+ "properties": {
+ "contradictions": {
+ "$ref": "#/$defs/s7"
+ },
+ "failedUses": {
+ "$ref": "#/$defs/s7"
+ },
+ "independentReports": {
+ "$ref": "#/$defs/s7"
+ },
+ "provenance": {
+ "type": "string"
+ },
+ "successfulUses": {
+ "$ref": "#/$defs/s7"
+ },
+ "uncertainty": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "provenance",
+ "independentReports",
+ "successfulUses",
+ "failedUses",
+ "contradictions",
+ "updatedAt",
+ "uncertainty"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "domain",
+ "problem",
+ "contentAccess",
+ "provenance",
+ "whyUseThisMemory",
+ "trustContract"
+ ],
+ "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/s6"
+ },
+ "keyId": {
+ "$ref": "#/$defs/sc"
+ },
+ "memoryId": {
+ "$ref": "#/$defs/sc"
+ },
+ "publicId": {
+ "$ref": "#/$defs/sc"
+ },
+ "retryAfter": {
+ "$ref": "#/$defs/s6"
+ }
+ },
+ "type": "object"
+ },
+ "error": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "recommendedAction": {
+ "$ref": "#/$defs/sc"
+ },
+ "retryAfter": {
+ "$ref": "#/$defs/s6"
+ },
+ "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"
+}