Changes

Summary

  1. Add comprehensive DataCite API v4 profile (32 guidelines) and update documentation (details)
Commit f67d8e8bc9e7c28e4e65d4824cd3975600ccda3f by Antonis Lempesis
Add comprehensive DataCite API v4 profile (32 guidelines) and update documentation

Add DataCiteApiV4Profile mapping all 32 OpenAIRE Literature V4 guidelines to DataCite
REST API attributes JSON fields. Because DataCite uses the same underlying metadata schema
as OpenAIRE, the mapping is nearly one-to-one: Access Rights, Size, Geo Location, Resource
Version, Embargo Period dates, and citation fields (via $.container) are all directly
supported, unlike the Crossref profile where these were absent.

Key design points:
- Embargo Period Date: applicable when $.dates contains dateType=Available; validates both
  Available and Accepted dates against ISO 8601 (YYYY, YYYY-MM, YYYY-MM-DD).
- Publisher: accepts both the legacy string format and the v4.5+ {name} object format.
- Resource Type: validated against the full DataCite resourceTypeGeneral vocabulary
  (covers both v4.3/4.4 and v4.5+ extended sets).
- Access Rights and License Condition: both read $.rightsList with distinct checks
  (presence vs. rightsUri).
- Profile validates the data.attributes object, not the full API response wrapper.

Add DataCiteApiV4ProfileTest with 37 tests covering all guideline categories, embargo
date logic, publisher format variants, alternate identifier legacy vs v4.5 formats,
geo location sub-field validation, container citation fields, and always-pass guidelines.

Update README.md: add DataCiteApiV4Profile row to the JSON profiles table and a full
dedicated section with 32-row mapping table, type vocabulary, behaviour conventions,
and a usage example.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The file was addedsrc/test/java/eu/dnetlib/validator2/validation/json/DataCiteApiV4ProfileTest.java
The file was addedsrc/main/java/eu/dnetlib/validator2/validation/json/DataCiteApiV4Profile.java
The file was modifiedREADME.md