Skip to content
docs
Arxo ↗

EvaluationRequest

For LLMs9 sections

The single closed input of evaluate(request). Execution options are permitted only in case.options.

Accepted schemaVersion: law.core.evaluation-request/0.2.

nametype-or-$refrequireddescription
schemaVersion"law.core.evaluation-request/0.2"yes—
semanticVersionstringyesAn exact release identity, or a line name resolved through the build’s line defaults; registration, build admission and R/I equality are checked before execution.
irallOf (2)yes—
case#/$defs/Caseyes—
queryquery.schema.jsonyes—
calendarstringnoBytes of the pinned calendar resource in UTF-8 JSON; transport, not a case option.
externalSnapshotsarrayno—
receiptevaluation.schema.json#/$defs/ExecutionReceiptno—
editionsAsPresentedevaluation.schema.json#/$defs/LegalTimenoThe date as of which the set of the program’s normative nodes has already been projected by the caller. At this date, the case-date condition on the date of law is not executed; transport only, not included in caseHash, included in the manifest and in the semantic hash.
layerenum (2)noLayer of the executing implementation. Transport only: not included in case.options, caseHash, the manifest or the semantic hash. The layered run returns a document byte-identical to the full run, or refuses before any inference with LAYER_EXCEEDED / EVIDENCE_POLICY_LAYER_CONFLICT.
locationvalues
properties/schemaVersion"law.core.evaluation-request/0.2"
properties/ir/allOf/1/properties/schemaVersion"law.core.ir/0.2", "law.core.ir/0.3", "law.core.ir/0.4", "law.core.ir/0.5", "law.core.ir/0.6"
properties/layer"L0", "L1"
$defs/FactInput/properties/provenance/properties/origin"case_input", "source_asserted", "external_snapshot", "derived", "adjudicated", "assumed_for_simulation"
$defs/EvaluationOptions/properties/mode"advisory", "compliance", "regulatory", "simulation", "audit"

https://law.arxo.io/schema/evaluation-request.schema.json

Type: object. Required: assertions, context, options.

nametype-or-$refdescription
assertionsarray—
constantsarray or object—
contextobject—
entityLabels—Labels of case entities: StableId to a non-empty array of Legal IR labels. Presentational: outside caseHash, the manifest and resultHash. The shape is checked by the evaluator with verbatim messages, not by this schema, so all implementations refuse with one text.
contextProfilesobject—
evidencearray—
externalDataarray or object—
options#/$defs/EvaluationOptions—
solverProfilestring—
supportEdgesarray—
verificationsarrayPinned results of external document-authenticity verification. Case transport: covered by caseHash, not computed by the core.
sourcesarrayRoutes for presenting records from snapshots of other cases: alias, snapshot contentHash, source, and the selected records in use order. Written only when the set is non-empty; covered by caseHash.

Type: object. Required: alias, snapshot, package, case, records.

nametype-or-$refdescription
aliasstring—
snapshotstring—
packageobject—
casestring—
recordsarray—

Type: object. Required: id, evidence, documentHash, verifier, outcome, recordedAt.

nametype-or-$refdescription
idstring—
evidencelegal-ir.schema.json#/$defs/StableId—
documentHashlegal-ir.schema.json#/$defs/Digest—
verifierstring—
outcomestring—
recordedAtlegal-ir.schema.json#/$defs/InstantStringThe moment the verification result became available. Required: a record later than knowledgeTime is not included in the output; there is no implicit Date to Instant conversion.

Host sugar of one fact. Lowered into an assertion. Provenance is optional; a call without it is the legacy fact form. The document and the support edges travel as case.evidence and case.supportEdges, not inside this object. Confidence is carried, not evaluated.

Type: object. Required: predicate, args.

nametype-or-$refdescription
predicatestring—
argsarray—
negatedboolean—
packagestring—
judgmentobjectAdjudicated answer. Authority must be the declared organ, or the assertion is rejected.
provenanceobject—

Type: object.

nametype-or-$refdescription
modeenum (5)—
limits——
on_accepted_conflict——
selectedInterpretations——
calendarSnapshot——
temporalResolutionPolicy——
manifestId——
lockfileHash——
evidenceSnapshotHash——
jurisdictionProfilestringCanon profile in the unified grammar <id>/<version>#sha256:<64 hex>. Present only for a computation over a package with a named profile.
policies——

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.