{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-cognitive-services/json-schema/microsoft-cognitive-services-agent-application-resource-arm-paginated-result-schema.json",
  "title": "AgentApplicationResourceArmPaginatedResult",
  "description": "A paginated list of Agent Application entities.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-cognitive-services-agentapplication-api-openapi.yml#/components/schemas/AgentApplicationResourceArmPaginatedResult",
  "type": "object",
  "properties": {
    "nextLink": {
      "type": [
        "string",
        "null"
      ],
      "description": "The link to the next page of Agent Application objects. If null, there are no additional pages."
    },
    "value": {
      "type": "array",
      "description": "An array of objects of type Agent Application.",
      "items": {
        "$ref": "#/$defs/AgentApplication"
      }
    }
  },
  "$defs": {
    "AgentApplication": {
      "type": "object",
      "description": "Agent Application resource",
      "properties": {
        "properties": {
          "$ref": "#/$defs/AgenticApplicationProperties",
          "description": "[Required] Additional attributes of the entity."
        }
      },
      "required": [
        "properties"
      ],
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "AgentReferenceProperties": {
      "type": "object",
      "description": "Type modeling a reference to a version of an agent definition.",
      "properties": {
        "agentId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Gets the agent's unique identifier within the organization (subscription)."
        },
        "agentName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Gets the agent's name (unique within the project/app)."
        }
      }
    },
    "AgenticApplicationProperties": {
      "type": "object",
      "description": "Resource type representing an agentic application as a management construct.",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the application."
        },
        "baseUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "The application's dedicated invocation endpoint."
        },
        "agents": {
          "type": [
            "array",
            "null"
          ],
          "description": "The list of agent definitions comprising this application, returned as references to the objects under the parent project; use this to obtain a flat list of all agent-version pairs represented by this application.",
          "items": {
            "$ref": "#/$defs/AgentReferenceProperties"
          }
        },
        "agentIdentityBlueprint": {
          "$ref": "#/$defs/AssignedIdentity",
          "description": "The EntraId Agentic Blueprint of the application."
        },
        "defaultInstanceIdentity": {
          "$ref": "#/$defs/AssignedIdentity",
          "description": "The (default) agent instance identity of the application."
        },
        "authorizationPolicy": {
          "$ref": "#/$defs/ApplicationAuthorizationPolicy",
          "description": "Gets or sets the authorization policy associated with this agentic application instance."
        },
        "trafficRoutingPolicy": {
          "$ref": "#/$defs/ApplicationTrafficRoutingPolicy",
          "description": "Gets or sets the traffic routing policy for the application's deployments."
        },
        "provisioningState": {
          "$ref": "#/$defs/AgenticApplicationProvisioningState",
          "description": "Provisioning state of the application.",
          "readOnly": true
        },
        "isEnabled": {
          "type": "boolean",
          "description": "Enabledstate of the application.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ResourceBase"
        }
      ]
    },
    "AgenticApplicationProvisioningState": {
      "type": "string",
      "description": "Provisioning state of an agentic application.",
      "enum": [
        "Succeeded",
        "Failed",
        "Canceled",
        "Creating",
        "Updating",
        "Deleting"
      ],
      "x-ms-enum": {
        "name": "AgenticApplicationProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "The application was successfully provisioned."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "The application provisioning failed."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "The application provisioning was canceled."
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "The application is being created."
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "The application is being updated."
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "The application is being deleted."
          }
        ]
      },
      "readOnly": true
    },
    "ApplicationAuthorizationPolicy": {
      "type": "object",
      "description": "Represents a policy for authorizing applications based on specified authentication and authorization schemes.",
      "properties": {
        "type": {
          "$ref": "#/$defs/BuiltInAuthorizationScheme",
          "description": "Authorization scheme type."
        }
      },
      "required": [
        "type"
      ]
    },
    "ApplicationTrafficRoutingPolicy": {
      "type": "object",
      "description": "Type representing an application traffic policy as a property of an agentic application.",
      "properties": {
        "protocol": {
          "$ref": "#/$defs/TrafficRoutingProtocol",
          "description": "Methodology used to route traffic to the application's deployments."
        },
        "rules": {
          "type": [
            "array",
            "null"
          ],
          "description": "Gets or sets the collection of traffic routing rules.",
          "items": {
            "$ref": "#/$defs/TrafficRoutingRule"
          }
        }
      }
    },
    "AssignedIdentity": {
      "type": "object",
      "description": "Type representing an identity assignment",
      "properties": {
        "kind": {
          "$ref": "#/$defs/IdentityKind",
          "description": "Specifies the kind of Entra identity described by this object."
        },
        "type": {
          "$ref": "#/$defs/IdentityManagementType",
          "description": "Enumeration of identity types, from the perspective of management."
        },
        "clientId": {
          "type": "string",
          "description": "The client ID of the identity."
        },
        "principalId": {
          "type": "string",
          "description": "The principal ID of the identity."
        },
        "tenantId": {
          "type": "string",
          "description": "The tenant ID of the identity."
        },
        "subject": {
          "type": [
            "string",
            "null"
          ],
          "description": "The subject of this identity assignment."
        },
        "provisioningState": {
          "$ref": "#/$defs/IdentityProvisioningState",
          "description": "Represents the provisioning state of an identity resource.",
          "readOnly": true
        }
      },
      "required": [
        "kind",
        "type",
        "clientId",
        "principalId",
        "tenantId"
      ]
    },
    "BuiltInAuthorizationScheme": {
      "type": "string",
      "description": "Authorization scheme type.",
      "enum": [
        "Default",
        "OrganizationScope",
        "Channels",
        "Custom"
      ],
      "x-ms-enum": {
        "name": "BuiltInAuthorizationScheme",
        "modelAsString": true,
        "values": [
          {
            "name": "Default",
            "value": "Default",
            "description": "Standard AzureML RBAC"
          },
          {
            "name": "OrganizationScope",
            "value": "OrganizationScope",
            "description": "Claim-based, requires membership in the tenant"
          },
          {
            "name": "Channels",
            "value": "Channels",
            "description": "Channels-specific (AzureBotService) authorization"
          },
          {
            "name": "Custom",
            "value": "Custom",
            "description": "Custom scheme defined by the application author"
          }
        ]
      }
    },
    "IdentityKind": {
      "type": "string",
      "description": "Specifies the kind of Entra identity described by this object.",
      "enum": [
        "AgentBlueprint",
        "AgentInstance",
        "AgenticUser",
        "Managed",
        "None"
      ],
      "x-ms-enum": {
        "name": "IdentityKind",
        "modelAsString": true,
        "values": [
          {
            "name": "AgentBlueprint",
            "value": "AgentBlueprint",
            "description": "Represents a class identity, used for agentic applications."
          },
          {
            "name": "AgentInstance",
            "value": "AgentInstance",
            "description": "Represents an instance identity."
          },
          {
            "name": "AgenticUser",
            "value": "AgenticUser",
            "description": "Represents an agentic instance identity with user-like traits."
          },
          {
            "name": "Managed",
            "value": "Managed",
            "description": "Represents a classic managed identity."
          },
          {
            "name": "None",
            "value": "None",
            "description": "No identity."
          }
        ]
      }
    },
    "IdentityManagementType": {
      "type": "string",
      "description": "Enumeration of identity types, from the perspective of management.",
      "enum": [
        "System",
        "User",
        "None"
      ],
      "x-ms-enum": {
        "name": "IdentityManagementType",
        "modelAsString": true,
        "values": [
          {
            "name": "System",
            "value": "System",
            "description": "Platform-managed identity."
          },
          {
            "name": "User",
            "value": "User",
            "description": "User-managed identity."
          },
          {
            "name": "None",
            "value": "None",
            "description": "No identity."
          }
        ]
      }
    },
    "IdentityProvisioningState": {
      "type": "string",
      "description": "Represents the provisioning state of an identity resource.",
      "enum": [
        "Creating",
        "Updating",
        "Succeeded",
        "Failed",
        "Canceled",
        "Deleting"
      ],
      "x-ms-enum": {
        "name": "IdentityProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Identity is being created."
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Identity is being updated."
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Identity has been successfully provisioned."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Identity provisioning has failed."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Identity provisioning has been canceled."
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Identity is being deleted."
          }
        ]
      },
      "readOnly": true
    },
    "ResourceBase": {
      "type": "object",
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The asset description text."
        },
        "tags": {
          "type": [
            "object",
            "null"
          ],
          "description": "Tag dictionary. Tags can be added, removed, and updated.",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "TrafficRoutingProtocol": {
      "type": "string",
      "description": "Traffic routing protocol, used to distribute an application's inbound traffic to its deployments.",
      "enum": [
        "FixedRatio"
      ],
      "x-ms-enum": {
        "name": "TrafficRoutingProtocol",
        "modelAsString": true,
        "values": [
          {
            "name": "FixedRatio",
            "value": "FixedRatio",
            "description": "Percentage based routing"
          }
        ]
      }
    },
    "TrafficRoutingRule": {
      "type": "object",
      "description": "Represents a rule for routing traffic to a specific deployment.",
      "properties": {
        "ruleId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The identifier of this traffic routing rule."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "A user-provided description for this traffic routing rule."
        },
        "deploymentId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique identifier of the deployment to which traffic is routed by this rule."
        },
        "trafficPercentage": {
          "type": "integer",
          "format": "int32",
          "description": "Gets or sets the percentage of traffic allocated to this instance."
        }
      }
    }
  }
}