Expand description
Versioned, binding-neutral JSON data-transfer objects for trajectory solves.
These types deliberately do not expose crate::BallisticInputs. The public JSON contract
has its own names, units, defaults, and compatibility policy so engine internals can evolve
without silently changing requests produced by language bindings.
Structs§
- Atmosphere
V1 - Atmospheric station conditions.
- Effects
V1 - Optional physical effects supported by solve-json v1.
- Projectile
V1 - Projectile inputs supported by solve-json v1.
- Resolved
Atmosphere V1 - Resolved station conditions.
- Resolved
Constant Wind V1 - Resolved still-air or constant-wind values.
- Resolved
Effects V1 - Resolved physical-effect switches.
- Resolved
Projectile V1 - Resolved projectile inputs.
- Resolved
Rifle V1 - Resolved rifle and sight geometry.
- Resolved
Sampling V1 - Resolved result-sampling configuration.
- Resolved
Segmented Wind V1 - Resolved downrange wind segments.
- Resolved
Shot V1 - Resolved shot geometry.
- Resolved
Solve Request V1 - A solve request after the service has applied every documented v1 default.
- Resolved
Solver V1 - Resolved numerical integration configuration.
- Resolved
Wind Segment V1 - One resolved wind segment.
- RifleV1
- Rifle and sight geometry.
- Sampling
V1 - Regular downrange output sampling configuration.
- Schema
Version V1 - An invariant solve-json v1 schema discriminator.
- ShotV1
- Shot geometry and termination range.
- Solve
Error Envelope V1 - A failed solve-json v1 response.
- Solve
Error V1 - A stable, machine-readable protocol error.
- Solve
Notice V1 - A machine-readable assumption or warning.
- Solve
Request V1 - A complete v1 trajectory-solve request.
- Solve
Success V1 - A successful solve-json v1 response.
- Solve
Summary V1 - Aggregate observations for a completed solve.
- Solver
V1 - Numerical integration configuration.
- Trajectory
Sample V1 - One regularly sampled trajectory observation.
- Wind
Segment V1 - One wind segment, active through
until_distance_m. - WindV1
- Constant or downrange-segmented wind.
Enums§
- Drag
Model V1 - Built-in reference-projectile drag models supported by solve-json v1.
- Error
Status V1 - The error discriminator serialized in a response envelope.
- Resolved
Wind V1 - Resolved constant or segmented wind.
- Sample
Flag V1 - Stable annotations for trajectory samples.
- Solve
Error Code V1 - Stable solve-json v1 error categories.
- Solve
Error Location Error V1 - Why a source location could not be attached to a protocol error.
- Solver
Method V1 - Integration algorithms exposed by solve-json v1.
- Success
Status V1 - The success discriminator serialized in a response envelope.
- Termination
Reason V1 - Why the trajectory ended.
- Twist
Direction V1 - Direction of rifling twist as viewed from the breech toward the muzzle.
Constants§
- MAX_
SOLVE_ JSON_ SAMPLES_ V1 - Maximum number of trajectory observations in one solve-json v1 success response.
- SOLVE_
JSON_ SCHEMA_ VERSION_ V1 - The only solve-json schema version understood by this module.
Functions§
- decode_
solve_ request_ v1 - Decode and structurally validate one solve-json v1 request.