{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-connection-schema.json",
  "title": "Connection",
  "description": "Definition of the connection.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-connection-api-openapi.yml#/components/schemas/Connection",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/ConnectionProperties",
      "description": "Gets or sets the properties of the connection.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "ConnectionProperties": {
      "type": "object",
      "description": "Definition of the connection properties.",
      "properties": {
        "connectionType": {
          "$ref": "#/$defs/ConnectionTypeAssociationProperty",
          "description": "Gets or sets the connectionType of the connection."
        },
        "fieldDefinitionValues": {
          "type": "object",
          "description": "Gets the field definition values of the connection.",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the creation time.",
          "readOnly": true
        },
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the last modified time.",
          "readOnly": true
        },
        "description": {
          "type": "string",
          "description": "Gets or sets the description."
        }
      }
    },
    "ConnectionTypeAssociationProperty": {
      "type": "object",
      "description": "The connection type property associated with the entity.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Gets or sets the name of the connection type."
        }
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}