{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hostinger/main/json-schema/hostinger-agency-hosting-v1-php-extension-collection-schema.json",
  "title": "AgencyHosting.V1.Php.ExtensionCollection",
  "description": "Array of [`AgencyHosting.V1.Php.ExtensionResource`](#model/agencyhostingv1phpextensionresource)",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostinger-agency-hosting-php-api-openapi.yml#/components/schemas/AgencyHosting.V1.Php.ExtensionCollection",
  "type": "array",
  "items": {
    "$ref": "#/$defs/AgencyHosting.V1.Php.ExtensionResource"
  },
  "$defs": {
    "AgencyHosting.V1.Php.ExtensionResource": {
      "properties": {
        "name": {
          "description": "PHP extension name.",
          "type": "string"
        },
        "description": {
          "description": "What the extension provides.",
          "type": "string"
        },
        "state": {
          "description": "Whether the extension is currently enabled. Extensions in the \"built-in\" state are compiled into PHP and cannot be turned off.",
          "type": "string",
          "enum": [
            "enabled",
            "disabled",
            "built-in"
          ]
        }
      },
      "type": "object"
    }
  }
}