agent-evidence-vectors v0.39.0

Schema verdict-line/v1

Schema identifier: https://probityai.github.io/agent-evidence-vectors/schema/verdict-line/v1

verdict line, v1. One line of corpus mode output: the verdict a verifier reached on one corpus member, in a shape several verifiers share so their lines over the same corpus can be compared member by member. A member the verifier does not answer is stated as not-applicable, never left out, so the lines always cover the whole manifest and never read as a pass.

Source: spec/schemas/verdict-line-v1.schema.json. Carried in release v0.39.0. The identifier never changes meaning; a change is published under a new identifier.


{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://probityai.github.io/agent-evidence-vectors/schema/verdict-line/v1",
  "title": "verdict line, v1",
  "description": "One line of corpus mode output: the verdict a verifier reached on one corpus member, in a shape several verifiers share so their lines over the same corpus can be compared member by member. A member the verifier does not answer is stated as not-applicable, never left out, so the lines always cover the whole manifest and never read as a pass.",
  "type": "object",
  "required": [
    "schema",
    "suite",
    "corpusDigest",
    "vector",
    "verdict",
    "reason",
    "verifier"
  ],
  "additionalProperties": true,
  "properties": {
    "schema": {
      "const": "https://probityai.github.io/agent-evidence-vectors/schema/verdict-line/v1"
    },
    "suite": {
      "type": "string",
      "minLength": 1,
      "description": "The suite named by the corpus manifest."
    },
    "corpusDigest": {
      "type": "string",
      "description": "The corpus manifest's declared corpusDigest."
    },
    "vector": {
      "type": "string",
      "minLength": 1,
      "description": "The id of the manifest entry the line answers."
    },
    "verdict": {
      "type": "string",
      "minLength": 1,
      "description": "The suite's verdict for the member, or not-applicable when the verifier does not answer the suite, or error when the member could not be read."
    },
    "reason": {
      "type": "string",
      "description": "The first failing rule's code, or the error text."
    },
    "verifier": {
      "type": "object",
      "required": [
        "name",
        "version"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "result": {
      "description": "The verifier's full result object for the member, when it has one."
    }
  }
}