-- Custom test: All geocoded schools should have coordinates within the UK

select
    urn,
    easting,
    northing
from {{ ref('dim_location') }}
where easting is not null
  and northing is not null
  and (
    easting < 0 or easting > 700000
    or northing < 0 or northing > 1300000
  )
