Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema: Added enum values to field descriptions #509

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

mrshll1001
Copy link
Contributor

@mrshll1001 mrshll1001 commented Aug 6, 2024

Related issues

Description

HSDS contains several fields where the values must be taken from
enumerated values. These are represented in the schemas with enum
properties.

There is currently no documentation for these values, so I have added
them to the description property of each field. This gives some inline
documentation where appropriate without changing the semantics of the
relevant fields.

Merge checklist

This PR is designed to be merged into the 3.1-dev staging branch so compiling the schemas should be performed at a later date to take into account all other schema changes.

  • Update the changelog

If you have edited any schema files:

  • Run hsds_schema.py to update datapackage.json and example files
  • Update the logical model page if relevant

HSDS contains several fields where the values must be taken from
enumerated values. These are represented in the schemas with `enum`
properties.

There is currently no documentation for these values, so I have added
them to the `description` property of each field. This gives some inline
documentation where appropriate without changing the semantics of the
relevant fields.
@mrshll1001 mrshll1001 changed the base branch from 3.0 to 3.1-dev August 6, 2024 10:00
Matt Marshall added 2 commits August 6, 2024 11:04
Added details of this change to the changelog for 3.1
@mrshll1001 mrshll1001 marked this pull request as ready for review August 6, 2024 10:08
@mrshll1001 mrshll1001 merged commit 6eaca2d into 3.1-dev Sep 5, 2024
9 of 11 checks passed
@mrshll1001 mrshll1001 deleted the PATCH-add-enums-to-field-descriptions branch September 5, 2024 10:39
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.

Can we show ENUM options in /hsds/reference/ docs page? Show enums in the docs
1 participant