Grade form does not validate the IPTC digital source type URI

Problem / Motivation

The config schema types iptc_digital_source_type as uri, but the grade form (AiDisclosureGradeForm) collects it with a plain textfield and no validation. Config schema constraints are not enforced on a normal entity save, so an admin can persist a value like not a uri. Only config-validation tooling would ever notice, while the invalid value flows into the JSON-LD/meta output.

Affected code

  • src/Form/AiDisclosureGradeForm.php — the iptc_digital_source_type element

Proposed resolution

Validate the value in the form: switch the element to #type => 'url', or add an #element_validate that accepts an empty value and otherwise requires a valid absolute URI. Add a form/kernel test asserting an invalid value is rejected.