mirror of
https://github.com/nix-community/home-manager.git
synced 2026-12-06 04:40:17 +00:00
66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://home-manager.nixos.org/schemas/dag-ordered-format.schema.json",
|
|
"title": "Home Manager DAG Ordered JSON Format",
|
|
"description": "Output of generators.mkDAGOrderedJsonFormat. Object members are emitted in topological order; a member that keeps the { before, after, data } shape is a plain value that coincidentally matches a DAG entry.",
|
|
"type": "object",
|
|
"properties": {
|
|
"ordered": {
|
|
"type": "object",
|
|
"properties": {
|
|
"before": {
|
|
"type": "string"
|
|
},
|
|
"plainDagEntryShape": {
|
|
"$ref": "#/$defs/dagEntry"
|
|
},
|
|
"after": {
|
|
"type": "object",
|
|
"properties": {
|
|
"nested": {
|
|
"type": "object",
|
|
"properties": {
|
|
"before": {
|
|
"type": "integer"
|
|
},
|
|
"after": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"$defs": {
|
|
"dagEntry": {
|
|
"type": "object",
|
|
"properties": {
|
|
"after": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"before": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"data": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
} |