Skip to content

Commit f30df89

Browse files
authored
add missing witness schema (#913)
1 parent 7449523 commit f30df89

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CIP-0108/cip-0108.common.schema.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,26 @@
4444
}
4545
}
4646
},
47+
"Witness": {
48+
"title": "Witness",
49+
"description": "A witness proving that the author endorses the content of the metadata",
50+
"type": "object",
51+
"properties": {
52+
"witnessAlgorithm": {
53+
"title": "WitnessAlgorithm",
54+
"type": "string",
55+
"enum": [ "ed25519", "CIP-0008"]
56+
},
57+
"publicKey": {
58+
"title": "PublicKey",
59+
"type": "string"
60+
},
61+
"signature": {
62+
"title": "Signature",
63+
"type": "string"
64+
}
65+
}
66+
},
4767
"body": {
4868
"title": "Body",
4969
"description": "The body of the metadata document that is hashed to produce a signature (CIP-100)",

0 commit comments

Comments
 (0)