{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blendduck-com/json-schema/blendduck-com-provider-response-schema.json",
  "title": "ProviderResponse",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blendduck-com-openapi.json#/components/schemas/ProviderResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "displayName": {
          "type": "string",
          "minLength": 1
        },
        "connectionMethod": {
          "type": "string",
          "enum": [
            "oauth",
            "app-password"
          ]
        },
        "configured": {
          "type": "boolean"
        },
        "oauthless": {
          "type": "boolean"
        },
        "publishable": {
          "type": "boolean"
        },
        "editor": {
          "type": "string",
          "enum": [
            "none",
            "normal",
            "markdown",
            "html"
          ]
        },
        "maxTextLength": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "requiredScopes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "publishingContract": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "settingsType": {
                  "type": "string",
                  "minLength": 1
                },
                "settingsSchema": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "postSchema": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "key": {
                        "type": "string",
                        "minLength": 1
                      },
                      "label": {
                        "type": "string",
                        "minLength": 1
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "text",
                          "select",
                          "textarea",
                          "checkbox",
                          "switch",
                          "tags",
                          "hidden"
                        ]
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "placeholder": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "options": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "value",
                            "label"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "defaultValue": {},
                      "maxLength": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "key",
                      "label",
                      "type",
                      "required"
                    ],
                    "additionalProperties": false
                  }
                },
                "media": {
                  "type": "object",
                  "properties": {
                    "maxImages": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "maxVideos": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "maxTotal": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "requiresMedia": {
                      "type": "boolean"
                    },
                    "allowMixedMedia": {
                      "type": "boolean"
                    },
                    "allowedKinds": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "image",
                          "video"
                        ]
                      }
                    },
                    "accept": {
                      "type": "string"
                    },
                    "maxFileSizeBytes": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "maxVideoDurationSeconds": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "aspectRatios": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "width": {
                            "type": "number",
                            "exclusiveMinimum": 0
                          },
                          "height": {
                            "type": "number",
                            "exclusiveMinimum": 0
                          },
                          "label": {
                            "type": "string",
                            "minLength": 1
                          }
                        },
                        "required": [
                          "width",
                          "height",
                          "label"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "maxImages",
                    "maxVideos",
                    "maxTotal",
                    "requiresMedia",
                    "allowMixedMedia",
                    "allowedKinds",
                    "accept"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "settingsType",
                "settingsSchema",
                "postSchema",
                "fields",
                "media"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "capabilities": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "connect.oauth",
            "connect.app-password",
            "token.refresh",
            "publishing.create",
            "publishing.status",
            "publishing.configuration",
            "analytics.sync",
            "inbox.sync",
            "inbox.reply",
            "inbox.send-message",
            "inbox.react",
            "inbox.hide",
            "inbox.delete",
            "inbox.attachments"
          ],
          "properties": {
            "connect.oauth": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "connect.app-password": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "token.refresh": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "publishing.create": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "publishing.status": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "publishing.configuration": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "analytics.sync": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "inbox.sync": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "inbox.reply": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "inbox.send-message": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "inbox.react": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "inbox.hide": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "inbox.delete": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            },
            "inbox.attachments": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "connect.oauth",
                    "connect.app-password",
                    "token.refresh",
                    "publishing.create",
                    "publishing.status",
                    "publishing.configuration",
                    "analytics.sync",
                    "inbox.sync",
                    "inbox.reply",
                    "inbox.send-message",
                    "inbox.react",
                    "inbox.hide",
                    "inbox.delete",
                    "inbox.attachments"
                  ]
                },
                "supported": {
                  "type": "boolean"
                },
                "configured": {
                  "type": "boolean"
                },
                "requiredScopes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "access": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "public",
                        "review",
                        "partner"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "capability",
                "supported",
                "configured",
                "requiredScopes",
                "access",
                "reason"
              ],
              "additionalProperties": false
            }
          }
        }
      },
      "required": [
        "id",
        "displayName",
        "connectionMethod",
        "configured",
        "oauthless",
        "publishable",
        "editor",
        "maxTextLength",
        "requiredScopes",
        "publishingContract",
        "capabilities"
      ],
      "additionalProperties": false
    },
    "meta": {
      "type": "object",
      "properties": {
        "requestId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        }
      },
      "required": [
        "requestId"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "additionalProperties": false
}