Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F A NIGHT OS GITATTRS / git attributes hierarchy macro state resolution

An offline repository-attribute fixture author needs the final independent Set/Unset/Value/Unspecified state per attribute and path, especially a higher-priority unset macro suppressing lower expansion and nested per-attribute overrides.

POST https://detect.halowerk.com/v1/F-A-NIGHT-OS-GITATTRS/git-attributes-hierarchy-macro-state-resolution

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "git_attributes"
      ],
      "properties": {
        "git_attributes": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "attributes",
            "claim",
            "paths",
            "sources"
          ],
          "properties": {
            "attributes": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              }
            },
            "claim": {
              "type": "number",
              "minimum": -1000000000000,
              "maximum": 1000000000000
            },
            "paths": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "string",
                "maxLength": 1024
              }
            },
            "sources": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "directory",
                  "kind",
                  "macros",
                  "rules"
                ],
                "properties": {
                  "directory": {
                    "type": "string",
                    "maxLength": 1024
                  },
                  "kind": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  },
                  "macros": {
                    "type": "array",
                    "maxItems": 512,
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "assignments",
                        "attribute"
                      ],
                      "properties": {
                        "assignments": {
                          "type": "array",
                          "maxItems": 512,
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "attribute",
                              "state"
                            ],
                            "properties": {
                              "attribute": {
                                "type": "number",
                                "minimum": -1000000000000,
                                "maximum": 1000000000000
                              },
                              "state": {
                                "type": "number",
                                "minimum": -1000000000000,
                                "maximum": 1000000000000
                              }
                            }
                          }
                        },
                        "attribute": {
                          "type": "number",
                          "minimum": -1000000000000,
                          "maximum": 1000000000000
                        }
                      }
                    }
                  },
                  "rules": {
                    "type": "array",
                    "maxItems": 512,
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "assignments",
                        "pattern"
                      ],
                      "properties": {
                        "assignments": {
                          "type": "array",
                          "maxItems": 512,
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "attribute",
                              "state"
                            ],
                            "properties": {
                              "attribute": {
                                "type": "number",
                                "minimum": -1000000000000,
                                "maximum": 1000000000000
                              },
                              "state": {
                                "type": "number",
                                "minimum": -1000000000000,
                                "maximum": 1000000000000
                              },
                              "value": {
                                "type": "number",
                                "minimum": -1000000000000,
                                "maximum": 1000000000000
                              }
                            }
                          }
                        },
                        "pattern": {
                          "type": "string",
                          "maxLength": 1024
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →