This commit is contained in:
sneakers-the-rat 2024-02-05 14:39:05 -08:00
commit 9be0ed534b
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
4 changed files with 8350 additions and 0 deletions

11
get.py Normal file
View file

@ -0,0 +1,11 @@
import requests
import yaml
import json
with open('sources.yaml', 'r') as sfile:
sources = yaml.safe_load(sfile)
for source in sources:
schema = requests.get(source['source'])
with open(source['target'], 'w') as jfile:
json.dump(schema.json(), jfile, indent=2)

8335
linkml.json Normal file

File diff suppressed because it is too large Load diff

2
requirements.txt Normal file
View file

@ -0,0 +1,2 @@
requests
PyYaml

2
sources.yaml Normal file
View file

@ -0,0 +1,2 @@
- source: https://raw.githubusercontent.com/linkml/linkml-model/main/linkml_model/jsonschema/meta.schema.json
target: linkml.json