{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ConnectionForList",
  "title": "ConnectionForList",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the connection",
      "default": "My connection"
    },
    "display_name": {
      "type": "string",
      "description": "Connection name used in login screen"
    },
    "options": {
      "$ref": "#/components/schemas/ConnectionOptions"
    },
    "id": {
      "type": "string",
      "description": "The connection's identifier",
      "default": "con_0000000000000001"
    },
    "strategy": {
      "type": "string",
      "description": "The type of the connection, related to the identity provider",
      "default": "auth0"
    },
    "realms": {
      "type": "array",
      "description": "Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm.",
      "items": {
        "type": "string",
        "description": "The realm where this connection belongs",
        "format": "connection-realm"
      }
    },
    "is_domain_connection": {
      "type": "boolean",
      "description": "True if the connection is domain level"
    },
    "show_as_button": {
      "type": "boolean",
      "description": "Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD."
    },
    "metadata": {
      "$ref": "#/components/schemas/ConnectionsMetadata"
    },
    "authentication": {
      "$ref": "#/components/schemas/ConnectionAuthenticationPurpose",
      "x-release-lifecycle": "GA"
    },
    "connected_accounts": {
      "$ref": "#/components/schemas/ConnectionConnectedAccountsPurpose",
      "x-release-lifecycle": "GA"
    }
  }
}