Skip to content
docs
Arxo ↗

Arxo package question catalog 0.1

For LLMs11 sections

Authoring input for the question catalog: which queries are provided for the package and what verifies them. A card is a parameterized query template with a stable id, not an “answer”: a card’s presence does not mean a positive answer on the case, completeness of the law, or sufficiency of the facts submitted. Metadata, not semantics: not lowered into CLIR, not included in the package hash. The schema is closed; substantive links (the predicate is declared and derivable, the test executes exactly this template, the boundary is named in the package info) are held by a repository gate.

Accepted format: law.package-questions/0.1.

nametype-or-$refrequireddescription
format"law.package-questions/0.1"yes—
packagestringyesPackage name from law.toml [package].name.
tasksarrayyes—
questionsarrayyes—
boundariesarrayyes—
internalarrayyesDerivable predicates without their own card — listed by name, with a reason. A wildcard for “everything else internal” is not provided.
languageenum (2)noLanguage of the QUESTIONS.md wrapper: ru by default. Packages published as a separate repository do not carry a second language (en).
locationvalues
properties/format"law.package-questions/0.1"
properties/language"ru", "en"
$defs/Parameter/properties/role"bound", "collected"
$defs/Question/properties/kind"truth", "why_not", "collect", "positions"
$defs/Question/allOf/0/if/properties/kind"positions"
$defs/Question/allOf/1/if/properties/kind"collect"
$defs/Question/allOf/1/then/properties/parameters/contains/properties/role"collected"
$defs/Question/allOf/1/else/properties/parameters/items/properties/role"bound"
$defs/Boundary/properties/reason_kind"source_delegates", "not_formalized", "engine_limit", "case_data", "open_reading"

https://law.arxo.io/schema/package-questions.schema.json

Type: string.

Type: string.

Short norm template name; expand instances add path segments (InsurerMustPayWithinTerm/duty/norm).

Type: string.

Identifiers of sources.law fragments (CLIR fragment nodes) without a namespace.

Type: array.

Type: object. Required: name, type, role.

nametype-or-$refdescription
name#/$defs/Name—
typestringShort type name of the declaration (after #).
roleenum (2)bound — supplied by the asker; collected — gathered by the answer (only for kind=collect).

Type: object. Required: id, task, question, kind, template, tests.

nametype-or-$refdescription
id#/$defs/Id—
task#/$defs/Id—
questionstringThe question in Russian, phrased as an insurer, injured party, or agent would ask it.
kindenum (4)—
predicate#/$defs/Name—
normsarray—
parametersarray—
templatestringThe query template in evaluate …; form with <name> placeholders for bound parameters; for positions — evaluate positions(); and the expected form position(<norm>, <status>).
branchesarray—
testsarrayTitles of test "…" in the package’s tests/**/*.lawtest that execute a query of this template.
casesarrayNames of [[cases]] cases in the teaching packages examples/*/law.toml.
queriesarrayFiles examples/*/queries/.json of the same kind and predicate.
evidencearray—
source_units#/$defs/SourceUnits—
related_boundariesarray—
notesstring—

Type: object. Required: id, task, question, reason_kind, limitation, source_units.

nametype-or-$refdescription
id#/$defs/Id—
task#/$defs/Id—
questionstringA question the package does NOT answer.
reason_kindenum (5)source_delegates — the source delegates elsewhere; not_formalized — the norm exists in the text but has no rules yet; engine_limit — a limitation of the language or engine; case_data — data is needed that the case does not carry; open_reading — an open interpretation question with an adopted reading.
limitationstringVerbatim string from the package’s package-info.json limitations: a single limitation text, not a third copy.
source_units#/$defs/SourceUnits—
input#/$defs/NameThe empirical predicate through which the missing piece is supplied as a case fact.
related_question#/$defs/Id—
notesstring—

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

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