GitHub · JSON Structure

Github Gitignore Templates Gitignore Template Structure

Gitignore Template

Type: object Properties: 2 Required: 2
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

gitignore-template is a JSON Structure definition published by GitHub, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name source

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-gitignore-templates-gitignore-template-structure.json",
  "name": "gitignore-template",
  "description": "Gitignore Template",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "example": "C"
    },
    "source": {
      "type": "string",
      "example": "# Object files\n*.o\n\n# Libraries\n*.lib\n*.a\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n"
    }
  },
  "required": [
    "name",
    "source"
  ]
}