schema: metadata at the top level

Allows a new object under the top-level key `metadata` which contains a
`generators` property. This property is a list of all generators involved
in the creation of a manifest.

Each generator can add its name and version to this list.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
Simon de Vlieger 2024-10-10 18:21:54 +02:00 committed by Michael Vogt
parent 2d1e8553d7
commit 12dcf3c6d9
3 changed files with 40 additions and 0 deletions

View file

@ -1,5 +1,13 @@
{
"version": "2",
"metadata": {
"generators": [
{
"name": "osbuild-mpp",
"version": "unknown"
}
]
},
"pipelines": [
{
"runner": "org.osbuild.fedora39",