Add structured validation metadata to service records and enforce ESA-accepted constraints - #638
Open
JanssenBrm with Copilot wants to merge 4 commits into
Open
Add structured validation metadata to service records and enforce ESA-accepted constraints#638JanssenBrm with Copilot wants to merge 4 commits into
JanssenBrm with Copilot wants to merge 4 commits into
Conversation
4 tasks
Copilot
AI
changed the title
[WIP] Extend algorithm record schema with validation/certification metadata
Add structured validation metadata to service records and enforce ESA-accepted constraints
Aug 3, 2026
Contributor
|
@copilot The validation status is not really relevant in this case. As it is either validated or not. |
Contributor
Author
Updated in 85b9eff: removed |
JanssenBrm
marked this pull request as ready for review
August 3, 2026 14:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces machine-checkable validation/certification metadata in algorithm service records so catalogue category derivation can rely on structured record data instead of ad-hoc links/keywords. It also aligns static QA checks and onboarding docs with the new metadata contract.
Schema: add optional
properties.validationcontractschemas/record.jsonwith an optionalproperties.validationobject:status:pending | accepteddocument.href: required URIdocument.reviewed_by(ESA) anddocument.review_date(ISO date) required whenstatus=acceptedif/then) to prevent ambiguous “accepted” records.QA: enforce malformed metadata rejection + accepted-record benchmark prerequisite
qa/unittests/tests/test_records.pyto:validationpayloads via schema validation testsvalidation.status=acceptedwhen nobenchmark_scenarios/*.jsonexists for that serviceDocumentation: define contributor/reviewer workflow
docs/catalogue.mdwith:properties.validationshape and examplespending→accepted)Record backfill: annotate known ESA-reviewed services
algorithm_catalog/vito/worldcereal_crop_extent/records/worldcereal_crop_extent.jsonalgorithm_catalog/vito/worldcereal_crop_type/records/worldcereal_crop_type.json