Improve validation of the info.license object.
Background
We're using the info.license object to indicate the license of content available through our APIs. At the moment, we only validate that the license object is present, but we don't actually check if the specified license is correct. Licenses for our content are generally well known, so it should be possible to introduce extra validation of the license object.
Scope
- T422910: Automatically set info.license during spec generation
- T422911: [SPIKE] Verify info.license in non-generated specs