'string'], required: true)] #[QueryParameter(key: 'tax_type', schema: ['type' => 'string', 'enum' => ['tfpnb', 'tfpb', 'th', 'cfe']], required: true)] #[QueryParameter(key: 'start_year', schema: ['type' => 'integer'])] #[QueryParameter(key: 'end_year', schema: ['type' => 'integer'])] class TaxTimeSeries { public function __construct( public readonly string $region = '', public readonly string $tax_type = '', public readonly ?int $start_year = null, public readonly ?int $end_year = null, public readonly array $data = [], ) {} }