Skip to content

PATCH: Refactor codelist declarations - #435

Open
mrshll1001 wants to merge 9 commits into
mainfrom
mm-refactor-codelist-declarations
Open

PATCH: Refactor codelist declarations#435
mrshll1001 wants to merge 9 commits into
mainfrom
mm-refactor-codelist-declarations

Conversation

@mrshll1001

@mrshll1001 mrshll1001 commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
dependabot Bot and others added 8 commits July 13, 2026 10:16
Bumps [requests](https://github.com/psf/requests) from 2.32.4 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.32.4...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pygments](https://github.com/pygments/pygments) from 2.19.2 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.19.2...2.20.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-version: 2.20.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lxml](https://github.com/lxml/lxml) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](lxml/lxml@lxml-6.0.0...lxml-6.1.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-version: 6.1.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.6.3...2.7.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.7.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [idna](https://github.com/kjd/idna) from 3.10 to 3.15.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md)
- [Commits](kjd/idna@v3.10...v3.15)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.15'
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit updates the gitignore and also removes the .pyc files
already committed to the repository.

The updates to the .gitignore consist of an explicit ignore for
the `documentation/extras/extensions` directory and content recommended
for Python projects from:

https://www.toptal.com/developers/gitignore/api/python

This content should not be included in the repository because it
comprises of dynamically generated python byte code, and the content in
documentation/extras/extensions is also dynamically added at run time
and is not governed as part of the Standard.

Some .pyc files were already added to the project erroneously, so this
commit removes them. They are artifacts from the build process and not
content for the Standard or the Docs.

The updates to the .gitignore prevents these files from being committed
to the repository by accident in the future.
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.
…ixtyGiving/standard into mm-refactor-codelist-declarations
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