Resolves a RestSchema instance into an actual Schema object or reference.
Resolves a RestSchema instance into an actual Schema object or reference. If the schema is unnamed then this method will simply return the same value as RestSchema.createSchema. If the schema is named, it may be internally registered under its name and a Reference Object will be returned instead - see SchemaRegistry.