{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-application-definition-list-result-schema.json",
  "title": "ApplicationDefinitionListResult",
  "description": "List of managed application definitions.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-applicationdefinitions-api-openapi.yml#/components/schemas/ApplicationDefinitionListResult",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ApplicationDefinition"
      },
      "description": "The array of managed application definitions."
    },
    "nextLink": {
      "type": "string",
      "description": "The URL to use for getting the next set of results."
    }
  },
  "$defs": {
    "ApplicationArtifactType": {
      "description": "The managed application artifact type.",
      "enum": [
        "NotSpecified",
        "Template",
        "Custom"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "ApplicationArtifactType",
        "modelAsString": false
      }
    },
    "ApplicationAuthorization": {
      "properties": {
        "principalId": {
          "type": "string",
          "description": "The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources."
        },
        "roleDefinitionId": {
          "type": "string",
          "description": "The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group."
        }
      },
      "required": [
        "principalId",
        "roleDefinitionId"
      ],
      "description": "The managed application provider authorization."
    },
    "ApplicationDefinition": {
      "properties": {
        "properties": {
          "x-ms-client-flatten": true,
          "$ref": "#/$defs/ApplicationDefinitionProperties",
          "description": "The managed application definition properties."
        }
      },
      "required": [
        "properties"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/GenericResource"
        }
      ],
      "description": "Information about managed application definition."
    },
    "ApplicationDefinitionArtifact": {
      "properties": {
        "name": {
          "$ref": "#/$defs/ApplicationDefinitionArtifactName",
          "description": "The managed application definition artifact name."
        },
        "uri": {
          "type": "string",
          "description": "The managed application definition artifact blob uri."
        },
        "type": {
          "$ref": "#/$defs/ApplicationArtifactType",
          "description": "The managed application definition artifact type."
        }
      },
      "required": [
        "name",
        "type",
        "uri"
      ],
      "description": "Application definition artifact."
    },
    "ApplicationDefinitionArtifactName": {
      "description": "The managed application artifact name.",
      "enum": [
        "NotSpecified",
        "ApplicationResourceTemplate",
        "CreateUiDefinition",
        "MainTemplateParameters"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "ApplicationDefinitionArtifactName",
        "modelAsString": true
      }
    },
    "ApplicationDefinitionProperties": {
      "properties": {
        "lockLevel": {
          "$ref": "#/$defs/ApplicationLockLevel",
          "description": "The managed application lock level."
        },
        "displayName": {
          "type": "string",
          "description": "The managed application definition display name."
        },
        "isEnabled": {
          "type": "boolean",
          "description": "A value indicating whether the package is enabled or not."
        },
        "authorizations": {
          "description": "The managed application provider authorizations.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ApplicationAuthorization"
          }
        },
        "artifacts": {
          "description": "The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ApplicationDefinitionArtifact"
          }
        },
        "description": {
          "type": "string",
          "description": "The managed application definition description."
        },
        "packageFileUri": {
          "type": "string",
          "description": "The managed application definition package file Uri. Use this element"
        },
        "mainTemplate": {
          "type": "object",
          "description": "The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string."
        },
        "createUiDefinition": {
          "type": "object",
          "description": "The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string."
        },
        "notificationPolicy": {
          "$ref": "#/$defs/ApplicationNotificationPolicy",
          "description": "The managed application notification policy."
        },
        "lockingPolicy": {
          "$ref": "#/$defs/ApplicationPackageLockingPolicyDefinition",
          "description": "The managed application locking policy."
        },
        "deploymentPolicy": {
          "$ref": "#/$defs/ApplicationDeploymentPolicy",
          "description": "The managed application deployment policy."
        },
        "managementPolicy": {
          "$ref": "#/$defs/ApplicationManagementPolicy",
          "description": "The managed application management policy that determines publisher's access to the managed resource group."
        },
        "policies": {
          "description": "The managed application provider policies.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ApplicationPolicy"
          }
        }
      },
      "required": [
        "lockLevel"
      ],
      "description": "The managed application definition properties."
    },
    "ApplicationDeploymentPolicy": {
      "properties": {
        "deploymentMode": {
          "$ref": "#/$defs/DeploymentMode",
          "description": "The managed application deployment mode."
        }
      },
      "required": [
        "deploymentMode"
      ],
      "description": "Managed application deployment policy."
    },
    "ApplicationLockLevel": {
      "description": "The managed application lock level.",
      "enum": [
        "CanNotDelete",
        "ReadOnly",
        "None"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "ApplicationLockLevel",
        "modelAsString": false
      }
    },
    "ApplicationManagementMode": {
      "description": "The management mode.",
      "enum": [
        "NotSpecified",
        "Unmanaged",
        "Managed"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "ApplicationManagementMode",
        "modelAsString": true
      }
    },
    "ApplicationManagementPolicy": {
      "properties": {
        "mode": {
          "$ref": "#/$defs/ApplicationManagementMode",
          "description": "The managed application management mode."
        }
      },
      "description": "Managed application management policy."
    },
    "ApplicationNotificationEndpoint": {
      "properties": {
        "uri": {
          "type": "string",
          "description": "The managed application notification endpoint uri."
        }
      },
      "required": [
        "uri"
      ],
      "description": "Managed application notification endpoint."
    },
    "ApplicationNotificationPolicy": {
      "properties": {
        "notificationEndpoints": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ApplicationNotificationEndpoint"
          },
          "description": "The managed application notification endpoint."
        }
      },
      "required": [
        "notificationEndpoints"
      ],
      "description": "Managed application notification policy."
    },
    "ApplicationPackageLockingPolicyDefinition": {
      "properties": {
        "allowedActions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The deny assignment excluded actions."
        },
        "allowedDataActions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The deny assignment excluded data actions."
        }
      },
      "description": "Managed application locking policy."
    },
    "ApplicationPolicy": {
      "properties": {
        "name": {
          "type": "string",
          "description": "The policy name"
        },
        "policyDefinitionId": {
          "type": "string",
          "description": "The policy definition Id."
        },
        "parameters": {
          "type": "string",
          "description": "The policy parameters."
        }
      },
      "description": "Managed application policy."
    },
    "DeploymentMode": {
      "description": "The deployment mode.",
      "enum": [
        "NotSpecified",
        "Incremental",
        "Complete"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "DeploymentMode",
        "modelAsString": true
      }
    },
    "GenericResource": {
      "properties": {
        "managedBy": {
          "type": "string",
          "description": "ID of the resource that manages this resource."
        },
        "sku": {
          "$ref": "#/$defs/Sku",
          "description": "The SKU of the resource."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ],
      "description": "Resource information."
    },
    "Resource": {
      "properties": {
        "id": {
          "readOnly": true,
          "type": "string",
          "description": "Resource ID"
        },
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "Resource name"
        },
        "type": {
          "readOnly": true,
          "type": "string",
          "description": "Resource type"
        },
        "location": {
          "type": "string",
          "description": "Resource location"
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Resource tags"
        }
      },
      "description": "Resource information.",
      "x-ms-azure-resource": true
    },
    "Sku": {
      "properties": {
        "name": {
          "type": "string",
          "description": "The SKU name."
        },
        "tier": {
          "type": "string",
          "description": "The SKU tier."
        },
        "size": {
          "type": "string",
          "description": "The SKU size."
        },
        "family": {
          "type": "string",
          "description": "The SKU family."
        },
        "model": {
          "type": "string",
          "description": "The SKU model."
        },
        "capacity": {
          "type": "integer",
          "format": "int32",
          "description": "The SKU capacity."
        }
      },
      "required": [
        "name"
      ],
      "description": "SKU for the resource."
    }
  }
}