{"openapi":"3.0.4","info":{"title":"VendorModelRule","version":"0.0.1"},"paths":{},"components":{"schemas":{"VendorModelRule":{"required":["instrumentType","modelName","supplier"],"type":"object","properties":{"supplier":{"enum":["Lusid","RefinitivQps","RefinitivTracsWeb","VolMaster","IsdaCds","YieldBook","LusidCalc"],"type":"string","description":"Available values: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc."},"modelName":{"maxLength":128,"minLength":0,"type":"string","description":"The vendor library model name"},"instrumentType":{"maxLength":32,"minLength":0,"type":"string","description":"The vendor library instrument type"},"parameters":{"maxLength":64,"minLength":0,"type":"string","description":"THIS FIELD IS DEPRECATED - use ModelOptions\r\nThe set of opaque model parameters, provided as a Json object, that is a string object which will internally be converted to a dictionary of string to object.\r\nNote that this is not intended as the final form of this object. It will be replaced with a more structured object as the set of parameters that are possible is\r\nbetter understood.","nullable":true},"modelOptions":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ModelOptions"},"instrumentId":{"type":"string","description":"This field should generally not be required. It indicates a specific case where there is a particular need to make a rule apply to only a single instrument\r\nspecified by an identifier on that instrument such as its LUID. One particular example would be to control the behaviour of a look-through portfolio scaling\r\nmethodology, such as where there is a mixture of indices and credit-debit portfolios where scaling on the sum of valuation would be deemed incorrectly for one\r\nset but desired in general.","nullable":true},"addressKeyFilters":{"type":"array","items":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/AddressKeyFilter"},"description":"Condition for model selection. If a condition is satisfied the default model for valuation is overridden (for that instrument).","nullable":true}},"additionalProperties":false,"description":"A rule that identifies the set of preferences to be used for a given library, model and instrument type.\r\nThere can be many such rules, though only the first found for a given combination would be used.","title":"VendorModelRule"}}}}