@require_GET
@require_can_edit_apps
def get_form_data_schema(request, domain, form_unique_id):
    data = []

    try:
        form, app = Form.get_form(form_unique_id, and_app=True)
    except ResourceConflict:
        raise Http404()
    data.append(get_session_schema(form))

    if app.domain != domain:
        raise Http404()
    if form and form.requires_case():
        data.append(get_casedb_schema(app))  # TODO use domain instead of app
    data.extend(
        sorted(item_lists_by_domain(domain), key=lambda x: x['name'].lower())
    )
    kw = {}
    if "pretty" in request.GET:
        kw["indent"] = 2
    return HttpResponse(json.dumps(data, **kw))
Params:
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/app_manager/views/formdesigner.py/get_form_data_schema--crossover with--dataset/ETHPy150Open ella/ella/ella/core/box.py/Box.__init__