Era.Common.DataDefinition.Security.ConsoleUserState_KeyValuePair

Description

Key-value pair.

Properties

Name JsonSchemaType Description
key string Key.
value string Value. If the value should not be present (optional), the whole pair should be removed. Empty value is only used to transfer the information that it should be removed.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Security.ConsoleUserState
Era.Common.NetworkMessage.ConsoleApi.Security.RpcSetUserRememberedUIStateRequest

JsonSchema

{
    "title": "Era.Common.DataDefinition.Security.ConsoleUserState_KeyValuePair",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Security.ConsoleUserState_KeyValuePair"
    ],
    "properties": {
        "Era.Common.DataDefinition.Security.ConsoleUserState_KeyValuePair": {
            "$ref": "#/definitions/ConsoleUserState_KeyValuePair"
        }
    },
    "definitions": {
        "ConsoleUserState_KeyValuePair": {
            "additionalProperties": false,
            "required": [
                "key"
            ],
            "type": "object",
            "properties": {
                "key": {
                    "type": "string"
                },
                "value": {
                    "type": "string"
                }
            }
        }
    }
}