def METHOD_NAME(calculation_layer, property_type):
    """Tests serialisation and deserialization of a calculation schema."""
    schema = registered_calculation_schemas[calculation_layer][property_type]
    if callable(schema):
        schema = schema()
    json_schema = schema.json()
    schema_from_json = WorkflowSchema.parse_json(json_schema)
    property_recreated_json = schema_from_json.json()
    assert json_schema == property_recreated_json