Different types
-
CustomInputPrototype::linked_game_control has an empty string as default value. Remove default or set valid value? -
CreateTrivialSmokeEffectItem::only_when_visible has a default value of false, but the type is float. This should be a bool instead? - One of the timestamps of SingleGraphicLayerProcessionBezierControlPoint has a floating point value on line 912484 ("timestamp": 722.5,). Since MapTick should probably stay an integer, set an integer value for this one case as well?
TriggerEffect contains an unknown union member DamageEntityTriggerEffectItem, which seems to be this one without the Entity part. Rename it to DamageEntityTriggerEffectItem? Related: 118305DamageTileTriggerEffectItem has the same type field with value "damage" set, which should be "damage-tile" instead?TechnologySlotStyleSpecification::level_range_offset_y -> line 6958 ("level_range_offset_y": -2.5,). Since this also only appears once, use an integer value for this offset?- ItemProductPrototype::amount -> line 76792 ("amount": 1.25,). All three amount values (amount, amount_min, amount_max) should probably be floats? Related: 125229
- CreateParticleTriggerEffectItem::tail_length_deviation -> line 410653 ("tail_length_deviation": 0.5,). This and tail_length could be floats instead?
- WorkingVisualisations::shift_animation_waypoint_stop_duration -> line 583922 ("shift_animation_waypoint_stop_duration": 487.5,). Duration usually sounds like a float?
- BaseAttackParameters::lead_target_for_projectile_delay -> line 941786 ("lead_target_for_projectile_delay": 82.5,). Delay also sounds like a float?
- TriggerEffectItem::repeat_count -> line 961484 ("repeat_count": 0.65,). There are a lot of other floats for this property, change the type to float? Interestingly, repeat_count_deviation is never a float.
-
Is there a reason why empty arrays are set as {} instead of []? This is kind of against the JSON standard. E.g. the ingredients for the recipe-unknown recipe on line 60888. Use [] for empty arrays instead? Related: 109077
Missing properties/variants
-
Sound is missing a variant for a single filename, e.g. line 28681 ("left_click_sound": "__core__/sound/gui-menu-small.ogg"). Add one similar to SoundDefinition? Related: 117186 -
BoundingBox has a third "unused" orientation, which is still used but not part of the tuple variant, e.g. lines 467071-467083 has an orientation with value 0.125. Would it make sense to add a third variant with {MapPosition, MapPosition, RealOrientation}? -
ShortcutPrototype::action is missing the variant redo, which is used in line 861459 ("action": "redo",). Add this variant? AchievementPrototypeWithCondition::objective_condition is missing the variant late-research, which is used in line 888343 ("objective_condition": "late-research",). Add this variant?-
NeighbourConnectableConnectionDefinition::location has a position and direction of type MapPosition, but on line 940107 there is ("direction": 0) and there is no variant that only takes one float. Either allow a single value as variant or set a valid MapPosition? -
UtilityConstants::huge_animation_sound_area and UtilityConstants::space_platform_default_speed_formula are missing for the default utility-constants from lines 29842-33649. Make them optional? -
CursorBoxSpecification::rts_selected and CursorBoxSpecification::rts_to_be_selected don't exist in the data-raw-dump.json file, but spidertron_remote_selected and spidertron_remote_to_be_selected do from lines 36373-36610. Rename those fields? Related: 117186 -
EditorControllerPrototype::ignore_surface_conditions is missing for the default editor-controller from lines 43986-44014. Make this optional? -
SpaceLocationPrototype::gravity_pull is missing for the space-location-unknown space-location from lines 201016-201024. Make this optional? Related: 117186 - FootstepTriggerEffectItem might contain actions in which case it seems that all inherited properties are not defined, e.g. for the CharacterPrototype::synced_footstep_particle_triggers starting from line 422765. Either don’t inherit from CreateParticleTriggerEffectItem, or make the remaining properties (particle_name and initial_height) also optional?
RailPictureSet::rail_endings is missing for the dummy-rail-ramp rail-ramp from lines 681603-681733. Make this optional? Related: 117186-
AchievementPrototypeWithCondition::objective_condition is missing for the solaris dont-use-entity-in-energy-production-achievement from lines 888008-888023. Make this optional? Related: 117186 ProcessionTimeline::audio_events is missing for the timeline of the default-rocket-a procession from lines 908324-908386. Make this optional? Related: 117186-
SingleGraphicLayerProcessionBezierControlPoint is missing the frame for the podjet_emission single-graphic from lines 908548-908579. Make this optional?
Sorry for the long post, I just wanted to have all findings in one place. Please let me know if you would like to have separate requests and/or more details to (some of) those points. Cheers!
Edit: Added reference for l.