Skip to content

Commit 3b36e07

Browse files
committed
chore: update specs
1 parent a47daf6 commit 3b36e07

File tree

5 files changed

+50
-30
lines changed

5 files changed

+50
-30
lines changed

specs/results/koiosapi-guild.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5953,10 +5953,14 @@ components:
59535953
type: boolean
59545954
description: Flag which shows if this credential is a script hash
59555955
example: false
5956-
registered:
5957-
type: boolean
5958-
description: Flag to show if the DRep is currently registered
5959-
example: false
5956+
drep_status:
5957+
type: string
5958+
enum:
5959+
- registered
5960+
- deregistered
5961+
- not_registered
5962+
description: DRep's current registration status
5963+
example: registered
59605964
deposit:
59615965
anyOf:
59625966
- type: string
@@ -6015,8 +6019,8 @@ components:
60156019
$ref: "#/components/schemas/drep_info/items/properties/hex"
60166020
has_script:
60176021
$ref: "#/components/schemas/drep_info/items/properties/has_script"
6018-
registered:
6019-
$ref: "#/components/schemas/drep_info/items/properties/registered"
6022+
drep_status:
6023+
$ref: "#/components/schemas/drep_info/items/properties/drep_status"
60206024
drep_delegators:
60216025
description: List of all delegators by requested delegated representative (DRep)
60226026
type: array

specs/results/koiosapi-mainnet.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5953,10 +5953,14 @@ components:
59535953
type: boolean
59545954
description: Flag which shows if this credential is a script hash
59555955
example: false
5956-
registered:
5957-
type: boolean
5958-
description: Flag to show if the DRep is currently registered
5959-
example: false
5956+
drep_status:
5957+
type: string
5958+
enum:
5959+
- registered
5960+
- deregistered
5961+
- not_registered
5962+
description: DRep's current registration status
5963+
example: registered
59605964
deposit:
59615965
anyOf:
59625966
- type: string
@@ -6015,8 +6019,8 @@ components:
60156019
$ref: "#/components/schemas/drep_info/items/properties/hex"
60166020
has_script:
60176021
$ref: "#/components/schemas/drep_info/items/properties/has_script"
6018-
registered:
6019-
$ref: "#/components/schemas/drep_info/items/properties/registered"
6022+
drep_status:
6023+
$ref: "#/components/schemas/drep_info/items/properties/drep_status"
60206024
drep_delegators:
60216025
description: List of all delegators by requested delegated representative (DRep)
60226026
type: array

specs/results/koiosapi-preprod.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5953,10 +5953,14 @@ components:
59535953
type: boolean
59545954
description: Flag which shows if this credential is a script hash
59555955
example: false
5956-
registered:
5957-
type: boolean
5958-
description: Flag to show if the DRep is currently registered
5959-
example: false
5956+
drep_status:
5957+
type: string
5958+
enum:
5959+
- registered
5960+
- deregistered
5961+
- not_registered
5962+
description: DRep's current registration status
5963+
example: registered
59605964
deposit:
59615965
anyOf:
59625966
- type: string
@@ -6015,8 +6019,8 @@ components:
60156019
$ref: "#/components/schemas/drep_info/items/properties/hex"
60166020
has_script:
60176021
$ref: "#/components/schemas/drep_info/items/properties/has_script"
6018-
registered:
6019-
$ref: "#/components/schemas/drep_info/items/properties/registered"
6022+
drep_status:
6023+
$ref: "#/components/schemas/drep_info/items/properties/drep_status"
60206024
drep_delegators:
60216025
description: List of all delegators by requested delegated representative (DRep)
60226026
type: array

specs/results/koiosapi-preview.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5953,10 +5953,14 @@ components:
59535953
type: boolean
59545954
description: Flag which shows if this credential is a script hash
59555955
example: false
5956-
registered:
5957-
type: boolean
5958-
description: Flag to show if the DRep is currently registered
5959-
example: false
5956+
drep_status:
5957+
type: string
5958+
enum:
5959+
- registered
5960+
- deregistered
5961+
- not_registered
5962+
description: DRep's current registration status
5963+
example: registered
59605964
deposit:
59615965
anyOf:
59625966
- type: string
@@ -6015,8 +6019,8 @@ components:
60156019
$ref: "#/components/schemas/drep_info/items/properties/hex"
60166020
has_script:
60176021
$ref: "#/components/schemas/drep_info/items/properties/has_script"
6018-
registered:
6019-
$ref: "#/components/schemas/drep_info/items/properties/registered"
6022+
drep_status:
6023+
$ref: "#/components/schemas/drep_info/items/properties/drep_status"
60206024
drep_delegators:
60216025
description: List of all delegators by requested delegated representative (DRep)
60226026
type: array

specs/templates/4-api-schemas.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2724,10 +2724,14 @@ schemas:
27242724
type: boolean
27252725
description: Flag which shows if this credential is a script hash
27262726
example: false
2727-
registered:
2728-
type: boolean
2729-
description: Flag to show if the DRep is currently registered
2730-
example: false
2727+
drep_status:
2728+
type: string
2729+
enum:
2730+
- registered
2731+
- deregistered
2732+
- not_registered
2733+
description: DRep's current registration status
2734+
example: registered
27312735
deposit:
27322736
anyOf:
27332737
- type: string
@@ -2786,8 +2790,8 @@ schemas:
27862790
$ref: "#/components/schemas/drep_info/items/properties/hex"
27872791
has_script:
27882792
$ref: "#/components/schemas/drep_info/items/properties/has_script"
2789-
registered:
2790-
$ref: "#/components/schemas/drep_info/items/properties/registered"
2793+
drep_status:
2794+
$ref: "#/components/schemas/drep_info/items/properties/drep_status"
27912795
drep_delegators:
27922796
description: List of all delegators by requested delegated representative (DRep)
27932797
type: array

0 commit comments

Comments
 (0)