BRAINIAC API Integration Intelligence
Paid API Integration Intelligence API via x402. Unpaid tool calls return 402.
使うべきか
品質と安全性
検出事項(10)
- LOWintegration_json-schema-generate 内
- LOWintegration_json-schema-generate 内
- LOWintegration_json-schema-validate 内
- LOWintegration_json-schema-validate 内
- LOWintegration_response-normalize 内
- LOWintegration_payload-transform 内
- LOWintegration_field-map-generate 内
- LOWintegration_contract-compare 内
- LOWintegration_version-compatibility-check 内
- LOWintegration_version-compatibility-check 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"integration": {
"url": "https://www.brainiac.software/mcp/integration"
}
}
}リモートエンドポイント
https://www.brainiac.software/mcp/integrationstreamable-httpできること
ツール一覧
ツール(8)
🟢integration_json-schema-generate(payload, example, examples, schema, source, ...)
Build a schema from supplied examples. Docs: https://www.brainiac.software/api/integration/json-schema-generate Keywords: before you connect or ship an integration, payload, example, examples, schema, source, target, before, after, file, operations, side, fromVersion, toVersion, checkedAt.
入力スキーマ
{
"type": "object",
"properties": {
"payload": {
"description": "payload, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"example": {
"description": "example, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required.",
"$ref": "#/definitions/__schema0"
}
},
"schema": {
"description": "schema, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"source": {
"description": "source, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"target": {
"description": "target, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"before": {
"description": "before, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"after": {
"description": "after, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"json": {
"description": "json, string, length 0 to 200000. Optional.",
"type": "string",
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"application/json",
"text/plain"
],
"description": "mediaType, string, one of application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "rename"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "copy"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "pick"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "omit"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "cast"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"integer",
"boolean"
]
}
},
"required": [
"op",
"path",
"type"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "default"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"$ref": "#/definitions/__schema0"
}
},
"required": [
"op",
"path",
"value"
]
}
],
"description": "item, value. Required."
}
},
"side": {
"description": "side, string, one of request, response. Optional.",
"type": "string",
"enum": [
"request",
"response"
]
},
"fromVersion": {
"description": "fromVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"toVersion": {
"description": "toVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"__schema0": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"maxItems": 200,
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 120
},
"additionalProperties": {
"$ref": "#/definitions/__schema0"
}
}
]
}
}
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"codeExecuted": {
"type": "boolean",
"description": "codeExecuted. Boolean."
},
"externalCall": {
"type": "boolean",
"description": "externalCall. Boolean."
},
"valuesInvented": {
"type": "boolean",
"description": "valuesInvented. Boolean."
},
"schemaCompliance": {
"type": "boolean",
"description": "schemaCompliance. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"schemaGenerated": {
"type": "boolean",
"description": "schemaGenerated. Boolean."
},
"schema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"properties": {
"type": "object",
"properties": {
"id": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
}
},
"additionalProperties": {},
"description": "id. Object."
},
"email": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
}
},
"additionalProperties": {},
"description": "email. Object."
},
"total": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
}
},
"additionalProperties": {},
"description": "total. Object."
},
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"properties": {
"type": "object",
"properties": {
"sku": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
}
},
"additionalProperties": {},
"description": "sku. Object."
},
"qty": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
}
},
"additionalProperties": {},
"description": "qty. Object."
}
},
"additionalProperties": {},
"description": "properties. Object."
},
"required": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "required. Array."
},
"additionalProperties": {
"type": "boolean",
"description": "additionalProperties. Boolean."
}
},
"additionalProperties": {},
"description": "items. Object."
}
},
"additionalProperties": {},
"description": "items. Object."
}
},
"additionalProperties": {},
"description": "properties. Object."
},
"required": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "required. Array."
},
"additionalProperties": {
"type": "boolean",
"description": "additionalProperties. Boolean."
}
},
"additionalProperties": {},
"description": "schema. Object."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢integration_json-schema-validate(payload, example, examples, schema, source, ...)
Check a payload against a supplied schema using the documented subset. Docs: https://www.brainiac.software/api/integration/json-schema-validate Keywords: before you connect or ship an integration, payload, example, examples, schema, source, target, before, after, file, operations, side, fromVersion, toVersion, checkedAt.
入力スキーマ
{
"type": "object",
"properties": {
"payload": {
"description": "payload, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"example": {
"description": "example, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required.",
"$ref": "#/definitions/__schema0"
}
},
"schema": {
"description": "schema, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"source": {
"description": "source, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"target": {
"description": "target, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"before": {
"description": "before, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"after": {
"description": "after, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"json": {
"description": "json, string, length 0 to 200000. Optional.",
"type": "string",
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"application/json",
"text/plain"
],
"description": "mediaType, string, one of application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "rename"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "copy"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "pick"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "omit"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "cast"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"integer",
"boolean"
]
}
},
"required": [
"op",
"path",
"type"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "default"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"$ref": "#/definitions/__schema0"
}
},
"required": [
"op",
"path",
"value"
]
}
],
"description": "item, value. Required."
}
},
"side": {
"description": "side, string, one of request, response. Optional.",
"type": "string",
"enum": [
"request",
"response"
]
},
"fromVersion": {
"description": "fromVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"toVersion": {
"description": "toVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"__schema0": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"maxItems": 200,
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 120
},
"additionalProperties": {
"$ref": "#/definitions/__schema0"
}
}
]
}
}
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"codeExecuted": {
"type": "boolean",
"description": "codeExecuted. Boolean."
},
"externalCall": {
"type": "boolean",
"description": "externalCall. Boolean."
},
"valuesInvented": {
"type": "boolean",
"description": "valuesInvented. Boolean."
},
"schemaCompliance": {
"type": "boolean",
"description": "schemaCompliance. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"code": {
"type": "string",
"description": "code. String."
},
"path": {
"type": "string",
"description": "path. String."
},
"keyword": {
"type": "string",
"description": "keyword. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢integration_response-normalize(payload, example, examples, schema, source, ...)
Trim string edges and sort object keys. Docs: https://www.brainiac.software/api/integration/response-normalize Keywords: before you connect or ship an integration, payload, example, examples, schema, source, target, before, after, file, operations, side, fromVersion, toVersion, checkedAt.
入力スキーマ
{
"type": "object",
"properties": {
"payload": {
"description": "payload, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"example": {
"description": "example, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required.",
"$ref": "#/definitions/__schema0"
}
},
"schema": {
"description": "schema, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"source": {
"description": "source, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"target": {
"description": "target, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"before": {
"description": "before, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"after": {
"description": "after, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"json": {
"description": "json, string, length 0 to 200000. Optional.",
"type": "string",
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"application/json",
"text/plain"
],
"description": "mediaType, string, one of application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "rename"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "copy"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "pick"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "omit"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "cast"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"integer",
"boolean"
]
}
},
"required": [
"op",
"path",
"type"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "default"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"$ref": "#/definitions/__schema0"
}
},
"required": [
"op",
"path",
"value"
]
}
],
"description": "item, value. Required."
}
},
"side": {
"description": "side, string, one of request, response. Optional.",
"type": "string",
"enum": [
"request",
"response"
]
},
"fromVersion": {
"description": "fromVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"toVersion": {
"description": "toVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"__schema0": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"maxItems": 200,
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 120
},
"additionalProperties": {
"$ref": "#/definitions/__schema0"
}
}
]
}
}
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"codeExecuted": {
"type": "boolean",
"description": "codeExecuted. Boolean."
},
"externalCall": {
"type": "boolean",
"description": "externalCall. Boolean."
},
"valuesInvented": {
"type": "boolean",
"description": "valuesInvented. Boolean."
},
"schemaCompliance": {
"type": "boolean",
"description": "schemaCompliance. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"result": {
"type": "object",
"properties": {
"a": {
"type": "number",
"description": "a. Number."
},
"b": {
"type": "string",
"description": "b. String."
}
},
"additionalProperties": {},
"description": "result. Object."
},
"changedCount": {
"type": "number",
"description": "changedCount. Number."
},
"changes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "path. String."
},
"rule": {
"type": "string",
"description": "rule. String."
},
"original": {
"type": "string",
"description": "original. String."
},
"normalized": {
"type": "string",
"description": "normalized. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "changes. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢integration_payload-transform(payload, example, examples, schema, source, ...)
Apply rename, copy, pick, omit, cast, and default in order. Docs: https://www.brainiac.software/api/integration/payload-transform Keywords: before you connect or ship an integration, payload, example, examples, schema, source, target, before, after, file, operations, side, fromVersion, toVersion, checkedAt.
入力スキーマ
{
"type": "object",
"properties": {
"payload": {
"description": "payload, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"example": {
"description": "example, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required.",
"$ref": "#/definitions/__schema0"
}
},
"schema": {
"description": "schema, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"source": {
"description": "source, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"target": {
"description": "target, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"before": {
"description": "before, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"after": {
"description": "after, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"json": {
"description": "json, string, length 0 to 200000. Optional.",
"type": "string",
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"application/json",
"text/plain"
],
"description": "mediaType, string, one of application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "rename"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "copy"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "pick"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "omit"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "cast"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"integer",
"boolean"
]
}
},
"required": [
"op",
"path",
"type"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "default"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"$ref": "#/definitions/__schema0"
}
},
"required": [
"op",
"path",
"value"
]
}
],
"description": "item, value. Required."
}
},
"side": {
"description": "side, string, one of request, response. Optional.",
"type": "string",
"enum": [
"request",
"response"
]
},
"fromVersion": {
"description": "fromVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"toVersion": {
"description": "toVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"__schema0": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"maxItems": 200,
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 120
},
"additionalProperties": {
"$ref": "#/definitions/__schema0"
}
}
]
}
}
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"codeExecuted": {
"type": "boolean",
"description": "codeExecuted. Boolean."
},
"externalCall": {
"type": "boolean",
"description": "externalCall. Boolean."
},
"valuesInvented": {
"type": "boolean",
"description": "valuesInvented. Boolean."
},
"schemaCompliance": {
"type": "boolean",
"description": "schemaCompliance. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"result": {
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "email. String."
},
"id": {
"type": "string",
"description": "id. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "result. Object."
},
"changedCount": {
"type": "number",
"description": "changedCount. Number."
},
"changes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "path. String."
},
"rule": {
"type": "string",
"description": "rule. String."
},
"original": {
"type": "string",
"description": "original. String."
},
"normalized": {
"type": "string",
"description": "normalized. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "changes. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢integration_field-map-generate(payload, example, examples, schema, source, ...)
Map a path that exists on both sides, or a field name that matches one leaf on each side after splitting camel case and snake case. Docs: https://www.brainiac.software/api/integration/field-map-generate Keywords: before you connect or ship an integration, payload, example, examples, schema, source, target, before, after, file, operations, side, fromVersion, toVersion, checkedAt.
入力スキーマ
{
"type": "object",
"properties": {
"payload": {
"description": "payload, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"example": {
"description": "example, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required.",
"$ref": "#/definitions/__schema0"
}
},
"schema": {
"description": "schema, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"source": {
"description": "source, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"target": {
"description": "target, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"before": {
"description": "before, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"after": {
"description": "after, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"json": {
"description": "json, string, length 0 to 200000. Optional.",
"type": "string",
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"application/json",
"text/plain"
],
"description": "mediaType, string, one of application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "rename"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "copy"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "pick"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "omit"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "cast"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"integer",
"boolean"
]
}
},
"required": [
"op",
"path",
"type"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "default"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"$ref": "#/definitions/__schema0"
}
},
"required": [
"op",
"path",
"value"
]
}
],
"description": "item, value. Required."
}
},
"side": {
"description": "side, string, one of request, response. Optional.",
"type": "string",
"enum": [
"request",
"response"
]
},
"fromVersion": {
"description": "fromVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"toVersion": {
"description": "toVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"__schema0": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"maxItems": 200,
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 120
},
"additionalProperties": {
"$ref": "#/definitions/__schema0"
}
}
]
}
}
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"codeExecuted": {
"type": "boolean",
"description": "codeExecuted. Boolean."
},
"externalCall": {
"type": "boolean",
"description": "externalCall. Boolean."
},
"valuesInvented": {
"type": "boolean",
"description": "valuesInvented. Boolean."
},
"schemaCompliance": {
"type": "boolean",
"description": "schemaCompliance. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"valuesCopied": {
"type": "boolean",
"description": "valuesCopied. Boolean."
},
"mappings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sourcePath": {
"type": "string",
"description": "sourcePath. String."
},
"targetPath": {
"type": "string",
"description": "targetPath. String."
},
"match": {
"type": "string",
"description": "match. String."
},
"sourceType": {
"type": "string",
"description": "sourceType. String."
},
"targetType": {
"type": "string",
"description": "targetType. String."
},
"compatible": {
"type": "boolean",
"description": "compatible. Boolean."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "mappings. Array."
},
"unmappedSource": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "unmappedSource. Array."
},
"unmappedTarget": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "path. String."
},
"type": {
"type": "string",
"description": "type. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "unmappedTarget. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢integration_contract-compare(payload, example, examples, schema, source, ...)
List schema changes. Docs: https://www.brainiac.software/api/integration/contract-compare Keywords: before you connect or ship an integration, payload, example, examples, schema, source, target, before, after, file, operations, side, fromVersion, toVersion, checkedAt.
入力スキーマ
{
"type": "object",
"properties": {
"payload": {
"description": "payload, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"example": {
"description": "example, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required.",
"$ref": "#/definitions/__schema0"
}
},
"schema": {
"description": "schema, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"source": {
"description": "source, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"target": {
"description": "target, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"before": {
"description": "before, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"after": {
"description": "after, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"json": {
"description": "json, string, length 0 to 200000. Optional.",
"type": "string",
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"application/json",
"text/plain"
],
"description": "mediaType, string, one of application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "rename"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "copy"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "pick"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "omit"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "cast"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"integer",
"boolean"
]
}
},
"required": [
"op",
"path",
"type"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "default"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"$ref": "#/definitions/__schema0"
}
},
"required": [
"op",
"path",
"value"
]
}
],
"description": "item, value. Required."
}
},
"side": {
"description": "side, string, one of request, response. Optional.",
"type": "string",
"enum": [
"request",
"response"
]
},
"fromVersion": {
"description": "fromVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"toVersion": {
"description": "toVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"__schema0": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"maxItems": 200,
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 120
},
"additionalProperties": {
"$ref": "#/definitions/__schema0"
}
}
]
}
}
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"codeExecuted": {
"type": "boolean",
"description": "codeExecuted. Boolean."
},
"externalCall": {
"type": "boolean",
"description": "externalCall. Boolean."
},
"valuesInvented": {
"type": "boolean",
"description": "valuesInvented. Boolean."
},
"schemaCompliance": {
"type": "boolean",
"description": "schemaCompliance. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"side": {
"type": "string",
"description": "side. String."
},
"changes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "path. String."
},
"code": {
"type": "string",
"description": "code. String."
},
"effect": {
"type": "string",
"description": "effect. String."
},
"before": {
"type": "string",
"description": "before. String."
},
"after": {
"type": "string",
"description": "after. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "changes. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢integration_version-compatibility-check(payload, example, examples, schema, source, ...)
Order dotted numeric versions and compare the supplied schemas. Docs: https://www.brainiac.software/api/integration/version-compatibility-check Keywords: before you connect or ship an integration, payload, example, examples, schema, source, target, before, after, file, operations, side, fromVersion, toVersion, checkedAt.
入力スキーマ
{
"type": "object",
"properties": {
"payload": {
"description": "payload, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"example": {
"description": "example, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required.",
"$ref": "#/definitions/__schema0"
}
},
"schema": {
"description": "schema, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"source": {
"description": "source, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"target": {
"description": "target, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"before": {
"description": "before, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"after": {
"description": "after, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"json": {
"description": "json, string, length 0 to 200000. Optional.",
"type": "string",
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"application/json",
"text/plain"
],
"description": "mediaType, string, one of application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "rename"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "copy"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "pick"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "omit"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "cast"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"integer",
"boolean"
]
}
},
"required": [
"op",
"path",
"type"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "default"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"$ref": "#/definitions/__schema0"
}
},
"required": [
"op",
"path",
"value"
]
}
],
"description": "item, value. Required."
}
},
"side": {
"description": "side, string, one of request, response. Optional.",
"type": "string",
"enum": [
"request",
"response"
]
},
"fromVersion": {
"description": "fromVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"toVersion": {
"description": "toVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"__schema0": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"maxItems": 200,
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 120
},
"additionalProperties": {
"$ref": "#/definitions/__schema0"
}
}
]
}
}
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"codeExecuted": {
"type": "boolean",
"description": "codeExecuted. Boolean."
},
"externalCall": {
"type": "boolean",
"description": "externalCall. Boolean."
},
"valuesInvented": {
"type": "boolean",
"description": "valuesInvented. Boolean."
},
"schemaCompliance": {
"type": "boolean",
"description": "schemaCompliance. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"fromVersion": {
"type": "string",
"description": "fromVersion. String."
},
"toVersion": {
"type": "string",
"description": "toVersion. String."
},
"order": {
"type": "string",
"description": "order. String."
},
"compatible": {
"type": "boolean",
"description": "compatible. Boolean."
},
"payloadStatus": {
"type": "string",
"description": "payloadStatus. String."
},
"changes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "path. String."
},
"code": {
"type": "string",
"description": "code. String."
},
"effect": {
"type": "string",
"description": "effect. String."
},
"before": {
"type": "string",
"description": "before. String."
},
"after": {
"type": "string",
"description": "after. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "changes. Array."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"code": {
"type": "string",
"description": "code. String."
},
"path": {
"type": "string",
"description": "path. String."
},
"keyword": {
"type": "string",
"description": "keyword. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢integration_diagnose(payload, example, examples, schema, source, ...)
Generate a schema from examples, validate the payload, map fields that exist, compare contracts, and apply documented transforms. Docs: https://www.brainiac.software/api/integration/diagnose Keywords: before you connect or ship an integration, payload, example, examples, schema, source, target, before, after, file, operations, side, fromVersion, toVersion, checkedAt.
入力スキーマ
{
"type": "object",
"properties": {
"payload": {
"description": "payload, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"example": {
"description": "example, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required.",
"$ref": "#/definitions/__schema0"
}
},
"schema": {
"description": "schema, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"source": {
"description": "source, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"target": {
"description": "target, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"before": {
"description": "before, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"after": {
"description": "after, value. Optional.",
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"json": {
"description": "json, string, length 0 to 200000. Optional.",
"type": "string",
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"application/json",
"text/plain"
],
"description": "mediaType, string, one of application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "rename"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "copy"
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"op",
"from",
"to"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "pick"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "omit"
},
"paths": {
"minItems": 1,
"maxItems": 40,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"op",
"paths"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "cast"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"integer",
"boolean"
]
}
},
"required": [
"op",
"path",
"type"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "default"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"$ref": "#/definitions/__schema0"
}
},
"required": [
"op",
"path",
"value"
]
}
],
"description": "item, value. Required."
}
},
"side": {
"description": "side, string, one of request, response. Optional.",
"type": "string",
"enum": [
"request",
"response"
]
},
"fromVersion": {
"description": "fromVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"toVersion": {
"description": "toVersion, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"__schema0": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"maxItems": 200,
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 120
},
"additionalProperties": {
"$ref": "#/definitions/__schema0"
}
}
]
}
}
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"codeExecuted": {
"type": "boolean",
"description": "codeExecuted. Boolean."
},
"externalCall": {
"type": "boolean",
"description": "externalCall. Boolean."
},
"valuesInvented": {
"type": "boolean",
"description": "valuesInvented. Boolean."
},
"schemaCompliance": {
"type": "boolean",
"description": "schemaCompliance. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"schemaGenerated": {
"type": "boolean",
"description": "schemaGenerated. Boolean."
},
"schema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"properties": {
"type": "object",
"properties": {
"orderId": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
}
},
"additionalProperties": {},
"description": "orderId. Object."
},
"total": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
}
},
"additionalProperties": {},
"description": "total. Object."
}
},
"additionalProperties": {},
"description": "properties. Object."
},
"required": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "required. Array."
},
"additionalProperties": {
"type": "boolean",
"description": "additionalProperties. Boolean."
}
},
"additionalProperties": {},
"description": "schema. Object."
},
"validationStatus": {
"type": "string",
"description": "validationStatus. String."
},
"order": {
"type": "string",
"description": "order. String."
},
"compatible": {
"type": "boolean",
"description": "compatible. Boolean."
},
"valuesCopied": {
"type": "boolean",
"description": "valuesCopied. Boolean."
},
"transformed": {
"type": "boolean",
"description": "transformed. Boolean."
},
"mappings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sourcePath": {
"type": "string",
"description": "sourcePath. String."
},
"targetPath": {
"type": "string",
"description": "targetPath. String."
},
"match": {
"type": "string",
"description": "match. String."
},
"sourceType": {
"type": "string",
"description": "sourceType. String."
},
"targetType": {
"type": "string",
"description": "targetType. String."
},
"compatible": {
"type": "boolean",
"description": "compatible. Boolean."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "mappings. Array."
},
"contractChanges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "path. String."
},
"code": {
"type": "string",
"description": "code. String."
},
"effect": {
"type": "string",
"description": "effect. String."
},
"before": {
"type": "string",
"description": "before. String."
},
"after": {
"type": "string",
"description": "after. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "contractChanges. Array."
},
"result": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
}
},
"additionalProperties": {},
"description": "result. Object."
},
"changes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "path. String."
},
"rule": {
"type": "string",
"description": "rule. String."
},
"original": {
"type": "string",
"description": "original. String."
},
"normalized": {
"type": "string",
"description": "normalized. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "changes. Array."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"code": {
"type": "string",
"description": "code. String."
},
"path": {
"type": "string",
"description": "path. String."
},
"keyword": {
"type": "string",
"description": "keyword. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}コミュニティ
エビデンス