Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve quantity Renderer #90

Open
sbliven opened this issue Mar 3, 2025 · 0 comments
Open

Improve quantity Renderer #90

sbliven opened this issue Mar 3, 2025 · 0 comments
Assignees

Comments

@sbliven
Copy link
Member

sbliven commented Mar 3, 2025

Many fields in the OSC-EM schemas are QuantityValues ({unit:string, value:number}). These are quite verbose with the default JSON Form renderer. We should provide a custom renderer that has the unit and value on one line.

Ideally we would also set a default unit for each field. I looked into this, but it seems that the ifabsent keyword isn't yet supported by the LinkML-jsonschema-generator (see linkml/linkml#2556).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants