class BINodeVisHierarchyStyleSchema(Schema): type = ReqConstant("hierarchy") style_config = ReqNested(BINodeVisHierarchyStyleConfigSchema)
class BINodeVisBlockStyleSchema(Schema): type = ReqConstant("block") style_config = ReqConstant({})
class BINodeVisForceStyleSchema(Schema): type = ReqConstant("force") style_config = ReqConstant({})
class BINodeVisRadialStyleSchema(Schema): type = ReqConstant("radial") style_config = ReqNested(BINodeVisRadialStyleConfigSchema)
class BINodeVisRadialStyleSchema(Schema): type = ReqConstant("radial") degree = ReqInteger() radius = ReqInteger() rotation = ReqInteger()
class BINodeVisNoneStyleSchema(Schema): type = ReqConstant("none") style_config = ReqConstant({})
class BIHostAliasRegexChoiceSchema(Schema): type = ReqConstant("host_alias_regex") pattern = ReqString(default="", example="testali.*")
class BICallARuleActionSchema(Schema): type = ReqConstant(BICallARuleAction.type()) rule_id = ReqString(default="", example="test_rule_1") params = ReqNested(BIParamsSchema, default=BIParamsSchema().dump({}), example=BIParamsSchema().dump({}))
class BIHostNameRegexChoiceSchema(Schema): type = ReqConstant("host_name_regex") pattern = ReqString(default="", example="testhostn.*")
class BIFixedArgumentsSearchSchema(Schema): type = ReqConstant(BIFixedArgumentsSearch.type()) arguments = ReqList(fields.Nested(BIFixedArgumentsSearchTokenSchema))
class BIAllHostsChoiceSchema(Schema): type = ReqConstant("all_hosts")
class BIServiceSearchSchema(Schema): type = ReqConstant(BIServiceSearch.type()) conditions = ReqNested(ServiceConditionsSchema, default=ServiceConditionsSchema().dump({}))
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 BICompiledLeafSchema(Schema): type = ReqConstant(BICompiledLeaf.type()) required_hosts = ReqList(fields.Nested(BISiteHostPairSchema)) site_id = ReqString() host_name = ReqString() service_description = fields.String()
class BIEmptySearchSchema(Schema): type = ReqConstant(BIEmptySearch.type())
class BIStateOfRemainingServicesActionSchema(Schema): type = ReqConstant(BIStateOfRemainingServicesAction.type()) host_regex = ReqString(default="", example="testhost")
class BIAggregationFunctionCountOKSchema(Schema): type = ReqConstant(BIAggregationFunctionCountOK.type()) levels_ok = ReqNested(BIAggregationFunctionCountSettings) levels_warn = ReqNested(BIAggregationFunctionCountSettings)
class BIHostSearchSchema(Schema): type = ReqConstant(BIHostSearch.type()) conditions = ReqNested(HostConditionsSchema, default=HostConditionsSchema().dump({})) refer_to = ReqString(validate=validate.OneOf(["host", "child", "parent"]), default="host")
class BIStateOfServiceActionSchema(Schema): type = ReqConstant(BIStateOfServiceAction.type()) host_regex = ReqString(dump_default="", example="testhost") service_regex = ReqString(dump_default="", example="testservice")