docs: def get_field_schema_validations(field: Field) -> Dict[str, Any]:
      """
      Get the JSON Schema validation keywords for a ``field`` with an annotation of
      a Pydantic ``Schema`` with validation arguments.
      """
      f_schema: Dict[str, Any] = {}
      if lenient_issubclass(field.type_, (str, bytes)):
          for attr_name, t, keyword in _str_types_attrs:
              attr = getattr(field.schema, attr_name, None)
              if isinstance(attr, t):
                  f_schema[keyword] = attr
      if lenient_issubclass(field.type_, numeric_types) and not issubclass(field.type_, bool):
          for attr_name, t, keyword in _numeric_types_attrs:
              attr = getattr(field.schema, attr_name, None)
              if isinstance(attr, t):
                  f_schema[keyword] = attr
      schema = cast('Schema', field.schema)
      if schema.extra:
          f_schema.update(schema.extra)
      return f_schema