From 118bd49ee234089b383b7af91a41e2ff394dd8b9 Mon Sep 17 00:00:00 2001 From: Markus Sabadello Date: Wed, 10 Apr 2024 21:47:09 +0200 Subject: [PATCH] Add controller to DID document schema --- openapi/openapi.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index ff24148..0b2bcf3 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -279,11 +279,18 @@ components: id: $ref: "#/components/schemas/String" example: did:indy:sovrin:WRfXPg8dantKVubE3HX8pw + controller: + $ref: "#/components/schemas/DidDocumentController" + example: ['did:indy:sovrin:WRfXPg8dantKVubE3HX8pw'] verificationMethod: $ref: "#/components/schemas/DidDocumentVerificationMethod" service: $ref: "#/components/schemas/DidDocumentService" additionalProperties: { } + DidDocumentController: + type: array + items: + type: string DidDocumentVerificationMethod: type: array items: