Era.Common.DataDefinition.Policy.PolicyData

Description

Data of a single policy.

Properties

Name JsonSchemaType Description
compressed boolean If set to true the data was compressed using zlib compress
data string Binary data of the serialized policy.
product string Product, for which the policy is intended. Used to initialize config editor.
uncompressed_data_size integer If the buffer is compressed and you want to decompress it, this field is the size of the original buffer before it was compressed

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreatePolicyRequest
Era.Common.NetworkMessage.ConsoleApi.Policies.RpcGetPolicyResponse

JsonSchema

{
    "title": "Era.Common.DataDefinition.Policy.PolicyData",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Policy.PolicyData"
    ],
    "properties": {
        "Era.Common.DataDefinition.Policy.PolicyData": {
            "$ref": "#/definitions/PolicyData"
        }
    },
    "definitions": {
        "PolicyData": {
            "additionalProperties": false,
            "required": [
                "data",
                "product"
            ],
            "type": "object",
            "properties": {
                "compressed": {
                    "type": "boolean"
                },
                "data": {
                    "type": "string"
                },
                "product": {
                    "type": "string"
                },
                "uncompressed_data_size": {
                    "type": "integer"
                }
            }
        }
    }
}