This commit is contained in:
Jędrzej Stuczyński
2024-01-05 10:36:31 +00:00
parent 0235932dda
commit 16f7ac9998
3 changed files with 44 additions and 4 deletions
@@ -91,6 +91,19 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ExecuteMsg",
"oneOf": [
{
"type": "object",
"required": [
"initiate_dkg"
],
"properties": {
"initiate_dkg": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
@@ -660,7 +673,6 @@
"type": "object",
"required": [
"epoch_id",
"finish_timestamp",
"state",
"time_configuration"
],
@@ -671,7 +683,14 @@
"minimum": 0.0
},
"finish_timestamp": {
"$ref": "#/definitions/Timestamp"
"anyOf": [
{
"$ref": "#/definitions/Timestamp"
},
{
"type": "null"
}
]
},
"state": {
"$ref": "#/definitions/EpochState"
@@ -687,6 +706,7 @@
{
"type": "string",
"enum": [
"waiting_initialisation",
"in_progress"
]
},
@@ -2,6 +2,19 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ExecuteMsg",
"oneOf": [
{
"type": "object",
"required": [
"initiate_dkg"
],
"properties": {
"initiate_dkg": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
@@ -4,7 +4,6 @@
"type": "object",
"required": [
"epoch_id",
"finish_timestamp",
"state",
"time_configuration"
],
@@ -15,7 +14,14 @@
"minimum": 0.0
},
"finish_timestamp": {
"$ref": "#/definitions/Timestamp"
"anyOf": [
{
"$ref": "#/definitions/Timestamp"
},
{
"type": "null"
}
]
},
"state": {
"$ref": "#/definitions/EpochState"
@@ -31,6 +37,7 @@
{
"type": "string",
"enum": [
"waiting_initialisation",
"in_progress"
]
},