Changes

Summary

  1. Add comprehensive Crossref API v4 profile (32 guidelines) and update documentation (details)
Commit 901be535ba122c0b027a4cc248d8ffbe4c4dd5c7 by Antonis Lempesis
Add comprehensive Crossref API v4 profile (32 guidelines) and update documentation

Replace the minimal 8-rule CrossrefApiV4Profile with a full 32-guideline profile
mirroring LiteratureGuidelinesV4Profile, mapped to Crossref Works API JSON fields.
Fields unavailable in the Crossref API are included as MANDATORY_IF_APPLICABLE with
always-passing predicates. RECOMMENDED fields follow the pass-when-absent convention
matching the XML profile behaviour. Resource type is validated against the Crossref
type vocabulary and mapped to OpenAIRE/COAR general types.

Update CrossrefApiV4ProfileTest with 19 tests covering all guideline categories,
conditional logic, type vocabulary, page parsing, and conference event handling.

Update README.md with a full supported-profiles table, a 32-row guideline mapping
table, type vocabulary mapping, behaviour conventions, and a usage example.
Add a comprehensive class-level Javadoc summary to CrossrefApiV4Profile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The file was modifiedsrc/main/java/eu/dnetlib/validator2/validation/json/CrossrefApiV4Profile.java (diff)
The file was modifiedsrc/test/java/eu/dnetlib/validator2/validation/json/CrossrefApiV4ProfileTest.java (diff)
The file was modifiedREADME.md (diff)