/* Copyright 2015 Realm Inc - All Rights Reserved * Proprietary and Confidential */ #pragma once #include "js_util.hpp" #include namespace realm { class Schema; using ObjectDefaults = std::map; } JSClassRef RJSSchemaClass(); JSObjectRef RJSSchemaCreate(JSContextRef ctx, realm::Schema *schema); realm::Schema RJSParseSchema(JSContextRef ctx, JSObjectRef jsonObject, std::map &defaults, std::map &prototypes);