{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-functions/json-schema/microsoft-azure-functions-site-cloneability-schema.json",
  "title": "SiteCloneability",
  "description": "Represents whether or not an app is cloneable.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-functions-web-apps-api-openapi.yml#/components/schemas/SiteCloneability",
  "type": "object",
  "properties": {
    "result": {
      "$ref": "#/$defs/CloneAbilityResult",
      "description": "Name of app."
    },
    "blockingFeatures": {
      "type": "array",
      "description": "List of features enabled on app that prevent cloning.",
      "items": {
        "$ref": "#/$defs/SiteCloneabilityCriterion"
      },
      "x-ms-identifiers": [
        "name"
      ]
    },
    "unsupportedFeatures": {
      "type": "array",
      "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.",
      "items": {
        "$ref": "#/$defs/SiteCloneabilityCriterion"
      },
      "x-ms-identifiers": [
        "name"
      ]
    },
    "blockingCharacteristics": {
      "type": "array",
      "description": "List of blocking application characteristics.",
      "items": {
        "$ref": "#/$defs/SiteCloneabilityCriterion"
      },
      "x-ms-identifiers": [
        "name"
      ]
    }
  },
  "$defs": {
    "CloneAbilityResult": {
      "type": "string",
      "description": "Name of app.",
      "enum": [
        "Cloneable",
        "PartiallyCloneable",
        "NotCloneable"
      ],
      "x-ms-enum": {
        "name": "CloneAbilityResult",
        "modelAsString": false
      }
    },
    "SiteCloneabilityCriterion": {
      "type": "object",
      "description": "An app cloneability criterion.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of criterion."
        },
        "description": {
          "type": "string",
          "description": "Description of criterion."
        }
      }
    }
  }
}