inspirehep / inspire-schemas

Inspire JSON schemas and utilities to use them.
GNU General Public License v2.0
8 stars 26 forks source link

disallow INSPIRE-00000000 #408

Open tsgit opened 4 years ago

tsgit commented 4 years ago

the schema allows for all zeros

https://github.com/inspirehep/inspire-schemas/blob/master/inspire_schemas/records/elements/id.yml#L17

while the submission form doesn't

https://github.com/inspirehep/inspire-next/blob/master/inspirehep/modules/authors/forms.py#L341

Several records each month are harvested with invalid INSPIRE-ID with all zeros from the STAR collaboration. This should be disallowed and corrected on ingestion.