19 lines
715 B
JSON
19 lines
715 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": ["assigned-lens", "producer-run-id", "context-package-ref", "context-package-sha256", "findings", "evidence-urls"],
|
|
"properties": {
|
|
"assigned-lens": {"type": "string", "pattern": "^LENS-[A-Z0-9-]+$"},
|
|
"producer-run-id": {"type": "string", "minLength": 1},
|
|
"context-package-ref": {"type": "string", "minLength": 1},
|
|
"context-package-sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
"findings": {"type": "array", "minItems": 1},
|
|
"evidence-urls": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"uniqueItems": true,
|
|
"items": {"type": "string", "pattern": "^https?://"}
|
|
}
|
|
}
|
|
}
|