{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rivery/json-schema/rivery-connection-type-model-schema.json",
  "title": "ConnectionTypeModel",
  "description": "Connection type model",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rivery-connections-api-openapi.yml#/components/schemas/ConnectionTypeModel",
  "properties": {
    "connection_type": {
      "type": "string",
      "title": "Connection Type"
    },
    "connection_type_name": {
      "type": "string",
      "title": "Connection Type Name"
    },
    "properties": {
      "items": {
        "type": "object"
      },
      "type": "array",
      "title": "Properties"
    },
    "message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Message",
      "description": "Set when the connection type has no API-fillable fields (all its fields are interactive-only), explaining that it can only be created through the UI."
    }
  },
  "type": "object",
  "required": [
    "connection_type",
    "connection_type_name",
    "properties"
  ]
}