Skip to main content

Github License

GithubLicense

Defines a reusable license template for GitHub repositories.

Holds the raw text of a standard legal license (e.g. Apache 2.0, MIT) as a named, reusable template. It provisions nothing on its own; GithubRepository manifests reference it by name via their license field to populate the repository's LICENSE file.

PropertyTypeDescription
apiVersionstringAPI schema version. Pins the manifest to a specific schema contract for backward-compatibility. Must be the constant lowops.manifests.v1.
kindstringResource kind discriminator. Identifies this document as a GithubLicense so the engine routes it to the correct defaulter, validator, computer, and executor. Must be the constant GithubLicense.
metadatamapClassification labels and graph linkage. Free-form key/value pairs used to classify the manifest. Certain reserved keys (e.g. name, organization) are read by the engine to resolve this manifest's identity and its place in the dependency graph.
specSpecDesired license template. The authoritative, user-authored specification for this license template. See Spec.

Spec

License template content.

Holds the license text that referencing GithubRepository manifests write into their LICENSE file.

PropertyTypeDescription
descriptionstringHuman-readable description of this license template. Optional free text describing the license and its intended use. Not propagated onto any provisioned resource; it is informational only and used as context by AI assistants when reasoning about the manifest.
contentstringFull text of the license file. The complete license body used to standardize licensing across repositories. Read during computation and copied verbatim into the LICENSE file of every GithubRepository that references this template by name.