Era.Common.DataDefinition.Group.StaticGroupRelations

Description

Holds static group relations.

Properties

Name JsonSchemaType Description
childGroups array of references to Era.Common.DataDefinition.Common.Uuid List of child groups. In responses to some requests, this field may be empty. In that case, use report instead, to get the groups hierarchy.
parentGroup reference to Era.Common.DataDefinition.Common.Uuid Parent group.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.DynamicGroups.RpcGetDynamicGroupResponse
Era.Common.NetworkMessage.ConsoleApi.Groups.RpcCreateStaticGroupResponse
Era.Common.NetworkMessage.ConsoleApi.Groups.RpcGetStaticGroupResponse_Group

JsonSchema

{
    "title": "Era.Common.DataDefinition.Group.StaticGroupRelations",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Group.StaticGroupRelations"
    ],
    "properties": {
        "Era.Common.DataDefinition.Group.StaticGroupRelations": {
            "$ref": "#/definitions/StaticGroupRelations"
        }
    },
    "definitions": {
        "StaticGroupRelations": {
            "additionalProperties": false,
            "type": "object",
            "properties": {
                "childGroups": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "parentGroup": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                }
            }
        }
    }
}