Raw schema
{
"type": "object",
"properties": {
"holdings": {
"items": {
"$ref": "#/$defs/AlignmentHolding"
},
"maxItems": 1000,
"minItems": 1,
"title": "Holdings",
"type": "array"
},
"idempotency_key": {
"maxLength": 255,
"minLength": 1,
"title": "Idempotency Key",
"type": "string"
},
"mandate": {
"default": "",
"maxLength": 50000,
"title": "Mandate",
"type": "string"
},
"rules": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/AlignmentRule"
},
"maxItems": 250,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Rules"
},
"portfolio_name": {
"default": "Portfolio",
"maxLength": 255,
"title": "Portfolio Name",
"type": "string"
},
"base_currency": {
"default": "USD",
"maxLength": 16,
"minLength": 1,
"title": "Base Currency",
"type": "string"
},
"composition_scope": {
"default": "unknown",
"enum": [
"complete",
"partial",
"unknown"
],
"title": "Composition Scope",
"type": "string"
},
"source_warnings": {
"anyOf": [
{
"items": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Warnings"
}
},
"required": [
"holdings",
"idempotency_key"
],
"$defs": {
"AlignmentHolding": {
"additionalProperties": false,
"properties": {
"id": {
"maxLength": 120,
"minLength": 1,
"title": "Id",
"type": "string"
},
"name": {
"maxLength": 500,
"minLength": 1,
"title": "Name",
"type": "string"
},
"weight": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Weight"
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Value"
},
"currency": {
"default": "",
"maxLength": 16,
"title": "Currency",
"type": "string"
},
"attributes": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"maxProperties": 100,
"title": "Attributes",
"type": "object"
},
"source_reference": {
"default": "",
"maxLength": 500,
"title": "Source Reference",
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "AlignmentHolding",
"type": "object"
},
"AlignmentRule": {
"additionalProperties": false,
"properties": {
"id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Id"
},
"title": {
"default": "",
"maxLength": 200,
"title": "Title",
"type": "string"
},
"target": {
"maxLength": 500,
"minLength": 1,
"title": "Target",
"type": "string"
},
"operator": {
"enum": [
"<",
"<=",
"=",
"!=",
">=",
">",
"range"
],
"title": "Operator",
"type": "string"
},
"threshold": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Threshold"
},
"min_value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Min Value"
},
"max_value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Max Value"
},
"unit": {
"default": "percent",
"maxLength": 64,
"title": "Unit",
"type": "string"
},
"explanation": {
"default": "",
"maxLength": 2000,
"title": "Explanation",
"type": "string"
},
"enabled": {
"default": true,
"title": "Enabled",
"type": "boolean"
},
"exposure_filter": {
"anyOf": [
{
"$ref": "#/$defs/ExposureFilter"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"target",
"operator"
],
"title": "AlignmentRule",
"type": "object"
},
"ExposureFilter": {
"additionalProperties": false,
"properties": {
"dimension": {
"enum": [
"denomination_currency",
"country",
"domicile",
"issuer_country",
"listing_country",
"asset_class",
"rating",
"sector"
],
"title": "Dimension",
"type": "string"
},
"match": {
"enum": [
"equals",
"not_equals",
"in",
"not_in"
],
"title": "Match",
"type": "string"
},
"values": {
"items": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"title": "Values",
"type": "array"
}
},
"required": [
"dimension",
"match",
"values"
],
"title": "ExposureFilter",
"type": "object"
}
},
"title": "evaluate_portfolio_alignmentArguments"
}