@dxos/echo
    Preparing search index...

    Function makeObjectFromJsonSchema

    • Construct a new object-kind type entity from raw metadata — for cases where an Effect Schema isn't available (e.g. JSON-Schema arriving over the network or from a UI editor). Parallel to makeObject but takes pre-built jsonSchema instead of piping through an Effect schema.

      The returned entity is in-memory; persist it with db.addType(entity).

      Parameters

      • props: MakeTypeProps

      Returns Type.Type<TypeSchema>

      O(schema size); validates the JSON schema into a new in-memory type entity, with no database I/O.