def METHOD_NAME():
    description = """Extracts the fields at the indices defined in the vector (in 1) from
        the fields container (in 0)."""
    spec = Specification(
        description=description,
        map_input_pin_spec={
            0: PinSpecification(
                name="fields_container",
                type_names=["field", "fields_container"],
                optional=False,
                document="""If a field is in input, it is passed on as an
    output""",
            ),
            1: PinSpecification(
                name="indices",
                type_names=["vector<int32>"],
                optional=True,
                document="""Default is the first field""",
            ),
        },
        map_output_pin_spec={
            0: PinSpecification(
                name="field",
                type_names=["field"],
                optional=False,
                document="""""",
            ),
        },
    )
    return spec