Skip to content

Conversation

@jonafato
Copy link
Member

The intent of this change is to update the schema without any test failures. This means that other changes that affect the data should happen independently from the pull request associated with this commit, and it should be kept up to date and merged once the schema tests pass. To contribute to this change, open PRs that would correct any data that does not conform to the JSON schema. Discussion regarding other schema updates should happen in the associated issue at #1171.

Resolves #1171.

@jonafato jonafato force-pushed the no-additional-properties-category branch from 574bf3a to 705019c Compare August 3, 2024 01:45
jonafato added a commit that referenced this pull request Jun 21, 2025
Currently, the category schema definition file is included in the list
of files that are validated against it. This causes validation errors
when the schema validation's strictness is increased, e.g. by
disallowing additional properties in #1172. This change excludes schema
JSON files from the schema test script to resolve future validation
errors.
jonafato added a commit that referenced this pull request Jun 21, 2025
Add start and end date fields as well as URL to the category schema.
These properties are common across many categories supported here and
already present in a handful of data files.

This change also populates start and end date information based on the
recording dates in video files for a couple of categories that have
these fields present but do not pass the JSON Schema date format
validation.

References #268 and #1172.
@jonafato jonafato changed the base branch from main to additional-category-fields June 21, 2025 19:29
@jonafato jonafato force-pushed the no-additional-properties-category branch from 705019c to cef54d5 Compare June 21, 2025 20:18
amyreese pushed a commit that referenced this pull request Jun 22, 2025
Currently, the category schema definition file is included in the list
of files that are validated against it. This causes validation errors
when the schema validation's strictness is increased, e.g. by
disallowing additional properties in #1172. This change excludes schema
JSON files from the schema test script to resolve future validation
errors.
amyreese pushed a commit that referenced this pull request Jun 22, 2025
Add start and end date fields as well as URL to the category schema.
These properties are common across many categories supported here and
already present in a handful of data files.

This change also populates start and end date information based on the
recording dates in video files for a couple of categories that have
these fields present but do not pass the JSON Schema date format
validation.

References #268 and #1172.
Base automatically changed from additional-category-fields to main June 22, 2025 14:13
@jonafato jonafato force-pushed the no-additional-properties-category branch from cef54d5 to 5cb4a1e Compare June 22, 2025 14:53
@jonafato jonafato marked this pull request as ready for review June 22, 2025 14:59
The intent of this change is to update the schema without any test
failures. This means that other changes that affect the data should
happen independently from the pull request associated with this commit,
and it should be kept up to date and merged once the schema tests pass.
To contribute to this change, open PRs that would correct any data that
does not conform to the JSON schema. Discussion regarding other schema
updates should happen in the associated issue at #1171.

Resolves #1171.
@jonafato jonafato force-pushed the no-additional-properties-category branch from 5cb4a1e to c577b3c Compare August 25, 2025 03:15
@jonafato jonafato merged commit d88e224 into main Aug 25, 2025
1 check passed
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.

category.json schema should not allow additional properties

2 participants