@decorators.json_view
@account_decorators.login_required
def spacecraft_valid_id(request):
    requested_id = request.GET['value']
    if not requested_id:
        raise exceptions.BadRequest("'value' not found as a GET parameter.")

    is_valid = not segments.Spacecraft.objects.filter(
        identifier=requested_id
    ).exists()

    return {
        'isValid': is_valid,
        'value': requested_id
    }
Validate the parsed yaml structure. This method raises on validation errors.
dataset/ETHPy150Open satnet-project/server/services/configuration/ajax/views.py/spacecraft_valid_id--crossover with--dataset/ETHPy150Open box/ClusterRunner/app/master/cluster_runner_config.py/ClusterRunnerConfig._parse_raw_config