json-schema-org / json-hyperschema-spec

A *future* location for the JSON Hyper-Schema I-D sources.
14 stars 4 forks source link

Import hyper-schema spec and meta-schemas from json-schema-spec #17

Closed handrews closed 1 year ago

handrews commented 1 year ago

This partially addresses issue json-schema-org/json-schema-spec#838, along with PR json-schema-org/json-schema-spec#1326

Note: I have no immediate plans for active work on Hyper-Schema, although I definitely have ideas on what it could look like now. I just keep trying to find it and getting frustrated because it's neither in the top level of the json-schema-spec repo nor is it in this repo (it's in the "archive" directory of json-schema-spec, which I can never remember).

This is the result of doing:

(line wrapped for clarity)

[git-filter-repo](https://github.com/newren/git-filter-repo)
    --path jsonschema-hyperschema.xml
    --path hyper-schema.json
    --path links.json
    --path meta/hyper-schema.json
    --path archive/jsonschema-hyperschema.xml
    --path archive/hyper-schema.json
    --path archive/links.json
    --path archive/meta/hyper-schema.json
    --path output/hyper-schema.json

then importing the trimmed repo and renaming the files out of the archive directory and back to their original locations. I also pulled over the hyper-schema release tags (which aren't visible in the PR — I'll push them separately after merging as you can't do it through GitHub).

There are no changes to the contents compared to what's currently in the json-schema-spec repo. I will add the build system and any updates needed for it to build after we're sure this import is correct. I don't expect to do further work on it at this time, it just seems like it would be nice to leave things build-able.