Support empty schema at the top level

For "definitions"-only schemas.