.AIIgnore · JSON Structure

Aiignore Exclusion Pattern Structure

A pattern category for AI ignore exclusion rules

Type: object Properties: 3
AI AgentsConfigurationDeveloper WorkflowSecurityPrivacyDeveloper ToolsLLMSecrets Management

ExclusionPattern is a JSON Structure definition published by .AIIgnore, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

category patterns rationale

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

aiignore-exclusion-pattern-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aiignore/refs/heads/main/json-structure/aiignore-exclusion-pattern-structure.json",
  "name": "ExclusionPattern",
  "description": "A pattern category for AI ignore exclusion rules",
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "description": "Category name (secrets, proprietary, generated)",
      "example": "secrets"
    },
    "patterns": {
      "type": "array",
      "description": "List of glob patterns in this category",
      "items": {
        "type": "string"
      }
    },
    "rationale": {
      "type": "string",
      "description": "Why these files should be excluded",
      "example": "Contains API keys and credentials that should not be sent to AI APIs"
    }
  }
}