diff --git a/data/config-schema/src/main/resources/net/corda/schema/configuration/stateManager/1.0/corda.stateManager.json b/data/config-schema/src/main/resources/net/corda/schema/configuration/stateManager/1.0/corda.stateManager.json index 90975c55a0..d9ed6a7520 100644 --- a/data/config-schema/src/main/resources/net/corda/schema/configuration/stateManager/1.0/corda.stateManager.json +++ b/data/config-schema/src/main/resources/net/corda/schema/configuration/stateManager/1.0/corda.stateManager.json @@ -4,6 +4,9 @@ "title": "Corda State Manager Configuration Schema", "description": "Configuration schema for the State Manager section. This configures the interactions of the workers with the underlying persistent storage used by the out of process State Manager.", "type": "object", + "propertyNames": { + "$ref": "#/$defs/validStateTypes" + }, "additionalProperties": { "type": "object", "$ref": "#/$defs/stateTypeConfig" @@ -45,6 +48,16 @@ } } ] + }, + "validStateTypes": { + "enum": [ + "flowCheckpoint", + "flowMapping", + "flowStatus", + "keyRotation", + "p2pSession", + "tokenPoolCache" + ] } } }