class BIAggregationFunctionBestSchema(Schema): type = ReqConstant(BIAggregationFunctionBest.type()) count = ReqInteger(default=1) restrict_state = ReqInteger(default=2, validate=validate.OneOf([ 0, 1, 2, ]))
class BIAggregationFunctionWorstSchema(Schema): type = ReqConstant(BIAggregationFunctionWorst.type()) count = ReqInteger(dump_default=1, example=2) restrict_state = ReqInteger( dump_default=2, validate=validate.OneOf([ 0, 1, 2, ]), )
class BINodeVisHierarchyStyleConfigSchema(Schema): layer_height = ReqInteger(default=80, example=85) node_size = ReqInteger(default=25, example=40) rotation = ReqInteger(default=270, example=180)
class BINodeVisRadialStyleConfigSchema(Schema): degree = ReqInteger(default=80) radius = ReqInteger(default=25) rotation = ReqInteger(default=270)
class BIAggregationFunctionCountSettings(Schema): type = ReqString(default="count", validate=validate.OneOf(["count", "percentage"])) value = ReqInteger(default=1)
class BINodeVisHierarchyStyleSchema(Schema): type = ReqConstant("hierarchy") layer_height = ReqInteger(default=80, example=85) node_size = ReqInteger(default=25, example=40) rotation = ReqInteger(default=270, example=180)
class BINodeVisRadialStyleSchema(Schema): type = ReqConstant("radial") degree = ReqInteger() radius = ReqInteger() rotation = ReqInteger()