dataclass_dataschema
- compas.data.dataclass_dataschema(cls)[source]
Generate a JSON schema for 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 a COMPAS object class.
compas.data.Data
The COMPAS object class.
The JSON schema.