generated from coulomb/repo-seed
Add challenge and exclusion review handling
This commit is contained in:
56
docs/schemas/challenge-set.schema.json
Normal file
56
docs/schemas/challenge-set.schema.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Guide Board Challenge Set",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"target_profile_ref",
|
||||
"challenges"
|
||||
],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"target_profile_ref": { "type": "string" },
|
||||
"challenges": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"requirement_refs",
|
||||
"check_refs",
|
||||
"evidence_refs",
|
||||
"result_refs",
|
||||
"classification_refs",
|
||||
"authority_source_refs",
|
||||
"owner",
|
||||
"review_status",
|
||||
"rationale",
|
||||
"created_at",
|
||||
"review_due_at",
|
||||
"expires_at",
|
||||
"native_challenge_id",
|
||||
"metadata"
|
||||
],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"requirement_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"check_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"evidence_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"result_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"classification_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"authority_source_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"owner": { "type": "string" },
|
||||
"review_status": { "type": "string" },
|
||||
"rationale": { "type": "string" },
|
||||
"created_at": { "type": "string" },
|
||||
"review_due_at": { "type": ["string", "null"] },
|
||||
"expires_at": { "type": ["string", "null"] },
|
||||
"native_challenge_id": { "type": ["string", "null"] },
|
||||
"metadata": { "type": "object" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user