{
  "$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-option-collection-schema.json",
  "title": "AgencyHosting.V1.Php.OptionCollection",
  "description": "Array of [`AgencyHosting.V1.Php.OptionResource`](#model/agencyhostingv1phpoptionresource)",
  "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.OptionCollection",
  "type": "array",
  "items": {
    "$ref": "#/$defs/AgencyHosting.V1.Php.OptionResource"
  },
  "$defs": {
    "AgencyHosting.V1.Php.OptionResource": {
      "properties": {
        "name": {
          "description": "php.ini directive name.",
          "type": "string"
        },
        "description": {
          "description": "What the directive controls.",
          "type": "string"
        },
        "default_value": {
          "description": "Value applied when no custom value is set.",
          "type": "string"
        },
        "allowed_values": {
          "description": "Values this option accepts. Null when the option accepts any value of its type.",
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "value": {
          "description": "Value currently in effect for the website.",
          "type": "string"
        },
        "type": {
          "description": "Whether the option takes a single value or a list of values.",
          "type": "string",
          "enum": [
            "value",
            "list"
          ]
        }
      },
      "type": "object"
    }
  }
}