This is a toolkit that assists with the generation and enhancement of LinkML schemas
pip install schema-automator
See CLI docs
Generalizing:
schemauto generalize-tsv my-data.tsv > my-schema.yaml
Importing:
schemauto import-json-schema their.schema.json > my-schema.yaml
Annotating:
schemauto annotate-schema my-schema.yaml