Variable interoperableReceiptJsonSchemaConst
interoperableReceiptJsonSchema: {
$id: "amc.receipt.interchange.v1";
properties: {
eventRef: {
properties: {
eventHash: { pattern: "^[a-f0-9]{64}$"; type: "string" };
eventId: { type: "string" };
sourceReceiptRef: { type: "string" };
};
required: readonly ["eventId", "eventHash", "sourceReceiptRef"];
type: "object";
};
evidenceRefs: { items: { type: "string" }; type: "array" };
issuedAt: { format: "date-time"; type: "string" };
issuer: {
properties: {
keyFingerprint: { type: "string" };
platform: { type: "string" };
workspaceId: { type: "string" };
};
required: readonly ["platform", "workspaceId", "keyFingerprint"];
type: "object";
};
kind: { enum: readonly ["score", "policy", "tool", "audit", "lifecycle"] };
payload: { type: "object" };
payloadHash: { pattern: "^[a-f0-9]{64}$"; type: "string" };
receiptId: { type: "string" };
schemaVersion: { const: "amc.receipt.interchange.v1" };
signature: {
properties: {
algorithm: { const: "ed25519" };
publicKeyFingerprint: { type: "string" };
value: { type: "string" };
};
required: readonly ["algorithm", "publicKeyFingerprint", "value"];
type: "object";
};
sourceCitations: { items: { type: "object" }; type: "array" };
subject: {
properties: {
agentId: { type: "string" };
passportId: { type: "string" };
};
required: readonly ["agentId"];
type: "object";
};
};
required: readonly [
"schemaVersion",
"receiptId",
"kind",
"issuedAt",
"issuer",
"subject",
"eventRef",
"payload",
"payloadHash",
"evidenceRefs",
"sourceCitations",
"signature",
];
type: "object";
} = ...
Type Declaration
-
Readonly$id: "amc.receipt.interchange.v1"
-
Readonlyproperties: {
eventRef: {
properties: {
eventHash: { pattern: "^[a-f0-9]{64}$"; type: "string" };
eventId: { type: "string" };
sourceReceiptRef: { type: "string" };
};
required: readonly ["eventId", "eventHash", "sourceReceiptRef"];
type: "object";
};
evidenceRefs: { items: { type: "string" }; type: "array" };
issuedAt: { format: "date-time"; type: "string" };
issuer: {
properties: {
keyFingerprint: { type: "string" };
platform: { type: "string" };
workspaceId: { type: "string" };
};
required: readonly ["platform", "workspaceId", "keyFingerprint"];
type: "object";
};
kind: { enum: readonly ["score", "policy", "tool", "audit", "lifecycle"] };
payload: { type: "object" };
payloadHash: { pattern: "^[a-f0-9]{64}$"; type: "string" };
receiptId: { type: "string" };
schemaVersion: { const: "amc.receipt.interchange.v1" };
signature: {
properties: {
algorithm: { const: "ed25519" };
publicKeyFingerprint: { type: "string" };
value: { type: "string" };
};
required: readonly ["algorithm", "publicKeyFingerprint", "value"];
type: "object";
};
sourceCitations: { items: { type: "object" }; type: "array" };
subject: {
properties: {
agentId: { type: "string" };
passportId: { type: "string" };
};
required: readonly ["agentId"];
type: "object";
};
}
-
Readonlyrequired: readonly [
"schemaVersion",
"receiptId",
"kind",
"issuedAt",
"issuer",
"subject",
"eventRef",
"payload",
"payloadHash",
"evidenceRefs",
"sourceCitations",
"signature",
]
-
Readonlytype: "object"