HackMyResume icon indicating copy to clipboard operation
HackMyResume copied to clipboard

Thoughts on adding $schema property to empty-fresh.json

Open jarz opened this issue 9 years ago • 3 comments

I found that adding this to my json made it easier to edit in VS Code.

"$schema": "https://raw.githubusercontent.com/fluentdesk/FRESCA/master/schema/fresh-resume-schema.json"

jarz avatar Jan 01 '16 04:01 jarz

Agreed. Feel free to submit a PR or I'll roll this into the next release. Thanks! (and happy New Year)

hacksalot avatar Jan 01 '16 07:01 hacksalot

I'm not sure what URL should be used. I don't know if editors will cache the schema and not catch updates.

jarz avatar Jan 01 '16 19:01 jarz

The schema is GitHub-backed but the official/canonical location is currently:

http://fluentdesk.com/fresh/0.2.4/schema.json http://fluentdesk.com/fresh/latest/schema.json

This will probably move to a .org or dedicated domain in the future, but for now, that's the address of record. Probably best to use the specific /0.2.4/ version as a cache-buster, especially since we control empty-fresh.json and can keep it synced.

hacksalot avatar Jan 01 '16 21:01 hacksalot