Add schemas code

maybe change to `isIsolated` or `isolated`?