{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-agent-registration-schema.json",
  "title": "AgentRegistration",
  "description": "Definition of the agent registration information type.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-agentregistrationinformation-api-openapi.yml#/components/schemas/AgentRegistration",
  "type": "object",
  "properties": {
    "dscMetaConfiguration": {
      "type": "string",
      "description": "Gets or sets the dsc meta configuration."
    },
    "endpoint": {
      "type": "string",
      "description": "Gets or sets the dsc server endpoint."
    },
    "keys": {
      "$ref": "#/$defs/AgentRegistrationKeys",
      "description": "Gets or sets the agent registration keys."
    },
    "id": {
      "type": "string",
      "description": "Gets or sets the id."
    }
  },
  "$defs": {
    "AgentRegistrationKeys": {
      "type": "object",
      "description": "Definition of the agent registration keys.",
      "properties": {
        "primary": {
          "type": "string",
          "description": "Gets or sets the primary key."
        },
        "secondary": {
          "type": "string",
          "description": "Gets or sets the secondary key."
        }
      }
    }
  }
}