nmfs-fish-tools / fishdictionary

A dictionary scheme for fisheries
https://connect.fisheries.noaa.gov/fishdictionary
GNU Affero General Public License v3.0
3 stars 1 forks source link

Create a GHA workflow to validate submitted terms #40

Open Bai-Li-NOAA opened 1 year ago

Bai-Li-NOAA commented 1 year ago
    I think the idea is slightly different, but in case it is helpful, I recently setup a job to validate JSON files using a JSON schema for the FIT webpages: https://github.com/noaa-fisheries-integrated-toolbox/toolbox_web_templating/blob/main/.github/workflows/validate_json_config.yml (not sure if you have access, but I can add you if needed!)

Originally posted by @k-doering-NOAA in https://github.com/nmfs-fish-tools/fishdictionary/issues/37#issuecomment-1270038825

k-doering-NOAA commented 1 year ago

One more "in case it is helpful" link: https://json-schema.org/understanding-json-schema/about.html

I am still learning JSON and found this website really helpful