Moment · Schema
ControlResponse
A flattened representation of a control.
CompanyFixed IncomeBondsTradingMarket DataReference DataInvestment ManagementWealth ManagementBrokerageFinancial ServicesFintech
Properties
| Name | Type | Description |
|---|---|---|
| applies_to_asset_classes | array | The list of asset classes that the control will apply to. |
| archived_at | string | The timestamp that the control was deleted. Presence indicates that the control is no longer active. |
| attestation_attributes | object | The attestation the control requires, present on attestation controls only. |
| control_id | object | The unique identifier for the control. This ID is used to reference the control in other endpoints. |
| created_at | string | The timestamp that the control was created. This timestamp is set when the control is created and cannot be modified. |
| definition | string | The definition of the control. This is a JSON object string that contains the parameters that are used to evaluate the control. |
| enabled | boolean | Indicates if the control is currently enabled. |
| entity_ids | array | The list of entity IDs that the control applies to. This list can contain any number of entity IDs and can be used to apply the control to multiple entities. |
| excluded_entity_ids | array | The list of entity IDs that are excluded from the control. This list can contain any number of entity IDs and can be used to exclude specific entities from the control. |
| exposure_settings | object | The exposure settings for the control. These settings are used to determine the limits that the control enforces. |
| filter | object | The filter expression that defines the subset of securities that the control applies to. If this field is not present, the control applies to all instruments. |
| marketplace_restriction | string | What the marketplace does with the securities the control matches. `hide` removes them from the marketplace; when absent they stay visible. `hide` is only valid on a universe control. Order entry is g |
| name | string | The name of the control. This name is used to identify the control in the UI and in other endpoints. |
| order_attributes | object | The order attributes for the control. These attributes are used to determine the limits that the control enforces. |
| organization_id | object | The unique identifier for the organization that the control belongs to. Only the owner of the control can modify the control. |
| remediation | string | The remediation for the control, which indicates how an order should be handled if it violates the control. `reject` blocks the order, `flag` holds it for review, and `none` takes no action on it. Rem |
| saved_by | string | The unique identifier for the user that saved the control. This ID is used to identify the user that created the control. |
| scope | object | The scope of the control. Combined with the "scope" field, this indicates the entities that the control applies to. |
| type | string | The type of the control. Every type a control can be created as is returned here, so a client that decodes this as a closed set has to know all of them. |
| universe_parameters | object | The universe parameters for the control. These parameters are used to determine the limits that the control enforces. |
| version_id | object | The unique identifier for the version of the control. This ID is used to reference the version of the control in other endpoints. The value should be a ULID, which means they are both ordered and uniq |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/moment/json-schema/moment-control-response-schema.json",
"title": "ControlResponse",
"description": "A flattened representation of a control.\n",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/moment-risk-api-openapi.yml#/components/schemas/ControlResponse",
"type": "object",
"properties": {
"applies_to_asset_classes": {
"description": "The list of asset classes that the control will apply to.",
"type": "array",
"items": {
"type": "string"
}
},
"archived_at": {
"description": "The timestamp that the control was deleted. Presence indicates that\nthe control is no longer active.\n",
"type": "string",
"format": "date-time"
},
"attestation_attributes": {
"description": "The attestation the control requires, present on attestation controls only.",
"allOf": [
{
"$ref": "#/$defs/AttestationAttributes"
}
]
},
"control_id": {
"description": "The unique identifier for the control. This ID is used to reference\nthe control in other endpoints.\n",
"allOf": [
{
"$ref": "#/$defs/ULID"
}
]
},
"created_at": {
"description": "The timestamp that the control was created. This timestamp is set\nwhen the control is created and cannot be modified.\n",
"type": "string",
"format": "date-time"
},
"definition": {
"description": "The definition of the control. This is a JSON object string that contains\nthe parameters that are used to evaluate the control.\n",
"type": "string"
},
"enabled": {
"description": "Indicates if the control is currently enabled.\n",
"type": "boolean"
},
"entity_ids": {
"description": "The list of entity IDs that the control applies to. This list can\ncontain any number of entity IDs and can be used to apply the control\nto multiple entities.\n",
"type": "array",
"items": {
"type": "string"
}
},
"excluded_entity_ids": {
"description": "The list of entity IDs that are excluded from the control. This list can\ncontain any number of entity IDs and can be used to exclude specific\nentities from the control.\n",
"type": "array",
"items": {
"type": "string"
}
},
"exposure_settings": {
"description": "The exposure settings for the control. These settings are used to\ndetermine the limits that the control enforces.\n",
"allOf": [
{
"$ref": "#/$defs/ExposureSettings"
}
]
},
"filter": {
"description": "The filter expression that defines the subset of securities that the\ncontrol applies to. If this field is not present, the control applies\nto all instruments.\n",
"allOf": [
{
"$ref": "#/$defs/ControlFilter"
}
]
},
"marketplace_restriction": {
"description": "What the marketplace does with the securities the control matches.\n`hide` removes them from the marketplace; when absent they stay\nvisible. `hide` is only valid on a universe control. Order entry is\ngoverned by `remediation` alone.\n",
"type": "string",
"enum": [
"hide"
]
},
"name": {
"description": "The name of the control. This name is used to identify the control\nin the UI and in other endpoints.\n",
"type": "string"
},
"order_attributes": {
"description": "The order attributes for the control. These attributes are used to\ndetermine the limits that the control enforces.\n",
"allOf": [
{
"$ref": "#/$defs/OrderAttributes"
}
]
},
"organization_id": {
"description": "The unique identifier for the organization that the control belongs\nto. Only the owner of the control can modify the control.\n",
"allOf": [
{
"$ref": "#/$defs/ULID"
}
]
},
"remediation": {
"description": "The remediation for the control, which indicates how an order should\nbe handled if it violates the control. `reject` blocks the order,\n`flag` holds it for review, and `none` takes no action on it.\nRemediation governs order entry only; `marketplace_restriction`\ngoverns marketplace visibility.\n",
"type": "string",
"enum": [
"reject",
"flag",
"none"
]
},
"saved_by": {
"description": "The unique identifier for the user that saved the control. This ID\nis used to identify the user that created the control.\n",
"type": "string"
},
"scope": {
"description": "The scope of the control. Combined with the \"scope\" field, this indicates\nthe entities that the control applies to.\n",
"allOf": [
{
"$ref": "#/$defs/Scope"
}
]
},
"type": {
"description": "The type of the control. Every type a control can be created as is\nreturned here, so a client that decodes this as a closed set has to\nknow all of them.\n",
"type": "string",
"enum": [
"universe",
"exposure",
"order",
"attestation"
]
},
"universe_parameters": {
"description": "The universe parameters for the control. These parameters are used to\ndetermine the limits that the control enforces.\n",
"allOf": [
{
"$ref": "#/$defs/UniverseParameters"
}
]
},
"version_id": {
"description": "The unique identifier for the version of the control. This ID is used\nto reference the version of the control in other endpoints. The value should\nbe a ULID, which means they are both ordered and unique.\n",
"allOf": [
{
"$ref": "#/$defs/ULID"
}
]
}
},
"required": [
"control_id",
"created_at",
"definition",
"entity_ids",
"excluded_entity_ids",
"name",
"organization_id",
"remediation",
"saved_by",
"scope",
"type",
"version_id",
"applies_to_asset_classes"
],
"$defs": {
"AccountCondition": {
"description": "Limits an attestation control to some of the accounts on an order.\nOnly the accounts that pass every field set here must complete the\nattestation; a field left unset is not tested. An account whose flag\nthe order never stated passes no test, so it is excluded.\n\nDo not set `is_discretionary` to true together with `is_solicited`. No\naccount can pass both, because a discretionary account carries no\nsolicitation.\n",
"type": "object",
"properties": {
"is_discretionary": {
"description": "True to include only the accounts the broker traded at its own discretion, false to include only those it did not.",
"type": "boolean"
},
"is_natural_person": {
"description": "True to include only the accounts held by a natural person, false to include only those held by a legal entity. Some trusts and estates cannot be classified either way, and both values exclude them.",
"type": "boolean"
},
"is_solicited": {
"description": "True to include only the accounts where the advisor solicited the order, false to include only those where the client asked for it. Leave unset when `is_discretionary` is true.",
"type": "boolean"
}
}
},
"AttestationAttributes": {
"type": "object",
"properties": {
"account_condition": {
"description": "Which accounts on the order must complete the attestation. If this\nfield is not present, all of them must.\n",
"allOf": [
{
"$ref": "#/$defs/AccountCondition"
}
]
},
"applicable_to_buy_orders": {
"description": "Whether the control applies to buy orders. Defaults to true, matching universe constraints. Indications of interest and block works ride on this flag.",
"type": "boolean",
"default": true,
"x-go-type-skip-optional-pointer": true,
"x-omitempty": false
},
"applicable_to_sell_orders": {
"description": "Whether the control applies to sell orders. Defaults to false, matching universe constraints, so an attestation applies to buys unless it says otherwise. Indications of interest and block works ride on this flag.",
"type": "boolean",
"default": false,
"x-go-type-skip-optional-pointer": true,
"x-omitempty": false
},
"attestation": {
"description": "The attestation this control requires, named by id. Exactly one, so an order requiring several comes from several controls.",
"type": "object",
"properties": {
"id": {
"description": "Identifier for the attestation, stable across its versions.",
"allOf": [
{
"$ref": "#/$defs/ULID"
}
]
}
},
"required": [
"id"
]
},
"parameters": {
"allOf": [
{
"$ref": "#/$defs/AttestationParameters"
}
]
}
},
"required": [
"attestation"
]
},
"AttestationParameters": {
"description": "Conditions that trigger an attestation after its instrument filter and order-side scope apply.",
"type": "object",
"properties": {
"below_de_minimis": {
"description": "Require the attestation when a buy order is priced at or below the instrument's de minimis threshold. Market orders also trigger because they have no limit price.",
"type": "boolean"
}
}
},
"ControlFilter": {
"properties": {
"filter": {
"description": "The filter expression that defines the subset of securities that the\ncontrol applies to. If this field is not present, the control applies\nto all instruments.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataFilter"
}
]
}
}
},
"ExposureSettings": {
"properties": {
"closed_volume_maximum": {
"description": "The maximum volume filled in all orders, in currency, that the\norganization can have at any given time. Orders that would violate this\nlimit will be rejected.\n",
"type": "number"
},
"open_volume_maximum": {
"description": "The maximum daily volume, in currency, that can be open (orders\nissued but not yet filled) at any given time. Orders that would\nviolate this limit will be rejected.\n",
"type": "number"
},
"total_volume_maximum": {
"description": "The maximum volume of open and closed orders, in currency, that the\norganization can have at any given time. Order that would violate this\nlimit will be rejected.\n",
"type": "number"
}
}
},
"OrderAttributes": {
"properties": {
"absolute_price_pop_maximum": {
"description": "The maximum price (percentage of par) that an order can be executed\nat. This value is an absolute price and is used to determine the\nmaximum price that an order can be executed at.\n",
"type": "number"
},
"absolute_price_pop_minimum": {
"description": "The minimum price (percentage of par) that an order can be executed\nat. This value is an absolute price and is used to determine the\nminimum price that an order can be executed at.\n",
"type": "number"
},
"account_identifier_patterns": {
"description": "A list of pattern expressions that are used to match the account\nidentifiers that the control applies to. If an account identifier\nmatches any of the regular expressions, the control applies to that\naccount.\n",
"type": "array",
"items": {
"type": "string"
}
},
"denomination_minimum": {
"description": "The minimum denomination that an order can be created with. The\nsize notional of the order must be divisble by the denomination\nwith no remainder.\n",
"type": "number"
},
"market_value_maximum": {
"description": "The maximum market value that an order can be executed.\n",
"type": "number"
},
"market_value_minimum": {
"description": "The minimum market value that an order can be executed.\n",
"type": "number"
},
"prev_close_price_band_percentage_lower": {
"description": "The lower bound of the previous close price band, expressed as percentage\ndeviation from the security's previous close price. A value of 2.0 would\nindicate that the order price must be greater than 98% of the previous\nclose price (2% below).\n",
"type": "number"
},
"prev_close_price_band_percentage_upper": {
"description": "The upper bound of the previous close price band, expressed as percentage\ndeviation from the security's previous close price. A value of 2.0 would\nindicate that the order price must be less than 102% of the previous\nclose price (2% above).\n",
"type": "number"
},
"price_band_percentage_lower": {
"description": "The lower bound of the PMP band for the control. This value is a\npercentage and is used to determine the minimum price that an order\ncan be executed\n",
"type": "number"
},
"price_band_percentage_upper": {
"description": "The upper bound of the PMP band for the control. This value is a\npercentage and is used to determine the maximum price that an order\ncan be executed at.\n",
"type": "number"
},
"settlement_calendar_days_out_maximum": {
"description": "The maximum number of calendar days from today that an order's\nsettlement date may be. Orders settling more than this many\ncalendar days out will be flagged by the control.\n",
"type": "integer",
"format": "int32",
"maximum": 1000,
"minimum": 0
},
"size_notional_maximum": {
"description": "The maximum notional value that an order can be executed.\n",
"type": "number"
},
"size_notional_minimum": {
"description": "The minimum notional value that an order can be executed.\n",
"type": "number"
},
"yield_to_maturity_percentage_maximum": {
"description": "The maximum yield to maturity that an order can be executed.\n",
"type": "number"
},
"yield_to_maturity_percentage_minimum": {
"description": "The minimum yield to maturity that an order can be executed.\n",
"type": "number"
},
"yield_to_worst_percentage_maximum": {
"description": "The maximum yield to worst that an order can be executed.\n",
"type": "number"
},
"yield_to_worst_percentage_minimum": {
"description": "The minimum yield to worst that an order can be executed.\n",
"type": "number"
}
}
},
"RefDataAny": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "number"
}
]
},
"RefDataAnyOrFieldRef": {
"description": "A value that can be a static literal (string, boolean, number) or a\nfield reference for field-to-field comparisons.\n",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"$ref": "#/$defs/RefDataFieldReference"
}
]
},
"RefDataArray": {
"type": "array",
"items": {
"$ref": "#/$defs/RefDataAny"
}
},
"RefDataComparable": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"$ref": "#/$defs/RefDataFieldReference"
}
]
},
"RefDataExpression": {
"description": "The filter will be applied to the refdata field indicated, using one\nand only one of the specified attributes. Each attribute specifies a\ncondition and the values for comparison.\n\nValues can be static literals (strings, numbers, booleans) or field\nreferences. A field reference uses the syntax `{\"$field\": \"field_name\"}`\nto compare the source field against another field on the same instrument,\nrather than a static value. Field references are supported on all scalar\ncomparison operators (equal_to, greater_than, less_than, etc.) but not\non array operators (in, not_in).\n",
"type": "object",
"properties": {
"ends_with": {
"description": "Matches if the field ends with any of the specified values.\n",
"type": "string"
},
"equal_to": {
"description": "Matches if the field is equal to any of the specified values.\nAccepts static values or a field reference.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataAnyOrFieldRef"
}
]
},
"greater_than": {
"description": "Matches if the field is greater than any of the specified values.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataComparable"
}
]
},
"greater_than_or_equal_to": {
"description": "Matches if the field is greater than or equal to any of the specified values.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataComparable"
}
]
},
"in": {
"description": "Matches if the field is in the list of specified values.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataArray"
}
]
},
"is_null": {
"description": "Matches if the field is null or not NULL.\n",
"type": "boolean"
},
"less_than": {
"description": "Matches if the field is less than any of the specified values.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataComparable"
}
]
},
"less_than_or_equal_to": {
"description": "Matches if the field is less than or equal to any of the specified values.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataComparable"
}
]
},
"not_equal_to": {
"description": "Matches if the field is not equal to any of the specified values.\nAccepts static values or a field reference.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataAnyOrFieldRef"
}
]
},
"not_in": {
"description": "Matches if the field is not in the list of specified values.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataArray"
}
]
},
"starts_with": {
"description": "Matches if the field starts with any of the specified values.\n",
"type": "string"
}
},
"oneOf": [
{
"required": [
"ends_with"
]
},
{
"required": [
"equal_to"
]
},
{
"required": [
"in"
]
},
{
"required": [
"is_null"
]
},
{
"required": [
"greater_than"
]
},
{
"required": [
"greater_than_or_equal_to"
]
},
{
"required": [
"less_than"
]
},
{
"required": [
"less_than_or_equal_to"
]
},
{
"required": [
"not_equal_to"
]
},
{
"required": [
"not_in"
]
},
{
"required": [
"starts_with"
]
}
]
},
"RefDataFieldReference": {
"description": "A reference to another field on the same instrument, used for\nfield-to-field comparisons. Instead of comparing a field against a\nstatic value, this allows comparing one field against another.\n\nFor example, to ensure that `days_to_next_sink` is greater than\n`call_notification_min`:\n\n```json\n{\n \"days_to_next_sink\": {\n \"greater_than\": { \"$field\": \"call_notification_min\" }\n }\n}\n```\n",
"type": "object",
"properties": {
"$field": {
"description": "The name of the reference data field to compare against.\n",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"$field"
]
},
"RefDataFilter": {
"description": "A `RefDataFilter` is an expression that is used to identify a set of\ninstruments based on their ref data characteristics.\n\nA simple expression is a reference data field name, an operator and one\nor more operands. E.g. the expression\n\n```json\n{\n \"type\": {\n \"in\": [ \"treasury\" ]\n }\n}\n```\n\nwould select all instruments that have a `type` attribute with the value of\n`treasury`.\n\nA `RefDataFilter` can also be a compound expression. There are 2 flavors,\nan `and` expression and an `or` expression. Both are arrays of\n`RefDataFilter`s. E.g.\n\n```json\n{\n \"and\": [\n {\n \"type\": {\n \"in\": [ \"treasury\" ]\n }\n },\n {\n \"currency\": {\n \"equal_to\": \"USD\"\n }\n }\n ]\n}\n```\n",
"type": "object",
"properties": {
"and": {
"description": "The `and` filter is used to combine multiple filters together. The\nfilters are applied in order, and the result is the intersection of\nthe filters.\n",
"type": "array",
"items": {
"$ref": "#/$defs/RefDataFilter"
}
},
"or": {
"description": "The `or` filter is used to combine multiple filters together. The\nfilters are applied in order, and the result is the union of the\nfilters.\n",
"type": "array",
"items": {
"$ref": "#/$defs/RefDataFilter"
}
}
},
"additionalProperties": {
"$ref": "#/$defs/RefDataExpression"
}
},
"Scope": {
"description": "Indicates the type of entity a control applies to.\n\n- `account` indicates the control applies to the indicated accounts\n (entities).\n- `advisor` indicates the control applies to the indicated advisor codes.\n- `global` indicates the control applies to the indicated organization\n (entity) and all child organizations.\n- `organization` indicates the control applies to the indicated\n organizations (entities).\n- `risk-group` indicates the control applies to the indicated\n risk group(s) (entities).\n",
"type": "string",
"enum": [
"account",
"advisor",
"global",
"organization",
"risk-group"
]
},
"ULID": {
"description": "A Universally-unique Lexicographically-sortable IDentifier is a 128-bit string that's both unique\nand sortable by creation time. ULIDs in the context of this API can also be prefixed with\na short string indicating the type of entity the ULID identifies, e.g. `acct_` would indicate the\nULID is the identifier for an account entity.\n",
"type": "string",
"pattern": "^([a-z]+_)?[0-9A-Z]{26}$"
},
"UniverseParameters": {
"type": "object",
"properties": {
"applicable_to_buy_orders": {
"description": "Indicates if the control applies to buy orders. If this field is set to\n`true`, the control will be evaluated for buy orders. If this field is\nset to `false`, the control will not be evaluated for buy orders.\n",
"type": "boolean",
"default": true
},
"applicable_to_holdings": {
"description": "Indicates if the control applies to holdings. If this field is set to\n`true`, the control will be evaluated for holdings. If this field is\nset to `false`, the control will not be evaluated for holdings.\n",
"type": "boolean",
"default": false
},
"applicable_to_sell_orders": {
"description": "Indicates if the control applies to sell orders. If this field is set to\n`true`, the control will be evaluated for sell orders. If this field is\nset to `false`, the control will not be evaluated for sell orders.\n",
"type": "boolean",
"default": false
},
"parameters": {
"description": "The filter expression that defines the constraint. Used to describe the\nconstrained refdata attributes of the instrument(s) indicated by the (optional)\n`filter` expression.\n",
"allOf": [
{
"$ref": "#/$defs/RefDataFilter"
}
]
}
},
"required": [
"parameters"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/moment-control-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.