@@ -138,12 +138,7 @@ export interface VerificationMethodReference {
138138 * A public key PEM property is used to specify the PEM-encoded version of the public key
139139 */
140140 publicKeyPem ?: string ;
141- /**
142- * Public key in JWT format (recommended key format)
143- */
144- publicKeyJwk ?: {
145- [ k : string ] : unknown ;
146- } ;
141+ publicKeyJwk ?: PublicKeyJwkReference ;
147142 /**
148143 * Public key in value in Base58 Bitcoin format
149144 */
@@ -152,27 +147,34 @@ export interface VerificationMethodReference {
152147 * Note about the private key purpose
153148 */
154149 note ?: string ;
150+ verificationMethodRevocation ?: VerificationMethodRevocationReference ;
151+ [ k : string ] : unknown ;
152+ }
153+ /**
154+ * Public key in JWT format (recommended key format)
155+ */
156+ export interface PublicKeyJwkReference {
157+ [ k : string ] : unknown ;
158+ }
159+ /**
160+ * Verification method revocation status
161+ */
162+ export interface VerificationMethodRevocationReference {
155163 /**
156- * Verification method revocation status
157- */
158- verificationMethodRevocation ?: {
159- /**
160- * Revocation reason according to https://datatracker.ietf.org/doc/html/rfc5280#section-5.3.1
161- */
162- reason ?:
163- | "unspecified"
164- | "keyCompromise"
165- | "affiliationChanged"
166- | "superseded"
167- | "cessationOfOperation"
168- | "certificateHold"
169- | "privilegeWithdrawn" ;
170- /**
171- * Date of the public key invalidation
172- */
173- invalidityDate ?: string ;
174- [ k : string ] : unknown ;
175- } ;
164+ * Revocation reason according to https://datatracker.ietf.org/doc/html/rfc5280#section-5.3.1
165+ */
166+ reason ?:
167+ | "unspecified"
168+ | "keyCompromise"
169+ | "affiliationChanged"
170+ | "superseded"
171+ | "cessationOfOperation"
172+ | "certificateHold"
173+ | "privilegeWithdrawn" ;
174+ /**
175+ * Date of the public key invalidation
176+ */
177+ invalidityDate ?: string ;
176178 [ k : string ] : unknown ;
177179}
178180/**
@@ -447,7 +449,7 @@ export interface ContactReference {
447449 /**
448450 * Contact function: sales, support, accounting, etc.
449451 */
450- function ? : string ;
452+ function : string ;
451453 /**
452454 * Contact person or department name
453455 */
@@ -460,6 +462,10 @@ export interface ContactReference {
460462 * Email
461463 */
462464 email ?: string ;
465+ /**
466+ * Website URI
467+ */
468+ website ?: string ;
463469 /**
464470 * Messenger accounts
465471 */
0 commit comments