84 lines
1.8 KiB
JSON
84 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://scient.ing/ns/schemas/qa-report.schema.json",
|
|
"title": "QA report",
|
|
"description": "scienting-qa-report/1: reviewer error bounds for a delivery; spec/08-fidelity.md.",
|
|
"type": "object",
|
|
"properties": {
|
|
"format": {
|
|
"const": "scienting-qa-report/1"
|
|
},
|
|
"id": {
|
|
"$ref": "common.schema.json#/$defs/recordId"
|
|
},
|
|
"delivery": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"docs": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "common.schema.json#/$defs/qualifiedKey"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"receipts": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "common.schema.json#/$defs/recordId"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"reviewers": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"key": {
|
|
"$ref": "common.schema.json#/$defs/key"
|
|
},
|
|
"sampled": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"errors": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"confidence": {
|
|
"$ref": "common.schema.json#/$defs/decimal"
|
|
},
|
|
"method": {
|
|
"const": "clopper-pearson"
|
|
},
|
|
"bound": {
|
|
"$ref": "common.schema.json#/$defs/decimal"
|
|
}
|
|
},
|
|
"required": [
|
|
"key",
|
|
"sampled",
|
|
"errors",
|
|
"confidence",
|
|
"method",
|
|
"bound"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"at": {
|
|
"$ref": "common.schema.json#/$defs/time"
|
|
}
|
|
},
|
|
"required": [
|
|
"format",
|
|
"id",
|
|
"docs",
|
|
"receipts",
|
|
"reviewers",
|
|
"at"
|
|
],
|
|
"additionalProperties": false
|
|
}
|