{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ModuleMap-Bench v2 \u2014 one labelled top-level Java type", "type": "object", "additionalProperties": false, "required": [ "id", "project", "repo_url", "commit_sha", "license", "module", "file_path", "qualified_name", "role", "marks", "annotator", "labelled_at", "guideline_version", "audited_by", "rationale", "confidence", "split" ], "properties": { "id": { "type": "string", "description": "/" }, "project": { "type": "string" }, "repo_url": { "type": "string", "pattern": "^https://github\\.com/[^/]+/[^/]+$" }, "commit_sha": { "type": "string", "pattern": "^[0-9a-f]{40}$" }, "license": { "type": "string", "description": "SPDX id as found at the repository root" }, "module": { "type": "string", "description": "name of the folder holding src/main/java" }, "file_path": { "type": "string", "pattern": "\\.java$", "description": "from the repository root" }, "qualified_name": { "type": "string" }, "role": { "enum": [ "entry", "client", "service", "domain", "persistence", "event", "config", "none" ] }, "marks": { "description": "null: marks not labelled for this row; [] labelled, none hold", "oneOf": [ { "type": "null" }, { "type": "array", "uniqueItems": true, "items": { "enum": [ "api", "ext" ] } } ] }, "annotator": { "type": "string", "pattern": "^(person:[a-z0-9-]+|claude:[A-Za-z0-9.-]+)$" }, "labelled_at": { "type": "string", "format": "date" }, "guideline_version": { "type": [ "string", "null" ], "description": "null: not recorded (legacy rows)" }, "audited_by": { "type": [ "string", "null" ], "pattern": "^person:[a-z0-9-]+$" }, "rationale": { "type": [ "string", "null" ] }, "confidence": { "enum": [ "sure", "unsure", null ], "description": "null: not recorded (legacy rows)" }, "split": { "enum": [ "train", "dev", "test", "suggester_holdout" ] }, "stratum": { "type": [ "string", "null" ], "description": "how the type was drawn: random, boost:, all, or legacy" }, "status": { "type": [ "string", "null" ], "description": "how the label was settled: two passes agreed, pass a taken, bulk approval\u2026" } } }