Skip to content

PATCH: Refactor codelist declarations#435

Open
mrshll1001 wants to merge 1 commit intomainfrom
mm-refactor-codelist-declarations
Open

PATCH: Refactor codelist declarations#435
mrshll1001 wants to merge 1 commit intomainfrom
mm-refactor-codelist-declarations

Conversation

@mrshll1001
Copy link
Contributor

@mrshll1001 mrshll1001 commented Feb 13, 2026

This PR represents a PATCH which Refactors the declaration of codelists in the schema to keep the schema modern and maintainable (#433)

This does not change any validation rules in the Standard; it just changes how these validation rules are declared to be more modern and maintainable. No existing data will be affected.

Fixes #433 by replacing old codelist declarations with new ones.

Closed codelists should be declared with the `enum` keyword alongside a
sibling `codelist` keyword. Open codelists omit the `enum`, but no open
codelists exist within 360Giving at present.
@mrshll1001 mrshll1001 marked this pull request as draft February 13, 2026 16:14
@mrshll1001
Copy link
Contributor Author

#391 makes it clear that we are aware of the validation problems with Location.geoCodeType. I am removing that commit from the PR, as I suspected it might be deliberate. The PR will be re-scoped back to a simple refactor of existing codelist declarations.

@mrshll1001 mrshll1001 force-pushed the mm-refactor-codelist-declarations branch from 83a61d8 to 244b21b Compare February 13, 2026 16:21
@mrshll1001 mrshll1001 marked this pull request as ready for review February 13, 2026 16:24
@mrshll1001 mrshll1001 changed the title PATCH: Fix geoCodeType bug and refactor codelist declarations PATCH: Refactor codelist declarations Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schema: Refactor declaration of codelists to match ODS JSON Schema Extension 1.0

1 participant