Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / yap.json
Schema registry

yap.json

YAP (Yet Another Packager) multi-package project file

yap.json

Check your file against this schema

Opens the validator with this schema already loaded. Paste your yap.json and it validates in your browser — nothing is uploaded.

Validate a yap.json → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
$schemastringOptional reference to this JSON Schema for editor validation/autocomplete.
namerequiredstringLogical name of the project collection.
descriptionrequiredstringHuman-readable description of the project collection.
buildDirrequiredstringDirectory where build artifacts and intermediate files are produced.
outputrequiredstringDirectory where the final packages are written.
projectsrequiredarray<object>Ordered list of sub-projects (each containing a PKGBUILD) to build.
compressionDebstringCompression algorithm for .deb artifacts.
one of: "zstd", "gzip", "xz"
compressionRpmstringCompression algorithm for .rpm artifacts.
one of: "zstd", "gzip", "xz"
signingobjectPackage signing configuration. Note: keys are PascalCase (the struct has no JSON tags). Key/passphrase resolution can also be driven by CLI flags and environment variables; see docs.
signing.EnabledbooleanWhether signing is active for this build.
default: false
signing.KeyPathstringAbsolute path to the private key (PEM for RSA/APK, ASCII-armored for GPG/DEB/RPM/Pacman).
signing.PassphrasestringPassphrase for the private key. Prefer environment variables over committing this.
signing.KeyNamestringOptional key name, used for APK key naming (e.g. "mykey").
reposarray<object>Additional package repositories to configure before resolving build/runtime dependencies.
skipDepsarray<string>Package names to omit from makedepends installation.
targetArchstringCross-compilation target architecture (e.g. "arm64", "aarch64"). Empty means native host arch.
debugDirstringDirectory to capture per-step build debug artifacts.
parallelbooleanBuild independent projects in parallel. Default is sequential (file order).
default: false
sbombooleanGenerate Software Bill of Materials for each artifact.
default: false
sbomFormatstringSBOM format(s) to emit when sbom is enabled.
default: "both"
one of: "cyclonedx", "spdx", "both"

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
formatJSON Schema Validation, draft 2020-12§7 — Vocabularies for Semantic Content With "format"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
minItemsJSON Schema Validation, draft 2020-12§6.4.2 — "minItems"
minLengthJSON Schema Validation, draft 2020-12§6.3.2 — "minLength"
patternJSON Schema Validation, draft 2020-12§6.3.3 — "pattern"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas