-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
Python APIIssue is about the Python APIIssue is about the Python APIenhancementNew feature or requestNew feature or request
Description
I find it hard to remember what the specific way to make a simple schema is. We should have function like tskit.json_schema or something that returns tskit.MetadataSchema({"codec": "json"}). Or perhaps we want some sort of "SchemaBuilder" API that lets people build their schemas incrementally, adding properties? I don't think we need to support the full complexity of JSON schema, something simple that just supported adding a few (unnested) properties with documentation and a boolean required/not required flag would fit 99% of use cases. For anything more complex we can say "see the JSON schema spec".
Metadata
Metadata
Assignees
Labels
Python APIIssue is about the Python APIIssue is about the Python APIenhancementNew feature or requestNew feature or request