add scalar validation spec