Convert constraint validator plugins from Annotations Attributes.
There are now a lot of deprecation messages in pipelines like this https://git.drupalcode.org/project/ai_content_review/-/jobs/11145456 because of the messages:
Using @Constraint annotation for plugin with ID AiValidator is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Validation\Attribute\Constraint attribute instead. See https://www.drupal.org/node/3395575
Using @Constraint annotation for plugin with ID ValidJsonSchemaStructure is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Validation\Attribute\Constraint attribute instead. See https://www.drupal.org/node/3395575
Using @Constraint annotation for plugin with ID ValidStructuredOutputSchema is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Validation\Attribute\Constraint attribute instead. See https://www.drupal.org/node/3395575
There are no real failures, but the job still fails.
The plugins discovery supports attributes since 10.3, change record https://www.drupal.org/node/3229001
issue