| { |
| "schema_name": "stats_weapons_json", |
| "schema_version": 1, |
| "artifact": "stats/weapons.json", |
| "format": "json", |
| "description": "Manifest-derived weapon exposure summary. Counts are sample-level and use active weapons observed in each released POV sample, not full inventory ownership.", |
| "source_artifacts": [ |
| "manifest.parquet", |
| "schema/weapons.json" |
| ], |
| "fields": [ |
| { |
| "name": "schema_version", |
| "json_type": "integer", |
| "value": 1 |
| }, |
| { |
| "name": "generated_at_utc", |
| "json_type": "string" |
| }, |
| { |
| "name": "weapon_id_names", |
| "json_type": "string", |
| "description": "Relative path to the authoritative active_weapon_id enum." |
| }, |
| { |
| "name": "sample_count", |
| "json_type": "integer", |
| "description": "Number of released POV samples counted from manifest.parquet." |
| }, |
| { |
| "name": "primary_weapon_counts", |
| "json_type": "object", |
| "description": "Map from active_weapon_id string to number of samples where that id is the primary_weapon_id." |
| }, |
| { |
| "name": "weapon_present_counts", |
| "json_type": "object", |
| "description": "Map from active_weapon_id string to number of samples where that id appears in weapon_ids_present." |
| }, |
| { |
| "name": "top_weapon_cooccurrences", |
| "json_type": "array", |
| "description": "Most frequent unordered weapon-id pairs that co-occur within a sample's weapon_ids_present list.", |
| "items": { |
| "json_type": "object", |
| "required_fields": [ |
| "weapon_id_a", |
| "weapon_id_b", |
| "count" |
| ] |
| } |
| }, |
| { |
| "name": "notes", |
| "json_type": "array", |
| "description": "Human-readable caveats. Must mention that counts are active-weapon/sample-level, not inventory-level." |
| } |
| ], |
| "validation": [ |
| "sample_count == row count of manifest.parquet", |
| "all weapon ids are valid indices into schema/weapons.json active_weapon_id.names", |
| "primary_weapon_counts excludes id 0 unless unknown samples are explicitly reported", |
| "weapon_present_counts excludes id 0", |
| "top_weapon_cooccurrences are unordered pairs with weapon_id_a < weapon_id_b", |
| "no Steam IDs, player names, match IDs, sample keys, or raw demo identifiers are present" |
| ] |
| } |
|
|