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