Configuration Schemas

Overview

This data file contains comprehensive schemas and validation rules for configuration parameters that I.S.A.A.C. can detect and manage during installer generation. These schemas ensure proper validation and user guidance for configuration values.

Parameter Type Schemas

String Parameters

{
  "string_parameter": {
    "type": "string",
    "validation": {
      "min_length": 1,
      "max_length": 255,
      "pattern": null,
      "allowed_characters": null,
      "forbidden_characters": null,
      "case_sensitive": true,
      "trim_whitespace": true
    },
    "display": {
      "input_type": "text",
      "placeholder": "",
      "help_text": "",
      "mask_input": false
    },
    "examples": [
      {
        "name": "APPLICATION_NAME",
        "description": "Name of the application",
        "default": "MyApp",
        "validation": {
          "min_length": 3,
          "max_length": 50,
          "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$"
        },
        "help_text": "Enter a name for your application (3-50 characters, alphanumeric, underscore, and dash allowed)"
      },
      {
        "name": "DATABASE_HOST",
        "description": "Database server hostname or IP address",
        "default": "localhost",
        "validation": {
          "pattern": "^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))$"
        },
        "help_text": "Enter the hostname or IP address of your database server"
      }
    ]
  }
}

Integer Parameters

Boolean Parameters

Choice Parameters

Path Parameters

URL Parameters

Email Parameters

Common Configuration Patterns

Database Configuration

Web Server Configuration

Authentication Configuration

Logging Configuration

Validation Rules

Cross-Parameter Validation

Environment-Specific Defaults

Last updated