/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ struct A { 1: string a; 2: map map_of_string_to_string; } struct B { 1: map map_of_string_to_string; 2: map map_of_string_to_i32; 3: map map_of_string_to_A; 5: map> map_of_string_to_list_of_A; 6: map> map_of_string_to_map_of_string_to_i32; 7: map> map_of_string_to_map_of_string_to_A; 8: list list_of_string; 9: list> list_of_map_of_string_to_A; 12: list>> list_of_map_of_string_to_list_of_A; } struct C { 1: optional map map_of_string_to_string; 2: optional map map_of_string_to_i32; 3: optional map map_of_string_to_A; 5: optional map> map_of_string_to_list_of_A; 6: optional map< string, map > map_of_string_to_map_of_string_to_i32; 7: optional map> map_of_string_to_map_of_string_to_A; 8: optional list list_of_string; 9: optional list> list_of_map_of_string_to_A; 12: optional list>> list_of_map_of_string_to_list_of_A; }