dataclass_typeschema
- compas.data.dataclass_typeschema(cls)[source]
- Generate a JSON schema for the data type of a COMPAS object class. - Parameters:
- clscompas.data.Data
- The COMPAS object class. 
 
- cls
- Returns:
- dict
- The JSON schema. 
 
 
Site Navigation
compas
compas_blender
compas_ghpython
compas_rhino
Generate a JSON schema for the data type of a COMPAS object class.
compas.data.DataThe COMPAS object class.
The JSON schema.