Skip to content

Commit

Permalink
Merge pull request #509 from openreferral/PATCH-add-enums-to-field-de…
Browse files Browse the repository at this point in the history
…scriptions

Schema: Added enum values to field descriptions

Merging as no objections to this PATCH were raised.

Also noting that this PR doesn't contain work resulting from running the hsds tools, which I will be doing inside the `3.1-dev` branch once merged in.
  • Loading branch information
mrshll1001 authored Sep 5, 2024
2 parents 2117655 + c000d1e commit 6eaca2d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/hsds/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ TODO: update link to this

### Backwards compatible schema changes

* Descriptions for `address.address_type`, `location.location_type`, `schedule.wkst`, and `schedule.freq` have been updated to include their enum values.

## [v3.0](https://github.com/openreferral/specification/milestone/7)

Expand Down
2 changes: 1 addition & 1 deletion schema/address.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"name": "address_type",
"type": "string",
"title": "Address Type",
"description": "The type of address which may be physical, postal, or virtual.",
"description": "The type of address which may be `physical`, `postal`, or `virtual`.",
"constraints": {
"unique": false
},
Expand Down
2 changes: 1 addition & 1 deletion schema/location.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"name": "location_type",
"type": "string",
"title": "Location Type",
"description": "The type of location, which may be either physical, postal, or virtual.",
"description": "The type of location, which may be either `physical`, `postal`, or `virtual`.",
"constraints": {
"unique": false
},
Expand Down
4 changes: 2 additions & 2 deletions schema/schedule.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"name": "wkst",
"type": "string",
"title": "Week Start",
"description": "iCal - The two-letter code for the day on which the week starts.",
"description": "iCal - The two-letter code for the day on which the week starts: `MO`, `TU`, `WE`, `TH`, `FR`, `FR`, `SA`, `SU`",
"constraints": {
"unique": false
},
Expand All @@ -147,7 +147,7 @@
"name": "freq",
"type": "string",
"title": "Frequency",
"description": "iCal - How often the frequency repeats.",
"description": "iCal - How often the frequency repeats. Values can be `WEEKLY` or `MONTHLY`",
"constraints": {
"unique": false
},
Expand Down

0 comments on commit 6eaca2d

Please sign in to comment.