generated from coulomb/repo-seed
Add report fragments and export manifest
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
"waivers",
|
||||
"challenges",
|
||||
"exclusions",
|
||||
"report_fragments",
|
||||
"certification_boundary",
|
||||
"created_at"
|
||||
],
|
||||
@@ -38,6 +39,7 @@
|
||||
"waivers": { "type": "array", "items": { "type": "object" } },
|
||||
"challenges": { "type": "array", "items": { "type": "object" } },
|
||||
"exclusions": { "type": "array", "items": { "type": "object" } },
|
||||
"report_fragments": { "type": "array", "items": { "type": "object" } },
|
||||
"certification_boundary": { "type": "string" },
|
||||
"created_at": { "type": "string" }
|
||||
}
|
||||
|
||||
36
docs/schemas/export-manifest.schema.json
Normal file
36
docs/schemas/export-manifest.schema.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Guide Board Export Manifest",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"schema_version",
|
||||
"export_type",
|
||||
"run_id",
|
||||
"created_at",
|
||||
"source_package_ref",
|
||||
"source_lock_ref",
|
||||
"summary",
|
||||
"policy_summary",
|
||||
"mapping_summary",
|
||||
"report_fragments",
|
||||
"counts",
|
||||
"certification_boundary"
|
||||
],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"schema_version": { "type": "string" },
|
||||
"export_type": { "type": "string" },
|
||||
"run_id": { "type": "string" },
|
||||
"created_at": { "type": "string" },
|
||||
"source_package_ref": { "type": "string" },
|
||||
"source_lock_ref": { "type": "string" },
|
||||
"summary": { "type": "object" },
|
||||
"policy_summary": { "type": "object" },
|
||||
"mapping_summary": { "type": "object" },
|
||||
"report_fragments": { "type": "array", "items": { "type": "object" } },
|
||||
"counts": { "type": "object" },
|
||||
"certification_boundary": { "type": "string" }
|
||||
}
|
||||
}
|
||||
@@ -142,7 +142,23 @@
|
||||
}
|
||||
},
|
||||
"mappings": { "type": "array", "items": { "type": "string" } },
|
||||
"report_fragments": { "type": "array", "items": { "type": "string" } },
|
||||
"report_fragments": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["string", "object"],
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "kind"],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"kind": { "type": "string", "enum": ["markdown_file", "python_module"] },
|
||||
"path": { "type": ["string", "null"] },
|
||||
"module_path": { "type": ["string", "null"] },
|
||||
"callable": { "type": ["string", "null"] },
|
||||
"title": { "type": ["string", "null"] },
|
||||
"description": { "type": ["string", "null"] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": { "type": "array", "items": { "type": "string" } },
|
||||
"restricted_assets": { "type": "array", "items": { "type": "string" } },
|
||||
"certification_boundary": { "type": "string" }
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"created_at": { "type": "string" },
|
||||
"summary": { "type": "object" },
|
||||
"report_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"export_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"artifact_retention": { "type": "object" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user