It doesn't need to be, but in jsonapi ids are normally strings so that's just my mindset when writing the specs