def get_schema():
    """Schema structure of this resource

    :return: schema dictionary
    :rtype: dict
    """
    return {'schema': {'schema_version': {'type': 'integer', 'default': 1},
        'user': {'schema_version': 1, 'title': 'Concerned user', 'type':
        'objectid', 'data_relation': {'resource': 'user', 'embeddable': 
        True}, 'required': True}, 'realm': {'schema_version': 1, 'title':
        'Concerned realm', 'type': 'objectid', 'data_relation': {'resource':
        'realm', 'embeddable': True}, 'required': True}, 'sub_realm': {
        'schema_version': 1, 'title': 'Sub-realms', 'comment':
        'Is this right applicable to the sub-realms of the realm?', 'type':
        'boolean', 'default': False}, 'resource': {'schema_version': 1,
        'title': 'Concerned resource', 'comment':
        'Resource concerned with the right', 'type': 'string', 'default':
        '*', 'allowed': ['*', 'actionacknowledge', 'actiondowntime',
        'actionforcecheck', 'alignak', 'alignakdaemon', 'realm', 'command',
        'timeperiod', 'user', 'usergroup', 'userrestrictrole', 'host',
        'hostgroup', 'hostdependency', 'hostescalation', 'service',
        'servicegroup', 'servicedependency', 'serviceescalation', 'grafana',
        'graphite', 'influxdb', 'statsd', 'timeseriesretention',
        'aligank_notifications', 'livesynthesis', 'livesynthesisretention',
        'logcheckresult', 'history']}, 'crud': {'schema_version': 1,
        'title': 'Right', 'comment':
        "User's right for the concerned resource in the concerned realm. Use ``*`` if all resources are concerned."
        , 'type': 'list', 'default': ['read'], 'allowed': ['create', 'read',
        'update', 'delete', 'custom']}}, 'schema_deleted': {}}
