| { | |
| "schema_name": "match_index_parquet", | |
| "schema_version": 3, | |
| "artifact": "match_index.parquet", | |
| "format": "parquet", | |
| "row_grain": "one row per match-map demo", | |
| "description": "Semantic match-map-level grouping and aggregate counts. Physical shard paths and byte offsets live only in sample_index.parquet.", | |
| "primary_key": [ | |
| "match_id" | |
| ], | |
| "columns": [ | |
| { | |
| "name": "match_id", | |
| "arrow_type": "string", | |
| "nullable": false | |
| }, | |
| { | |
| "name": "split", | |
| "arrow_type": "string", | |
| "nullable": false | |
| }, | |
| { | |
| "name": "map_slug", | |
| "arrow_type": "string", | |
| "nullable": false | |
| }, | |
| { | |
| "name": "round_count", | |
| "arrow_type": "int32", | |
| "nullable": false | |
| }, | |
| { | |
| "name": "complete_10_rounds", | |
| "arrow_type": "int32", | |
| "nullable": false, | |
| "description": "Number of rounds with all 10 POV samples present." | |
| }, | |
| { | |
| "name": "sample_count", | |
| "arrow_type": "int32", | |
| "nullable": false | |
| }, | |
| { | |
| "name": "pov_count", | |
| "arrow_type": "int32", | |
| "nullable": false, | |
| "description": "Distinct anonymized POV ids observed for this match." | |
| }, | |
| { | |
| "name": "total_frames", | |
| "arrow_type": "int64", | |
| "nullable": false | |
| }, | |
| { | |
| "name": "total_duration_s", | |
| "arrow_type": "float64", | |
| "nullable": false | |
| }, | |
| { | |
| "name": "first_tick", | |
| "arrow_type": "int64", | |
| "nullable": false, | |
| "description": "Earliest released round/sample tick for this match." | |
| }, | |
| { | |
| "name": "last_tick", | |
| "arrow_type": "int64", | |
| "nullable": false, | |
| "description": "Latest released round/sample tick for this match." | |
| }, | |
| { | |
| "name": "t_rounds_won", | |
| "arrow_type": "int32", | |
| "nullable": false | |
| }, | |
| { | |
| "name": "ct_rounds_won", | |
| "arrow_type": "int32", | |
| "nullable": false | |
| } | |
| ], | |
| "validation": [ | |
| "primary key is unique", | |
| "round_count > 0", | |
| "complete_10_rounds == round_count", | |
| "sample_count > 0", | |
| "pov_count == 10", | |
| "total_frames > 0", | |
| "total_duration_s > 0", | |
| "first_tick <= last_tick", | |
| "t_rounds_won + ct_rounds_won <= round_count", | |
| "no resolution, shard_path, or byte-offset columns are present", | |
| "no column is named map" | |
| ] | |
| } | |