diff --git a/packages/typescript/schemas/action.schema.json b/packages/typescript/schemas/action.schema.json index 11dba5a..d54edaa 100644 --- a/packages/typescript/schemas/action.schema.json +++ b/packages/typescript/schemas/action.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/action.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/action.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/packages/typescript/schemas/approval.schema.json b/packages/typescript/schemas/approval.schema.json index 9ce862d..f63560d 100644 --- a/packages/typescript/schemas/approval.schema.json +++ b/packages/typescript/schemas/approval.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/approval.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/approval.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/packages/typescript/schemas/common.schema.json b/packages/typescript/schemas/common.schema.json index f2a7c24..784a609 100644 --- a/packages/typescript/schemas/common.schema.json +++ b/packages/typescript/schemas/common.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/common.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/common.schema.json", "$defs": { "event_id": {"type": "string", "format": "uuid"}, "time_unix_nano": {"type": "string", "pattern": "^(0|[1-9][0-9]{0,19})$"}, diff --git a/packages/typescript/schemas/data-flow.schema.json b/packages/typescript/schemas/data-flow.schema.json index 2e8bcfa..694b1a5 100644 --- a/packages/typescript/schemas/data-flow.schema.json +++ b/packages/typescript/schemas/data-flow.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/data-flow.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/data-flow.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/packages/typescript/schemas/envelope.schema.json b/packages/typescript/schemas/envelope.schema.json index 3e96677..08d37d5 100644 --- a/packages/typescript/schemas/envelope.schema.json +++ b/packages/typescript/schemas/envelope.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/envelope.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/envelope.schema.json", "type": "object", "required": ["spec_version", "event_id", "event_type", "time_unix_nano", "run_id", "producer"], "properties": { diff --git a/packages/typescript/schemas/evidence.schema.json b/packages/typescript/schemas/evidence.schema.json index 964b061..f3aa2c6 100644 --- a/packages/typescript/schemas/evidence.schema.json +++ b/packages/typescript/schemas/evidence.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/evidence.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/evidence.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/packages/typescript/schemas/policy-decision.schema.json b/packages/typescript/schemas/policy-decision.schema.json index 4673cfb..bd48937 100644 --- a/packages/typescript/schemas/policy-decision.schema.json +++ b/packages/typescript/schemas/policy-decision.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/policy-decision.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/policy-decision.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/packages/typescript/schemas/usage.schema.json b/packages/typescript/schemas/usage.schema.json index 65d8a55..90bd5d0 100644 --- a/packages/typescript/schemas/usage.schema.json +++ b/packages/typescript/schemas/usage.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/usage.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/usage.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/packages/typescript/src/validation.ts b/packages/typescript/src/validation.ts index 33cbc1c..7eb835f 100644 --- a/packages/typescript/src/validation.ts +++ b/packages/typescript/src/validation.ts @@ -46,7 +46,7 @@ export class SchemaValidator { } #compile(ajv: InstanceType, name: string): ValidateFunction { - const id = `https://agentrust.io/telemetry/v0.1/schema/${name}`; + const id = `https://agentrust-io.com/telemetry/v0.1/schema/${name}`; const validator = ajv.getSchema(id); if (!validator) throw new EventValidationError(`required schema is missing: ${name}`); return validator; diff --git a/spec/schema/action.schema.json b/spec/schema/action.schema.json index 11dba5a..d54edaa 100644 --- a/spec/schema/action.schema.json +++ b/spec/schema/action.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/action.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/action.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/spec/schema/approval.schema.json b/spec/schema/approval.schema.json index 9ce862d..f63560d 100644 --- a/spec/schema/approval.schema.json +++ b/spec/schema/approval.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/approval.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/approval.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/spec/schema/common.schema.json b/spec/schema/common.schema.json index f2a7c24..784a609 100644 --- a/spec/schema/common.schema.json +++ b/spec/schema/common.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/common.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/common.schema.json", "$defs": { "event_id": {"type": "string", "format": "uuid"}, "time_unix_nano": {"type": "string", "pattern": "^(0|[1-9][0-9]{0,19})$"}, diff --git a/spec/schema/data-flow.schema.json b/spec/schema/data-flow.schema.json index 2e8bcfa..694b1a5 100644 --- a/spec/schema/data-flow.schema.json +++ b/spec/schema/data-flow.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/data-flow.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/data-flow.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/spec/schema/envelope.schema.json b/spec/schema/envelope.schema.json index 3e96677..08d37d5 100644 --- a/spec/schema/envelope.schema.json +++ b/spec/schema/envelope.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/envelope.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/envelope.schema.json", "type": "object", "required": ["spec_version", "event_id", "event_type", "time_unix_nano", "run_id", "producer"], "properties": { diff --git a/spec/schema/evidence.schema.json b/spec/schema/evidence.schema.json index 964b061..f3aa2c6 100644 --- a/spec/schema/evidence.schema.json +++ b/spec/schema/evidence.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/evidence.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/evidence.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/spec/schema/policy-decision.schema.json b/spec/schema/policy-decision.schema.json index 4673cfb..bd48937 100644 --- a/spec/schema/policy-decision.schema.json +++ b/spec/schema/policy-decision.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/policy-decision.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/policy-decision.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/spec/schema/usage.schema.json b/spec/schema/usage.schema.json index 65d8a55..90bd5d0 100644 --- a/spec/schema/usage.schema.json +++ b/spec/schema/usage.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/usage.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/usage.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/src/agentrust_telemetry/schemas/action.schema.json b/src/agentrust_telemetry/schemas/action.schema.json index 11dba5a..d54edaa 100644 --- a/src/agentrust_telemetry/schemas/action.schema.json +++ b/src/agentrust_telemetry/schemas/action.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/action.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/action.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/src/agentrust_telemetry/schemas/approval.schema.json b/src/agentrust_telemetry/schemas/approval.schema.json index 9ce862d..f63560d 100644 --- a/src/agentrust_telemetry/schemas/approval.schema.json +++ b/src/agentrust_telemetry/schemas/approval.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/approval.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/approval.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/src/agentrust_telemetry/schemas/common.schema.json b/src/agentrust_telemetry/schemas/common.schema.json index f2a7c24..784a609 100644 --- a/src/agentrust_telemetry/schemas/common.schema.json +++ b/src/agentrust_telemetry/schemas/common.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/common.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/common.schema.json", "$defs": { "event_id": {"type": "string", "format": "uuid"}, "time_unix_nano": {"type": "string", "pattern": "^(0|[1-9][0-9]{0,19})$"}, diff --git a/src/agentrust_telemetry/schemas/data-flow.schema.json b/src/agentrust_telemetry/schemas/data-flow.schema.json index 2e8bcfa..694b1a5 100644 --- a/src/agentrust_telemetry/schemas/data-flow.schema.json +++ b/src/agentrust_telemetry/schemas/data-flow.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/data-flow.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/data-flow.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/src/agentrust_telemetry/schemas/envelope.schema.json b/src/agentrust_telemetry/schemas/envelope.schema.json index 3e96677..08d37d5 100644 --- a/src/agentrust_telemetry/schemas/envelope.schema.json +++ b/src/agentrust_telemetry/schemas/envelope.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/envelope.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/envelope.schema.json", "type": "object", "required": ["spec_version", "event_id", "event_type", "time_unix_nano", "run_id", "producer"], "properties": { diff --git a/src/agentrust_telemetry/schemas/evidence.schema.json b/src/agentrust_telemetry/schemas/evidence.schema.json index 964b061..f3aa2c6 100644 --- a/src/agentrust_telemetry/schemas/evidence.schema.json +++ b/src/agentrust_telemetry/schemas/evidence.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/evidence.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/evidence.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/src/agentrust_telemetry/schemas/policy-decision.schema.json b/src/agentrust_telemetry/schemas/policy-decision.schema.json index 4673cfb..bd48937 100644 --- a/src/agentrust_telemetry/schemas/policy-decision.schema.json +++ b/src/agentrust_telemetry/schemas/policy-decision.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/policy-decision.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/policy-decision.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, { diff --git a/src/agentrust_telemetry/schemas/usage.schema.json b/src/agentrust_telemetry/schemas/usage.schema.json index 65d8a55..90bd5d0 100644 --- a/src/agentrust_telemetry/schemas/usage.schema.json +++ b/src/agentrust_telemetry/schemas/usage.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://agentrust.io/telemetry/v0.1/schema/usage.schema.json", + "$id": "https://agentrust-io.com/telemetry/v0.1/schema/usage.schema.json", "allOf": [ {"$ref": "envelope.schema.json"}, {