Skip to content

Question: Is there a Python function for validating JCAD schema? #778

@asmith26

Description

@asmith26

Hi there!

Is there a Python function for validating a JupyterCAD .jcad file is valid (regarding the JCAD schema)?

It looks like this exists for TypeScript: (e.g. the schema folder, also:

I ask as I believe this would help regarding https://github.com/asmith26/jupytercad-mcp - I was thinking of creating such a validate() python function in my repo, just thought I'd ask here in case it already exists (or if it would be beneficial to add such a capability to this repo if more generally helpful)?

Many thanks again for any help! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions