feat: add NLBoot object schemas, examples, and validation#69
Merged
Conversation
Agent-Logs-Url: https://github.com/SourceOS-Linux/sourceos-spec/sessions/dddfea02-e8c7-4d82-8c81-d073b4f7bf69 Co-authored-by: mdheller <21163552+mdheller@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add NLBoot object schemas and examples
feat: add NLBoot object schemas, examples, and validation
Apr 30, 2026
mdheller
approved these changes
Apr 30, 2026
Contributor
mdheller
left a comment
There was a problem hiding this comment.
Approved. Scope matches issue #68: canonical NLBoot object schemas, examples, validation tool, ADR, and catalog/OpenAPI metadata. No runtime implementation or boot-chain behavior is introduced. No workflow run is visible on the branch, but the PR body includes validation evidence for the schema/example pairs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds canonical JSON Schema (draft 2020-12) definitions for four NLBoot-related object types, making this repo the normative contract home for boot plan, artifact cache, proof, and Apple Silicon adapter semantics.
New schemas
NLBootPlanurn:srcos:nlboot-plan:ArtifactCacheRecordurn:srcos:artifact-cache:BootProofRecordurn:srcos:boot-proof:AppleSiliconAdapterEvidenceurn:srcos:as-adapter-evidence:All schemas follow v2 conventions (
additionalProperties: false,id/type/specVersiondiscriminators,descriptionon every property).Supporting changes
urn:srcos:URNstools/validate_nlboot_examples.py+make validate-nlboot-examplestarget; all 4 pairs passBoottag + POST endpoints for all four typeshydra:supportedClassblocks for all four typesdocs/adr/0011-nlboot-object-schemas.mddocuments scope boundaries (no runtime implementation in this repo)schemas/README.mdquick-reference rows + new Boot / NLBoot family section;examples/README.mdindex rows;CHANGELOG.mdentryNon-goals preserved