From 52481307497b8cc7a57f1c86b1435d33d43b2d5f Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Thu, 28 Nov 2019 17:10:06 +1000 Subject: [PATCH] Update swagger spec with new stake pool metadata --- specifications/api/swagger.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/specifications/api/swagger.yaml b/specifications/api/swagger.yaml index 87b5ec191fd..f00c6129dce 100644 --- a/specifications/api/swagger.yaml +++ b/specifications/api/swagger.yaml @@ -373,15 +373,28 @@ x-stakePoolMetadata: &stakePoolMetadata Information about the stake pool. type: object required: + - owner - ticker + - name - homepage - pledge_address additionalProperties: false properties: + owner: + type: string + format: bech32 + example: ed25519_pk1lrspg0h4afh3l2kaneqlktdv9kaq4zskcvehqwhc4lmx36f5dweqjtaga8 ticker: type: string minLength: 3 - maxLength: 4 + maxLength: 5 + name: + type: string + minLength: 1 + maxLength: 50 + description: + type: string + maxLength: 255 homepage: type: string format: uri