Using JSON Schema with Realm

Hello,

I’m planning on using Realm for my new app but the backend and database already exist.
Our backend supports JSON Schema and for now, I’d like to use that. My understanding is that Realm supports JSON Schema but when I try it I’m getting this error:

Possible Unhandled Promise Rejection (id: 0): Error: Failed to read ObjectSchema: name must be of type 'string', got (undefined)

example schema:

const WoSchema = {
  title: 'Contact',
  bsonType: 'object',
  required: ['_id'],
  properties: {
    _id: 'objectId',
    name: 'string',
    address: {
      title: 'Address',
      bsonType: 'object',
      properties: {
        street: 'string',
      },
    },
  },
};

const config = {
  schema: [WoSchema],
};
new Realm(config)

Thanks for the help